You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brian Fox (JIRA)" <ji...@codehaus.org> on 2008/03/20 17:51:45 UTC

[jira] Created: (MNG-3473) something is wrong with 2.0.9 and the plugin tools release 2.4

something is wrong with 2.0.9 and the plugin tools release 2.4
--------------------------------------------------------------

                 Key: MNG-3473
                 URL: http://jira.codehaus.org/browse/MNG-3473
             Project: Maven 2
          Issue Type: Bug
    Affects Versions: 2.0.9
            Reporter: Brian Fox
             Fix For: 2.0.9


This is a holder for now as we don't actually know what the cause is. I want a Jira number to relate tests and eventual fixes against for now.

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

        

[jira] Closed: (MNG-3473) site generation with 2.0.9 and plugin:report is broken

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey closed MNG-3473.
---------------------------

    Resolution: Fixed

> site generation with 2.0.9 and plugin:report is broken
> ------------------------------------------------------
>
>                 Key: MNG-3473
>                 URL: http://jira.codehaus.org/browse/MNG-3473
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle
>    Affects Versions: 2.0.9
>            Reporter: Brian Fox
>            Assignee: John Casey
>             Fix For: 2.0.9
>
>
> Generating a site that works in 2.0.8 breaks in 2.0.9 with an exception: Caused by: java.lang.NoClassDefFoundError: org/apache/maven/doxia/module/site/manager/SiteModuleNotFoundException
> There is already a committed IT for this. It may be related to issues with MPLUGIN-104, however in this case the 2.4 version of the plugin does work in 2.0.8 so we need to investigate it in the core as well.

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

        

[jira] Reopened: (MNG-3473) site generation with 2.0.9 and plugin:report is broken

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey reopened MNG-3473:
-----------------------------


The issue with the plugin plugin isn't the LinkedHashSet...it's incorrect ordering of dependencies in the plugin's POM, and a change in the artifact-resolution code that uses an ordered set now where it didn't used to.

I've verified that the ordering of artifacts resolved for the same plugin POM is different between 2.0.8 and the 2.0.9 code, where the 2.0.9 resolution order is actually correct...the plugin POM specifies dependencies on maven-reporting-impl 2.0.4 and doxia-site-renderer 1.0-alpha-10 IN THAT ORDER. This means that it resolves:

# maven-reporting-impl 2.0.4 -> doxia-core 1.0-alpha-7
# doxia-site-renderer 1.0-alpha-10 -> doxia-core 1.0-alpha-10

and, since it sees -alpha-7 of doxia-core FIRST (it's at the same transitivity level as the other doxia-core dependency), -alpha-7 wins. This is correct according to the rules implemented in the ArtifactCollector. Previously, I think it was just dumb luck that it worked using a bad ordering algorithm (or, more precisely, no ordering algorithm).

> site generation with 2.0.9 and plugin:report is broken
> ------------------------------------------------------
>
>                 Key: MNG-3473
>                 URL: http://jira.codehaus.org/browse/MNG-3473
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle
>    Affects Versions: 2.0.9
>            Reporter: Brian Fox
>            Assignee: John Casey
>             Fix For: 2.0.9
>
>
> Generating a site that works in 2.0.8 breaks in 2.0.9 with an exception: Caused by: java.lang.NoClassDefFoundError: org/apache/maven/doxia/module/site/manager/SiteModuleNotFoundException
> There is already a committed IT for this. It may be related to issues with MPLUGIN-104, however in this case the 2.4 version of the plugin does work in 2.0.8 so we need to investigate it in the core as well.

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

        

[jira] Closed: (MNG-3473) site generation with 2.0.9 and plugin:report (2.4 ONLY) is broken

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Fox closed MNG-3473.
--------------------------

    Resolution: Fixed

this was resolved by releasing plugin tools 2.4.1 and reporting impl 2.0.4.1

> site generation with 2.0.9 and plugin:report (2.4 ONLY) is broken
> -----------------------------------------------------------------
>
>                 Key: MNG-3473
>                 URL: http://jira.codehaus.org/browse/MNG-3473
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle
>    Affects Versions: 2.0.9
>            Reporter: Brian Fox
>            Assignee: John Casey
>             Fix For: 2.0.9
>
>
> Generating a site that works in 2.0.8 breaks in 2.0.9 with an exception: Caused by: java.lang.NoClassDefFoundError: org/apache/maven/doxia/module/site/manager/SiteModuleNotFoundException
> There is already a committed IT for this. It may be related to issues with MPLUGIN-104, however in this case the 2.4 version of the plugin does work in 2.0.8 so we need to investigate it in the core as well.

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

        

[jira] Updated: (MNG-3473) something is wrong with 2.0.9 and the plugin tools release 2.4

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Fox updated MNG-3473:
---------------------------

         Assignee: Brian Fox
    Fix Version/s: 2.0.9

> something is wrong with 2.0.9 and the plugin tools release 2.4
> --------------------------------------------------------------
>
>                 Key: MNG-3473
>                 URL: http://jira.codehaus.org/browse/MNG-3473
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.9
>            Reporter: Brian Fox
>            Assignee: Brian Fox
>             Fix For: 2.0.9
>
>
> This is a holder for now as we don't actually know what the cause is. I want a Jira number to relate tests and eventual fixes against for now.

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

        

[jira] Updated: (MNG-3473) site generation with 2.0.9 and plugin:report (2.4 ONLY) is broken

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey updated MNG-3473:
----------------------------

    Summary: site generation with 2.0.9 and plugin:report (2.4 ONLY) is broken  (was: site generation with 2.0.9 and plugin:report is broken)

> site generation with 2.0.9 and plugin:report (2.4 ONLY) is broken
> -----------------------------------------------------------------
>
>                 Key: MNG-3473
>                 URL: http://jira.codehaus.org/browse/MNG-3473
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle
>    Affects Versions: 2.0.9
>            Reporter: Brian Fox
>            Assignee: John Casey
>             Fix For: 2.0.9
>
>
> Generating a site that works in 2.0.8 breaks in 2.0.9 with an exception: Caused by: java.lang.NoClassDefFoundError: org/apache/maven/doxia/module/site/manager/SiteModuleNotFoundException
> There is already a committed IT for this. It may be related to issues with MPLUGIN-104, however in this case the 2.4 version of the plugin does work in 2.0.8 so we need to investigate it in the core as well.

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

        

[jira] Updated: (MNG-3473) site generation with 2.0.9 and plugin:report is broken

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Fox updated MNG-3473:
---------------------------

    Description: 
Generating a site that works in 2.0.8 breaks in 2.0.9 with an exception: Caused by: java.lang.NoClassDefFoundError: org/apache/maven/doxia/module/site/manager/SiteModuleNotFoundException

There is already a committed IT for this. It may be related to issues with MPLUGIN-104, however in this case the 2.4 version of the plugin does work in 2.0.8 so we need to investigate it in the core as well.

  was:This is a holder for now as we don't actually know what the cause is. I want a Jira number to relate tests and eventual fixes against for now.

        Summary: site generation with 2.0.9 and plugin:report is broken  (was: something is wrong with 2.0.9 and the plugin tools release 2.4)
    Component/s: Plugins and Lifecycle

> site generation with 2.0.9 and plugin:report is broken
> ------------------------------------------------------
>
>                 Key: MNG-3473
>                 URL: http://jira.codehaus.org/browse/MNG-3473
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle
>    Affects Versions: 2.0.9
>            Reporter: Brian Fox
>            Assignee: Brian Fox
>             Fix For: 2.0.9
>
>
> Generating a site that works in 2.0.8 breaks in 2.0.9 with an exception: Caused by: java.lang.NoClassDefFoundError: org/apache/maven/doxia/module/site/manager/SiteModuleNotFoundException
> There is already a committed IT for this. It may be related to issues with MPLUGIN-104, however in this case the 2.4 version of the plugin does work in 2.0.8 so we need to investigate it in the core as well.

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

        

[jira] Commented: (MNG-3473) site generation with 2.0.9 and plugin:report is broken

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_128080 ] 

John Casey commented on MNG-3473:
---------------------------------

Rolled back the switch from HashSet to LinkedHashSet for plugin dependencies, which was originally changed in the commit for MNG-3426. We do need that change, but for now it breaks at least the plugin:report execution when run from within the site lifecycle phase...the result is the exception reported in the description of this issue.

I'll open a new issue to get this fixed in the next Maven release.

> site generation with 2.0.9 and plugin:report is broken
> ------------------------------------------------------
>
>                 Key: MNG-3473
>                 URL: http://jira.codehaus.org/browse/MNG-3473
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle
>    Affects Versions: 2.0.9
>            Reporter: Brian Fox
>            Assignee: John Casey
>             Fix For: 2.0.9
>
>
> Generating a site that works in 2.0.8 breaks in 2.0.9 with an exception: Caused by: java.lang.NoClassDefFoundError: org/apache/maven/doxia/module/site/manager/SiteModuleNotFoundException
> There is already a committed IT for this. It may be related to issues with MPLUGIN-104, however in this case the 2.4 version of the plugin does work in 2.0.8 so we need to investigate it in the core as well.

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