-
Bug
-
Resolution: Done
-
Blocker
-
3.0.0.Beta3
-
None
Some of the changes to the AS7 subsystem from MODE-1554 included changing the scopes of some dependencies from 'compile' to 'provided'. While that was technically the correct thing to do (because they really should be 'provided'), this change resulted in breaking the JavaDoc builds. For example, running the following command:
mvn clean install -Passembly
produces the JavaDoc (as part of the modeshape-distribution module), but resulted in errors similar to:
... [ERROR] /Users/rhauch/dev/java/modeshape/fork-git/modeshape-distribution/target/distro-javadoc-sources/modeshape-jbossas-subsystem-3.0-SNAPSHOT-sources/org/modeshape/jboss/subsystem/ModelAttributes.java:400: cannot find symbol [ERROR] symbol : class ModelNode [ERROR] location: class org.modeshape.jboss.subsystem.ModelAttributes [ERROR] .setDefaultValue(new ModelNode().set(IndexingMode.SYNC.toString())) [ERROR] ^ ...
where ModelNode is org.jboss.dmr.ModelNode from the "org.jboss:jboss-dmr" Maven artifact, which is brought in as a dependency of the "org.jboss.as:jboss-as-controller" artifact that ModeShape uses with a scope of "provided".
As a result, we are not able to build the release artifacts and release Beta3.