|
You can easily avoid these sources/javadocs from being downloaded by restricting the type to "jar" when calling the ivy:resolve task...
Maybe a workaround for the ivy:install task problem could be to override the default maven2 patterns Ivy uses and don't specify the [classifier] token inside them. This way, Ivy won't find the sources/javadoc artifacts and will not try to download/install them...
Maarten Thanks Maarten! Between the presence of the JIRA entry, and the lack of response to a query to the ivy-users mailing list (http://www.nabble.com/How-to-exclude-source-and-javadoc-download-td20808519.html#a21379869
how does all of this go down with ivy:install?
[ivy:install] :: installing apache#log4j#trunk;1.2.15 :: BUILD FAILED highly annoying I think you could workaround it by either:
Hi Maarten, I am still a beginner in using Ivy.
After some google, the default attifact pattern I found is "[module]/[type]s/[artifact]-[revision].[ext]" Do you mind to share with us on how to remove the [classifier] token from the artifact pattern of the ibiblio resolver? There is a type attribute to the install task since a long time, but it was not documented (nor tested).
The documentation is now updated on the trunk. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
IVY-325).It is a huge waste of time updating many hundreds of <dependency/> nodes spread across many dozens of ivy.xml files to only pull the jars, or waste inordinate amounts of bandwidth (and thus time) pulling down entirely useless javadoc and source JARs/ZIPs into my applications' lib.