maven-javadoc-plugin: How can I exclude resource folders which violate Java package naming conventions? -
maven-javadoc-plugin: How can I exclude resource folders which violate Java package naming conventions? -
i trying generate aggregated set of javadocs collection of related projects, like so.
in nutshell, pom project declares bunch of dependencies , uses maven-javadoc-plugin
's <includedependencysources>true</includedependencysources>
option.
some of dependencies have script-templates
folder in resources, gets lumped "-sources" jar maven-source-plugin
.
unfortunately, seems javadoc tool dislikes folders violate java bundle naming conventions. build fails with:
[error] failed execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (attach-javadocs) on project imagej-javadoc: mavenreportexception: error while creating archive: [error] exit code: 1 - javadoc: error - illegal bundle name: "script-templates.java"
i tried adding <excludepackagenames>script-templates</excludepackagenames>
maven-javadoc-plugin
configuration, seemed have no effect.
does have ideas how work around problem?
have tried fakeclass
source modification?
<sourcemodifications> <sourcemodification> <classname>fakeclass</classname> <includes> <include name="script-templates.java"/> </includes> </sourcemodification> </sourcemodifications>
java maven javadoc maven-javadoc-plugin
Comments
Post a Comment