Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-1066

Ivy doesn't handle maven dependencies with type 'test-jar' correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.1.0-RC1
    • 2.1.0-RC2
    • Maven Compatibility
    • None

    Description

      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.

      Attachments

        1. ivybug.zip
          2 kB
          Hans Dockter

        Activity

          People

            maartenc Maarten Coene
            hdockter Hans Dockter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: