Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.6.1
-
Fix Version/s: 2.8
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
Running the commands
mvn clean mvn verify
will fail on the attached demo project with
[INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not be previously called for the project: 'org.apache.maven.its.javadoc:mod-b:jar:0.1'. Trying to invoke it... [ERROR] MavenInvocationException: Error when invoking Maven, consult the invoker log file: M:\MJAVADOC\mod-a\target\invoker\maven-javadoc-plugin625147587.txt [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] MavenReportException: Error while creating archive: Error when invoking Maven, consult the invoker log file: M:\MJAVADOC\mod-a\target\invoker\maven-javadoc-plugin625147587.txt
The command mvn clean verify as usually used during releases will also fail, but starts working after repeated invocations.
Issue Links
- is depended upon by
-
MJAVADOC-276
Initial builds of a multi-module project fail
-
- is related to
-
MJAVADOC-284
detectOfflineLinks sets off extra spurious executions of javadoc
-
I guess that the same issue already reported as Regression with maven-javadoc-plugin 2.6.1 and release:perform.