maven-javadoc-plugin 2.5, 2.6 and mojo: Error extracting plugin descriptor
--------------------------------------------------------------------------
Key: MJAVADOC-257
URL: http://jira.codehaus.org/browse/MJAVADOC-257
Project: Maven 2.x Javadoc Plugin
Issue Type: Bug
Affects Versions: 2.6, 2.5
Environment: Apache Maven 2.2.0
Java version: 1.6.0_11
Reporter: jcrouvi
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:
{code:none}
[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
{code}
Configuration in {{service/pom.xml}}
{code: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>
...
{code}
Also see: [http://jira.codehaus.org/browse/MJAVADOC-224]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira