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

[jira] Created: (MPLUGIN-105) incorrect order of dependencies on maven-reporting-impl and doxia-site-renderer leads to wrong doxia-core

incorrect order of dependencies on maven-reporting-impl and doxia-site-renderer leads to wrong doxia-core
---------------------------------------------------------------------------------------------------------

                 Key: MPLUGIN-105
                 URL: http://jira.codehaus.org/browse/MPLUGIN-105
             Project: Maven 2.x Plugin Tools
          Issue Type: Bug
          Components: Plugin Plugin
    Affects Versions: 2.4
            Reporter: John Casey
            Priority: Blocker


Since the 2.0.9 code for Maven preserves the ordering of dependencies in a POM for artifact resolution, the order of these dependencies now matters. In the plugin plugin, it specifies two dependencies that drag in different versions of doxia-core...the ordering of these two direct dependencies results in an incompatible doxia-core version (from the maven-reporting-impl version 2.0.4) being chosen over that from doxia-site-renderer.

We need to either (a) exclude doxia-core from the transitive dependencies brought in by maven-reporting-impl, or (b) state a direct dependency on doxia-core. Which is done depends on whether the plugin plugin in fact makes direct use of classes from doxia-core...

maven-plugin-plugin 2.4 is unusable from the current maven-2.0.9 code as a result of this problem, unless the user specifies a plugin-level dependency in their own POM on doxia-core 1.0-alpha-10.

-- 
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: (MPLUGIN-105) incorrect order of dependencies on maven-reporting-impl and doxia-site-renderer leads to wrong doxia-core

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

Brian Fox closed MPLUGIN-105.
-----------------------------

    Resolution: Fixed

Reordered the dependencies and confirmed it now fixes MNG-3473

> incorrect order of dependencies on maven-reporting-impl and doxia-site-renderer leads to wrong doxia-core
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: MPLUGIN-105
>                 URL: http://jira.codehaus.org/browse/MPLUGIN-105
>             Project: Maven 2.x Plugin Tools
>          Issue Type: Bug
>          Components: Plugin Plugin
>    Affects Versions: 2.4
>            Reporter: John Casey
>            Assignee: Brian Fox
>            Priority: Blocker
>             Fix For: 2.5
>
>
> Since the 2.0.9 code for Maven preserves the ordering of dependencies in a POM for artifact resolution, the order of these dependencies now matters. In the plugin plugin, it specifies two dependencies that drag in different versions of doxia-core...the ordering of these two direct dependencies results in an incompatible doxia-core version (from the maven-reporting-impl version 2.0.4) being chosen over that from doxia-site-renderer.
> We need to either (a) exclude doxia-core from the transitive dependencies brought in by maven-reporting-impl, or (b) state a direct dependency on doxia-core. Which is done depends on whether the plugin plugin in fact makes direct use of classes from doxia-core...
> maven-plugin-plugin 2.4 is unusable from the current maven-2.0.9 code as a result of this problem, unless the user specifies a plugin-level dependency in their own POM on doxia-core 1.0-alpha-10.

-- 
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: (MPLUGIN-105) incorrect order of dependencies on maven-reporting-impl and doxia-site-renderer leads to wrong doxia-core

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

Brian Fox updated MPLUGIN-105:
------------------------------

    Fix Version/s: 2.5

> incorrect order of dependencies on maven-reporting-impl and doxia-site-renderer leads to wrong doxia-core
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: MPLUGIN-105
>                 URL: http://jira.codehaus.org/browse/MPLUGIN-105
>             Project: Maven 2.x Plugin Tools
>          Issue Type: Bug
>          Components: Plugin Plugin
>    Affects Versions: 2.4
>            Reporter: John Casey
>            Priority: Blocker
>             Fix For: 2.5
>
>
> Since the 2.0.9 code for Maven preserves the ordering of dependencies in a POM for artifact resolution, the order of these dependencies now matters. In the plugin plugin, it specifies two dependencies that drag in different versions of doxia-core...the ordering of these two direct dependencies results in an incompatible doxia-core version (from the maven-reporting-impl version 2.0.4) being chosen over that from doxia-site-renderer.
> We need to either (a) exclude doxia-core from the transitive dependencies brought in by maven-reporting-impl, or (b) state a direct dependency on doxia-core. Which is done depends on whether the plugin plugin in fact makes direct use of classes from doxia-core...
> maven-plugin-plugin 2.4 is unusable from the current maven-2.0.9 code as a result of this problem, unless the user specifies a plugin-level dependency in their own POM on doxia-core 1.0-alpha-10.

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