You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Hans Dockter (JIRA)" <ji...@apache.org> on 2009/04/16 21:48:14 UTC

[jira] Created: (IVY-1066) Build Failure when resolving a certain dependency from a Maven repository.

Build Failure when resolving a certain dependency from a Maven repository.
--------------------------------------------------------------------------

                 Key: IVY-1066
                 URL: https://issues.apache.org/jira/browse/IVY-1066
             Project: Ivy
          Issue Type: Bug
          Components: Maven Compatibility
    Affects Versions: 2.1.0-RC1
            Reporter: Hans Dockter
            Priority: Critical


This bug was originally posted to the Gradle Jira by Galder Zamarreño (see http://jira.codehaus.org/browse/GRADLE-415). I have attached a test case with an ivy.xml, ivysettings.xml and a build.xml. If you run {{ant resolve}} you get a resolve error because of a misinterpretation of Maven pom information (as I understand it, the resolve works with Maven).

The problem is that Ivy looks for the URL {{http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-j2se/5.0.0.CR2/jboss-as-j2se-5.0.0.CR2.test-jar}}, whereas it should look for {{http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-j2se/5.0.0.CR2/jboss-as-j2se-5.0.0.CR2-tests.jar}}.

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


[jira] Updated: (IVY-1066) Ivy doesn't handle maven dependencies with type 'test-jar' correctly

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

Maarten Coene updated IVY-1066:
-------------------------------

    Assignee: Maarten Coene
     Summary: Ivy doesn't handle maven dependencies with type 'test-jar' correctly  (was: Build Failure when resolving a certain dependency from a Maven repository.)

> Ivy doesn't handle maven dependencies with type 'test-jar' correctly
> --------------------------------------------------------------------
>
>                 Key: IVY-1066
>                 URL: https://issues.apache.org/jira/browse/IVY-1066
>             Project: Ivy
>          Issue Type: Bug
>          Components: Maven Compatibility
>    Affects Versions: 2.1.0-RC1
>            Reporter: Hans Dockter
>            Assignee: Maarten Coene
>            Priority: Critical
>         Attachments: ivybug.zip
>
>
> This bug was originally posted to the Gradle Jira by Galder Zamarreño (see http://jira.codehaus.org/browse/GRADLE-415). I have attached a test case with an ivy.xml, ivysettings.xml and a build.xml. If you run {{ant resolve}} you get a resolve error because of a misinterpretation of Maven pom information (as I understand it, the resolve works with Maven).
> The problem is that Ivy looks for the URL {{http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-j2se/5.0.0.CR2/jboss-as-j2se-5.0.0.CR2.test-jar}}, whereas it should look for {{http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-j2se/5.0.0.CR2/jboss-as-j2se-5.0.0.CR2-tests.jar}}.

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


[jira] Updated: (IVY-1066) Ivy doesn't handle maven dependencies with type 'test-jar' correctly

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

Maarten Coene updated IVY-1066:
-------------------------------

    Fix Version/s:     (was: trunk)
                   2.1.0-RC2

> Ivy doesn't handle maven dependencies with type 'test-jar' correctly
> --------------------------------------------------------------------
>
>                 Key: IVY-1066
>                 URL: https://issues.apache.org/jira/browse/IVY-1066
>             Project: Ivy
>          Issue Type: Bug
>          Components: Maven Compatibility
>    Affects Versions: 2.1.0-RC1
>            Reporter: Hans Dockter
>            Assignee: Maarten Coene
>            Priority: Critical
>             Fix For: 2.1.0-RC2
>
>         Attachments: ivybug.zip
>
>
> This bug was originally posted to the Gradle Jira by Galder Zamarreño (see http://jira.codehaus.org/browse/GRADLE-415). I have attached a test case with an ivy.xml, ivysettings.xml and a build.xml. If you run {{ant resolve}} you get a resolve error because of a misinterpretation of Maven pom information (as I understand it, the resolve works with Maven).
> The problem is that Ivy looks for the URL {{http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-j2se/5.0.0.CR2/jboss-as-j2se-5.0.0.CR2.test-jar}}, whereas it should look for {{http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-j2se/5.0.0.CR2/jboss-as-j2se-5.0.0.CR2-tests.jar}}.

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


[jira] Commented: (IVY-1066) Ivy doesn't handle maven dependencies with type 'test-jar' correctly

Posted by "Hans Dockter (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700073#action_12700073 ] 

Hans Dockter commented on IVY-1066:
-----------------------------------

Thanks for the info.

> Ivy doesn't handle maven dependencies with type 'test-jar' correctly
> --------------------------------------------------------------------
>
>                 Key: IVY-1066
>                 URL: https://issues.apache.org/jira/browse/IVY-1066
>             Project: Ivy
>          Issue Type: Bug
>          Components: Maven Compatibility
>    Affects Versions: 2.1.0-RC1
>            Reporter: Hans Dockter
>            Assignee: Maarten Coene
>            Priority: Critical
>             Fix For: trunk
>
>         Attachments: ivybug.zip
>
>
> This bug was originally posted to the Gradle Jira by Galder Zamarreño (see http://jira.codehaus.org/browse/GRADLE-415). I have attached a test case with an ivy.xml, ivysettings.xml and a build.xml. If you run {{ant resolve}} you get a resolve error because of a misinterpretation of Maven pom information (as I understand it, the resolve works with Maven).
> The problem is that Ivy looks for the URL {{http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-j2se/5.0.0.CR2/jboss-as-j2se-5.0.0.CR2.test-jar}}, whereas it should look for {{http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-j2se/5.0.0.CR2/jboss-as-j2se-5.0.0.CR2-tests.jar}}.

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


[jira] Resolved: (IVY-1066) Ivy doesn't handle maven dependencies with type 'test-jar' correctly

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

Maarten Coene resolved IVY-1066.
--------------------------------

       Resolution: Fixed
    Fix Version/s: trunk

I've applied a patch to SVN trunk which I think will fix the problem.
Could you please give it a try and confirm it indeed solves the problem?

Maarten

> Ivy doesn't handle maven dependencies with type 'test-jar' correctly
> --------------------------------------------------------------------
>
>                 Key: IVY-1066
>                 URL: https://issues.apache.org/jira/browse/IVY-1066
>             Project: Ivy
>          Issue Type: Bug
>          Components: Maven Compatibility
>    Affects Versions: 2.1.0-RC1
>            Reporter: Hans Dockter
>            Assignee: Maarten Coene
>            Priority: Critical
>             Fix For: trunk
>
>         Attachments: ivybug.zip
>
>
> This bug was originally posted to the Gradle Jira by Galder Zamarreño (see http://jira.codehaus.org/browse/GRADLE-415). I have attached a test case with an ivy.xml, ivysettings.xml and a build.xml. If you run {{ant resolve}} you get a resolve error because of a misinterpretation of Maven pom information (as I understand it, the resolve works with Maven).
> The problem is that Ivy looks for the URL {{http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-j2se/5.0.0.CR2/jboss-as-j2se-5.0.0.CR2.test-jar}}, whereas it should look for {{http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-j2se/5.0.0.CR2/jboss-as-j2se-5.0.0.CR2-tests.jar}}.

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


[jira] Commented: (IVY-1066) Ivy doesn't handle maven dependencies with type 'test-jar' correctly

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700054#action_12700054 ] 

Maarten Coene commented on IVY-1066:
------------------------------------

That hasn't been decided yet, but I think it can be included in the 2.1.0 final release

> Ivy doesn't handle maven dependencies with type 'test-jar' correctly
> --------------------------------------------------------------------
>
>                 Key: IVY-1066
>                 URL: https://issues.apache.org/jira/browse/IVY-1066
>             Project: Ivy
>          Issue Type: Bug
>          Components: Maven Compatibility
>    Affects Versions: 2.1.0-RC1
>            Reporter: Hans Dockter
>            Assignee: Maarten Coene
>            Priority: Critical
>             Fix For: trunk
>
>         Attachments: ivybug.zip
>
>
> This bug was originally posted to the Gradle Jira by Galder Zamarreño (see http://jira.codehaus.org/browse/GRADLE-415). I have attached a test case with an ivy.xml, ivysettings.xml and a build.xml. If you run {{ant resolve}} you get a resolve error because of a misinterpretation of Maven pom information (as I understand it, the resolve works with Maven).
> The problem is that Ivy looks for the URL {{http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-j2se/5.0.0.CR2/jboss-as-j2se-5.0.0.CR2.test-jar}}, whereas it should look for {{http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-j2se/5.0.0.CR2/jboss-as-j2se-5.0.0.CR2-tests.jar}}.

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


[jira] Commented: (IVY-1066) Ivy doesn't handle maven dependencies with type 'test-jar' correctly

Posted by "Hans Dockter (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700014#action_12700014 ] 

Hans Dockter commented on IVY-1066:
-----------------------------------

That was fast. Many thanks. The patch works. Will the patch has a chance to make it into the 2.1.0 stream?

> Ivy doesn't handle maven dependencies with type 'test-jar' correctly
> --------------------------------------------------------------------
>
>                 Key: IVY-1066
>                 URL: https://issues.apache.org/jira/browse/IVY-1066
>             Project: Ivy
>          Issue Type: Bug
>          Components: Maven Compatibility
>    Affects Versions: 2.1.0-RC1
>            Reporter: Hans Dockter
>            Assignee: Maarten Coene
>            Priority: Critical
>             Fix For: trunk
>
>         Attachments: ivybug.zip
>
>
> This bug was originally posted to the Gradle Jira by Galder Zamarreño (see http://jira.codehaus.org/browse/GRADLE-415). I have attached a test case with an ivy.xml, ivysettings.xml and a build.xml. If you run {{ant resolve}} you get a resolve error because of a misinterpretation of Maven pom information (as I understand it, the resolve works with Maven).
> The problem is that Ivy looks for the URL {{http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-j2se/5.0.0.CR2/jboss-as-j2se-5.0.0.CR2.test-jar}}, whereas it should look for {{http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-j2se/5.0.0.CR2/jboss-as-j2se-5.0.0.CR2-tests.jar}}.

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


[jira] Updated: (IVY-1066) Build Failure when resolving a certain dependency from a Maven repository.

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

Hans Dockter updated IVY-1066:
------------------------------

    Attachment: ivybug.zip

> Build Failure when resolving a certain dependency from a Maven repository.
> --------------------------------------------------------------------------
>
>                 Key: IVY-1066
>                 URL: https://issues.apache.org/jira/browse/IVY-1066
>             Project: Ivy
>          Issue Type: Bug
>          Components: Maven Compatibility
>    Affects Versions: 2.1.0-RC1
>            Reporter: Hans Dockter
>            Priority: Critical
>         Attachments: ivybug.zip
>
>
> This bug was originally posted to the Gradle Jira by Galder Zamarreño (see http://jira.codehaus.org/browse/GRADLE-415). I have attached a test case with an ivy.xml, ivysettings.xml and a build.xml. If you run {{ant resolve}} you get a resolve error because of a misinterpretation of Maven pom information (as I understand it, the resolve works with Maven).
> The problem is that Ivy looks for the URL {{http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-j2se/5.0.0.CR2/jboss-as-j2se-5.0.0.CR2.test-jar}}, whereas it should look for {{http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-j2se/5.0.0.CR2/jboss-as-j2se-5.0.0.CR2-tests.jar}}.

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