Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.5, 2.6
-
Fix Version/s: 2.6.1
-
Component/s: None
-
Labels:None
-
Environment:Apache Maven 2.2.0
Java version: 1.6.0_11
-
Number of attachments :
Description
Using maven-javadoc-plugin Version 2.5 or 2.6 for a project of type <packaging>maven-plugin</packaging> leads to the following error message, even if the aggregation is not set:
Error extracting plugin descriptor: 'Goal: ... already exists in the plugin descriptor ...
Using maven-javadoc-plugin Version 2.2 solves this problem.
Structure of the project:
[INFO] Reactor build order: [INFO] Service [INFO] Service: Common Dependencies [INFO] Service: API [INFO] Service: Test Fixture [INFO] Service: Implementation [INFO] Service: DI [INFO] Service: auth-maven-plugin [INFO] Service: Config [INFO] Service: Interceptors [INFO] Service: Client Module [INFO] Service: Web Components [INFO] Service: Example
Configuration in service/pom.xml
<profile> <id>full-site</id> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <reportSets> <reportSet> <reports> <report>analyze-report</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.5</version> <configuration> <quiet>true</quiet> <show>protected</show> <links> <link>http://java.sun.com/javase/6/docs/api/</link> <link>http://java.sun.com/javaee/5/docs/api/</link> </links> </configuration> </plugin> ...
Attachments
Issue Links
| This issue is duplicated by: | ||||
| MJAVADOC-145 | If Javadoc is set to aggregate, the build fails inside a Maven plugin module |
|
|
|
Could you please provide a test case? It seems that you have 2 identical goals...
Also, please provide debug files
http://maven.apache.org/plugins/maven-javadoc-plugin/faq.html#How_to_know_exactly_the_Javadoc_command_line