I realised that the <aggregate>true</aggregate> does not work when you run mvn javadoc:javadoc. The generated jar-files reside under respective child projects target directory. Try to run mvn javadoc:javadoc -Xand look for the output jarOutputDirectory to see exactly where the jar-files are.
-Martin ekio wrote: > > Anyone got an answer to this one? Thanks. > > > ekio wrote: >> >> Hi, I am trying to generate a javadoc of all the modules in a >> multi-module project using aggregate. It works fine if i run mvn >> javadoc:javadoc. But when I try to run mvn javadoc:jar to bundle the >> javadoc into a jar, then it doesn't seem to work... Maven will report >> build successfull but the jar is not generated. Any idea? Thank you >> very much! >> >> <plugin> >> <groupId>org.apache.maven.plugins</groupId> >> <artifactId>maven-javadoc-plugin</artifactId> >> <configuration> >> <aggregate>true</aggregate> >> </configuration> >> </plugin> >> >> >> > > -- View this message in context: http://www.nabble.com/-m2--javadoc%3Ajar-%2B-aggregate-tf2462158.html#a6991980 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
