ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anand Rajasekar <arajase...@stratify.com>
Subject Ivy Install Ant Task and Maven Classifier
Date Tue, 10 Nov 2009 18:41:34 GMT

Hi All,

I am calling ivy install to install from ibiblio into my ivy repository
<ivy:install settingsRef="settings" overwrite="true"
            organisation="${organization}" module="${module}" revision="${revision}"
            from="${from.resolver}" to="${to.resolver}" transitive="${transitive}" type="${type}"/>

This fails for artifiacts that have a maven classifier like testng, where it expects the classifier
jdk5 testng-jdk5.jar

arty/ant/ant/1.6.5/ivys/ivy.xml
[ivy:install] :: install resolution report ::
[ivy:install] :: resolution report :: resolve 0ms :: artifacts dl 610ms
                ---------------------------------------------------------------------
                |                  |            modules            ||   artifacts   |
                |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
                ---------------------------------------------------------------------
                |      default     |   5   |   0   |   0   |   0   ||   5   |   0   |
                ---------------------------------------------------------------------
[ivy:install]
[ivy:install] :: problems summary ::
[ivy:install] :::: WARNINGS
[ivy:install]                          [NOT FOUND  ] org.testng#testng;5.10!testng.jar (578ms)
[ivy:install]          ==== ibiblio: tried
[ivy:install]            http://repo2.maven.org/maven2/org/testng/testng/5.10/testng-5.10.jar
[ivy:install]            http://repo2.maven.org/maven2/testng/5.10/testng-5.10.jar
[ivy:install]                          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:install]                          ::              FAILED DOWNLOADS            ::
[ivy:install]                          :: ^ see resolution messages for details  ^ ::
[ivy:install]                          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:install]                          :: org.testng#testng;5.10!testng.jar
[ivy:install]                          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:install]
[ivy:install]
[ivy:install] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

How can I specify the classifier for the install task ?

Thanks
anand

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message