Maven Javadoc Plugin
  1. Maven Javadoc Plugin
  2. MJAVADOC-257

maven-javadoc-plugin 2.5, 2.6 and mojo: Error extracting plugin descriptor

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.5, 2.6
    • Fix Version/s: 2.6.1
    • Labels:
      None
    • Environment:
      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: http://jira.codehaus.org/browse/MJAVADOC-224

      1. MJAVADOC-257.diff
        5 kB
        Siveton Vincent

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Siveton Vincent
              Reporter:
              Jean-Claude Rouvinez
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development