Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.3
-
Fix Version/s: 2.4
-
Labels:None
-
Number of attachments :
Description
I have a multimodule project with the javadoc plugin declared in my parent.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.3</version>
<configuration>
<aggregate>true</aggregate>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
After upgrading to 2.3 and do a build I now get the error:
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
Which then skips the processing of that module and later gives me dependency errors because previous dependencies were not compiled.
If I remove jar processing from my plugin definition everything works fine except no javadoc jars are created.
Issue Links
- depends upon
-
MJAVADOC-137
javadoc:javadoc always runs as "aggregator"
-
Is it defined in <build/> or <reporting/> section