You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by "Gilles Scokart (JIRA)" <ji...@apache.org> on 2007/07/31 15:06:52 UTC

[jira] Created: (IVY-586) ivy doesn't handle relocation in pom.xml

ivy doesn't handle relocation in pom.xml
----------------------------------------

                 Key: IVY-586
                 URL: https://issues.apache.org/jira/browse/IVY-586
             Project: Ivy
          Issue Type: Bug
    Affects Versions: 2.0.0-alpha-1
            Reporter: Gilles Scokart
            Priority: Critical
             Fix For: 2.0


See for example : http://repo1.maven.org/maven2/dbunit/dbunit/2.2/dbunit-2.2.pom

ivy, ignore the relocation content, and try to donwload the jar from http://repo1.maven.org/maven2/dbunit/dbunit/2.2/ (which doesn't exist)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (IVY-586) ivy doesn't handle relocation in pom.xml

Posted by "Gilles Scokart (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543604 ] 

gscokart edited comment on IVY-586 at 11/21/07 6:14 AM:
--------------------------------------------------------------

The relocation are now considered as a dependency (with conf \*->@).  

      was (Author: gscokart):
    The relocation are now considered as a dependency (with conf *->*).  
  
> ivy doesn't handle relocation in pom.xml
> ----------------------------------------
>
>                 Key: IVY-586
>                 URL: https://issues.apache.org/jira/browse/IVY-586
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha-1
>            Reporter: Gilles Scokart
>            Assignee: Gilles Scokart
>            Priority: Critical
>             Fix For: 2.0.0-beta-1
>
>
> See for example : http://repo1.maven.org/maven2/dbunit/dbunit/2.2/dbunit-2.2.pom
> ivy, ignore the relocation content, and try to donwload the jar from http://repo1.maven.org/maven2/dbunit/dbunit/2.2/ (which doesn't exist)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (IVY-586) ivy doesn't handle relocation in pom.xml

Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier Hanin updated IVY-586:
-----------------------------

    Fix Version/s:     (was: 2.0.0-beta-1)
                   2.0

postpone after beta 1 release

> ivy doesn't handle relocation in pom.xml
> ----------------------------------------
>
>                 Key: IVY-586
>                 URL: https://issues.apache.org/jira/browse/IVY-586
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha-1
>            Reporter: Gilles Scokart
>            Assignee: Gilles Scokart
>            Priority: Critical
>             Fix For: 2.0
>
>
> See for example : http://repo1.maven.org/maven2/dbunit/dbunit/2.2/dbunit-2.2.pom
> ivy, ignore the relocation content, and try to donwload the jar from http://repo1.maven.org/maven2/dbunit/dbunit/2.2/ (which doesn't exist)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-586) ivy doesn't handle relocation in pom.xml

Posted by "Gilles Scokart (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544750 ] 

Gilles Scokart commented on IVY-586:
------------------------------------

See http://mvnrepository.com/artifact/xml-apis/xml-apis/2.0.2 for a list of modules that can not be used because of this bug.

You will find things like xalan, struts, dom4j, a lot of commons, ....
 :-(


> ivy doesn't handle relocation in pom.xml
> ----------------------------------------
>
>                 Key: IVY-586
>                 URL: https://issues.apache.org/jira/browse/IVY-586
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha-1
>            Reporter: Gilles Scokart
>            Assignee: Gilles Scokart
>            Priority: Critical
>             Fix For: 2.0.0-beta-1
>
>
> See for example : http://repo1.maven.org/maven2/dbunit/dbunit/2.2/dbunit-2.2.pom
> ivy, ignore the relocation content, and try to donwload the jar from http://repo1.maven.org/maven2/dbunit/dbunit/2.2/ (which doesn't exist)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-586) ivy doesn't handle relocation in pom.xml

Posted by "Gilles Scokart (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544496 ] 

Gilles Scokart commented on IVY-586:
------------------------------------

I have added the code to also handle the relocation of the artefactId and version number.  Unfortunately, it is not enought because a module is not authorized to depend on itself.  
And in this case, we end up with [ xml-apis | xml-apis | 2.0.2 ] depending on [ xml-apis | xml-apis | 1.0.b2 ].

So the simple aproach I took was too simplist ;-)

Making the change in PomModuleDescriptorParser is thus probably not enought.

Also, I'm not sure how conflict resulution should be performed in case of relocation...

I will left the code as it is because it handle simple relocation (orgnaisation or artefact, without conflict managment involved)

But I keep the issue open until we find a better solution.


> ivy doesn't handle relocation in pom.xml
> ----------------------------------------
>
>                 Key: IVY-586
>                 URL: https://issues.apache.org/jira/browse/IVY-586
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha-1
>            Reporter: Gilles Scokart
>            Assignee: Gilles Scokart
>            Priority: Critical
>             Fix For: 2.0.0-beta-1
>
>
> See for example : http://repo1.maven.org/maven2/dbunit/dbunit/2.2/dbunit-2.2.pom
> ivy, ignore the relocation content, and try to donwload the jar from http://repo1.maven.org/maven2/dbunit/dbunit/2.2/ (which doesn't exist)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (IVY-586) ivy doesn't handle relocation in pom.xml

Posted by "Gilles Scokart (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilles Scokart reassigned IVY-586:
----------------------------------

    Assignee: Gilles Scokart

> ivy doesn't handle relocation in pom.xml
> ----------------------------------------
>
>                 Key: IVY-586
>                 URL: https://issues.apache.org/jira/browse/IVY-586
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha-1
>            Reporter: Gilles Scokart
>            Assignee: Gilles Scokart
>            Priority: Critical
>             Fix For: 2.0
>
>
> See for example : http://repo1.maven.org/maven2/dbunit/dbunit/2.2/dbunit-2.2.pom
> ivy, ignore the relocation content, and try to donwload the jar from http://repo1.maven.org/maven2/dbunit/dbunit/2.2/ (which doesn't exist)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (IVY-586) ivy doesn't handle relocation in pom.xml

Posted by "Gilles Scokart (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilles Scokart resolved IVY-586.
--------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0)
                   2.0.0-beta-1

The relocation are now considered as a dependency (with conf *->*).  

> ivy doesn't handle relocation in pom.xml
> ----------------------------------------
>
>                 Key: IVY-586
>                 URL: https://issues.apache.org/jira/browse/IVY-586
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha-1
>            Reporter: Gilles Scokart
>            Assignee: Gilles Scokart
>            Priority: Critical
>             Fix For: 2.0.0-beta-1
>
>
> See for example : http://repo1.maven.org/maven2/dbunit/dbunit/2.2/dbunit-2.2.pom
> ivy, ignore the relocation content, and try to donwload the jar from http://repo1.maven.org/maven2/dbunit/dbunit/2.2/ (which doesn't exist)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (IVY-586) ivy doesn't handle relocation in pom.xml

Posted by "Gilles Scokart (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilles Scokart reopened IVY-586:
--------------------------------


The current fix only support the relocation of groupId.  Maven also allow to relocate to an other artefactId and even version number.

See for example : ftp://ibiblio.org/pub/packages/maven2/xml-apis/xml-apis/2.0.2/xml-apis-2.0.2.pom



> ivy doesn't handle relocation in pom.xml
> ----------------------------------------
>
>                 Key: IVY-586
>                 URL: https://issues.apache.org/jira/browse/IVY-586
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha-1
>            Reporter: Gilles Scokart
>            Assignee: Gilles Scokart
>            Priority: Critical
>             Fix For: 2.0.0-beta-1
>
>
> See for example : http://repo1.maven.org/maven2/dbunit/dbunit/2.2/dbunit-2.2.pom
> ivy, ignore the relocation content, and try to donwload the jar from http://repo1.maven.org/maven2/dbunit/dbunit/2.2/ (which doesn't exist)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.