[
https://issues.apache.org/jira/browse/MJAVADOC-437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15045480#comment-15045480
]
Hudson commented on MJAVADOC-437:
---------------------------------
SUCCESS: Integrated in maven-plugins #4861 (See
[https://builds.apache.org/job/maven-plugins/4861/])
[MJAVADOC-437] javadoc:aggregate fails on initial build
Contributed by: Harald Wellmann <[email protected]> (michaelo:
[http://svn.apache.org/viewvc/?view=rev&rev=1718436])
* maven-javadoc-plugin/pom.xml
* maven-javadoc-plugin/src/it/MJAVADOC-437
* maven-javadoc-plugin/src/it/MJAVADOC-437/invoker.properties
* maven-javadoc-plugin/src/it/MJAVADOC-437/module1
* maven-javadoc-plugin/src/it/MJAVADOC-437/module1/pom.xml
* maven-javadoc-plugin/src/it/MJAVADOC-437/module1/src
* maven-javadoc-plugin/src/it/MJAVADOC-437/module1/src/main
* maven-javadoc-plugin/src/it/MJAVADOC-437/module1/src/main/java
* maven-javadoc-plugin/src/it/MJAVADOC-437/module1/src/main/java/com
* maven-javadoc-plugin/src/it/MJAVADOC-437/module1/src/main/java/com/example
* maven-javadoc-plugin/src/it/MJAVADOC-437/module1/src/main/java/com/example/foo
*
maven-javadoc-plugin/src/it/MJAVADOC-437/module1/src/main/java/com/example/foo/Foo.java
* maven-javadoc-plugin/src/it/MJAVADOC-437/module2
* maven-javadoc-plugin/src/it/MJAVADOC-437/module2/pom.xml
* maven-javadoc-plugin/src/it/MJAVADOC-437/module2/src
* maven-javadoc-plugin/src/it/MJAVADOC-437/module2/src/main
* maven-javadoc-plugin/src/it/MJAVADOC-437/module2/src/main/java
* maven-javadoc-plugin/src/it/MJAVADOC-437/module2/src/main/java/com
* maven-javadoc-plugin/src/it/MJAVADOC-437/module2/src/main/java/com/example
* maven-javadoc-plugin/src/it/MJAVADOC-437/module2/src/main/java/com/example/bar
*
maven-javadoc-plugin/src/it/MJAVADOC-437/module2/src/main/java/com/example/bar/Bar.java
* maven-javadoc-plugin/src/it/MJAVADOC-437/pom.xml
* maven-javadoc-plugin/src/it/MJAVADOC-437/verify.bsh
*
maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java
> javadoc:aggregate fails on initial build
> ----------------------------------------
>
> Key: MJAVADOC-437
> URL: https://issues.apache.org/jira/browse/MJAVADOC-437
> Project: Maven Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.10.3
> Reporter: Harald Wellmann
> Assignee: Michael Osipov
> Fix For: 2.10.4
>
>
> h3. Scenario
> Take a SNAPSHOT version of a reactor project with at least two JAR modules.
> Assume that no artifacts of the given SNAPSHOT version have been built before
> (this is usually the case just after running release:perform).
> h3. Actual Behaviour
> Now run {{mvn javadoc:aggregate}}. This build fails in the forked lifecycle.
> maven-javadoc-plugin unnecessarily tries to resolve the JAR artifacts of the
> current reactor (which are not avialable yet) and add them to the Javadoc
> classpath.
> h3. Expected Behaviour
> Aggregated Javadoc should be generated without problems. It is sufficient to
> take the sources of the current reactor and only put *external* dependencies
> on the Javadoc classpath.
> This is a duplicate of an 8 year old bug MJAVADOC-116 with 51 votes which has
> been closed without being fixed.
> A patch for this problem was submitted in MJAVADOC-362, but does not seem to
> have received attention by committers. (I admit the problem description is
> not very clear.)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)