Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5, 2.6
-
None
-
None
-
Apache Maven 2.2.0
Java version: 1.6.0_11
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> ...
Also see: MJAVADOC-224
Attachments
Attachments
Issue Links
- is duplicated by
-
MJAVADOC-145 If Javadoc is set to aggregate, the build fails inside a Maven plugin module
- Closed