Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1607

Unable to successfully build 'assembly' profile due to JavaDoc errors

XMLWordPrintable

      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.

              rhauch Randall Hauch (Inactive)
              rhauch Randall Hauch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: