ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject maven classifier on ant install task
Date Tue, 28 Jan 2014 13:40:42 GMT

I've been having a go at using the Ivy Install ant task to create a local
repository based on libraries downloaded from maven central.

Having gone along with the tutorial, all seemed to be working :)


One of the dependencies in my project is json-lib.

It seems that the json-lib project uses a maven classifier to discriminate
between jars suitable for different versions of the jvm.

If I were just declaring a dependency I think I could do this:


However, I'm using install tasks that look like:

<ivy:install organisation="log4j" module="log4j" revision="1.2.17" from="chain"
to="fs1" transitive="true" overwrite="true"/>

How should I declare the "classifier" on an "install" task?

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