ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <>
Subject Re: How to exclude source and javadoc download
Date Wed, 03 Dec 2008 22:14:39 GMT
The sources and javadocs are part of the "sources" and "javadoc" configurations.
If you exclude these in your configurationmapping, they won't be downloaded:

<dependency org="commons-lang" name="commons-lang" rev="2.0" conf="*->*,!sources,!javadoc"


----- Original Message ----
From: Coolboykl <>
Sent: Wednesday, December 3, 2008 9:10:36 AM
Subject: How to exclude source and javadoc download

Hi all

I am using ivy2-RC2, using the hello-ivy as an example, could anyone tell me
how to exclude javadoc and source download? below is the ivy.xml

<ivy-module version="2.0">
    <info organisation="org.apache" module="hello-ivy"/>
        <dependency org="commons-lang" name="commons-lang" rev="2.0"/>
        <dependency org="commons-cli" name="commons-cli" rev="1.0"/>

When I run ant resolve, it always download the jar, the source, and the
javadoc. Is there anywhere to exclude those?

View this message in context:
Sent from the ivy-user mailing list archive at


View raw message