[ 
http://jira.codehaus.org/browse/MNG-2258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=200327#action_200327
 ] 

Julien HENRY edited comment on MNG-2258 at 12/2/09 10:39 AM:
-------------------------------------------------------------

In my corporate parent pom I have the following in reporting section:

{code:xml}
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-jxr-plugin</artifactId>
    <version>2.1</version>
</plugin>
 ...
<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>taglist-maven-plugin</artifactId>
    <version>2.4</version>
</plugin>
{code}
(in this order)

Then I have create a sample test project from Maven quickstart archetype but:

{noformat}
>mvn clean install site
...
[INFO] Generating "Tag List" report.
[ERROR] Taglist plugin MUST be executed after the JXR plugin.  No links to xref 
were generated.
[WARNING] Unable to locate Source XRef to link to - DISABLED
{noformat}

Looking at the log I can see reporting plugins are generated in an order 
completely different of the reporting section order.

      was (Author: henryju):
    In my corporate parent pom I have the following in reporting section:

{code:xml}
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-jxr-plugin</artifactId>
    <version>2.1</version>
</plugin>
 ...
<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>taglist-maven-plugin</artifactId>
    <version>2.4</version>
</plugin>
{code}
(in this order)

Then I have create a sample test project from Maven quickstart archetype but:

{noformat}
>mvn clean install site dependency:tree
...
[INFO] Generating "Tag List" report.
[ERROR] Taglist plugin MUST be executed after the JXR plugin.  No links to xref 
were generated.
[WARNING] Unable to locate Source XRef to link to - DISABLED
{noformat}

Looking at the log I can see reporting plugins are generated in an order 
completely different of the reporting section order.
  
> Wrong execution order of plugins in same phase
> ----------------------------------------------
>
>                 Key: MNG-2258
>                 URL: http://jira.codehaus.org/browse/MNG-2258
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.4
>         Environment: N/A
>            Reporter: David J. M. Karlsen
>            Priority: Blocker
>         Attachments: mavenTest.zip
>
>
> AFAIK plugins should be execute in the same order as they are listed in the 
> POM, when bound to the same phase. This does not happen, the execution order 
> is arbitrary.

-- 
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

        

Reply via email to