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" /> Maarten ----- Original Message ---- From: Coolboykl <[EMAIL PROTECTED]> To: [email protected] 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"/> <dependencies> <dependency org="commons-lang" name="commons-lang" rev="2.0"/> <dependency org="commons-cli" name="commons-cli" rev="1.0"/> </dependencies> </ivy-module> When I run ant resolve, it always download the jar, the source, and the javadoc. Is there anywhere to exclude those? Cheers -- View this message in context: http://www.nabble.com/How-to-exclude-source-and-javadoc-download-tp20808519p20808519.html Sent from the ivy-user mailing list archive at Nabble.com.
