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

Ivy retrieve Maven Jars with Classifiers

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.5.0-rc1
    • Component/s: Core
    • Labels:
      None
    • Environment:

      All Environments

      Description

      Steps to reproduce :

      using ivy 2.4.0

      java -jar ivy.jar -dependency "net.java.jinput" "jinput" "2.0.7" -retrieve  "jinput.ivy/[originalname](-[classifier]).[ext]"
      

      returns the following jars

      jinput-2.0.7-javadoc-javadoc.jar
      jinput-2.0.7-sources-sources.jar
      jinput-2.0.7.jar
      jinput-platform-2.0.7-natives-osx-natives-osx.jar
      jutils-1.0.0.jar

      using either maven or gradle both come back with 2 additional  "native" jars

      jinput-2.0.7.jar
      jinput-platform-2.0.7-natives-linux.jar
      jinput-platform-2.0.7-natives-osx.jar
      jinput-platform-2.0.7-natives-windows.jar
      jutils-1.0.0.jar

      This happens for a variety of popular projects javacv, dl4j, etc ..

      pom is here - http://central.maven.org/maven2/net/java/jinput/jinput/2.0.5/jinput-2.0.5.pom

      I can imagine that the additional artifacts can explicitly be put into an ivy.xml, but this burdens the client with the complexity of having to document all missing artifacts.  

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jaikiran jaikiran pai
                Reporter:
                grog Greg Perry
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: