[ 
https://issues.apache.org/jira/browse/MJAVADOC-257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte updated MJAVADOC-257:
------------------------------------
    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:
{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: MJAVADOC-224


  was:
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]



> maven-javadoc-plugin 2.5, 2.6 and mojo: Error extracting plugin descriptor
> --------------------------------------------------------------------------
>
>                 Key: MJAVADOC-257
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-257
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.5, 2.6
>         Environment: Apache Maven 2.2.0
> Java version: 1.6.0_11
>            Reporter: Jean-Claude Rouvinez
>            Assignee: Siveton Vincent
>             Fix For: 2.6.1
>
>         Attachments: MJAVADOC-257.diff
>
>
> 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: MJAVADOC-224



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to