Hello Richard, a wild guess: you have the same packages included by different dependencies (guava was once called Google collections, some jakarta-commons components were available via multiple groupId/artifactId combinations).
Regards Mirko -- Sent from my mobile On Dec 21, 2013 12:53 AM, "Richard Rodseth" <rrods...@gmail.com> wrote: > We are having the following problem generating javadocs using > > mvn javadoc:aggregate -DskipTest=true -P site,\!build-ui > > >>> > > [ERROR] Exit code: 1 - javadoc: warning - Multiple sources of package > comments found for package "org.osgi.framework" > > [ERROR] javadoc: warning - Multiple sources of package comments found for > package "org.apache.commons.collections" > > [ERROR] javadoc: warning - Multiple sources of package comments found for > package "org.acplt.oncrpc" > > [ERROR] javadoc: warning - Multiple sources of package comments found for > package "org.apache.commons.beanutils" > > [ERROR] > > com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class(com/googlecode/concurrentlinkedhashmap:ConcurrentLinkedHashMap.class): > warning: Cannot find annotation method 'value()' in type > 'javax.annotation.concurrent.GuardedBy': class file for > javax.annotation.concurrent.GuardedBy not found > > [ERROR] > > com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class(com/googlecode/concurrentlinkedhashmap:ConcurrentLinkedHashMap.class): > warning: Cannot find annotation method 'value()' in type > 'javax.annotation.concurrent.GuardedBy' > > <<< > > But I've had no luck at all adding <excludePackageNames> to our top-level > pom.xml, e.g.. > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-javadoc-plugin</artifactId> > > <version>${maven-javadoc-plugin.version}</version> > > <configuration> > > > > <excludePackageNames>org.osgi.framework.*,com.googlecode.*</excludePackageNames> > > </configuration> > > <reportSets> > > <reportSet> > > <id>html</id> > > <reports> > > <report>javadoc</report> > > </reports> > > </reportSet> > > </reportSets> > > </plugin> > > Any troubleshooting tips would be appreciated. Thanks. >