I would like to retrieve ONLY the library jar when I make use of a dependency entry in my ivy.xml for Red5 (or any project for that matter). No matter how I have configured it, I still get "sources" jars for dependencies. I have scoured the docs and google and have yet to find a solution that works using Ivy 2.2.0.
This set of nodes in my ivy.xml seems to work the best for most libraries, but Spring ignores them.
<exclude ext="txt" />
<exclude type="src" />
<exclude artifact="!sources" />
If anyone has any tips that would work, lets hear them!!
Links to the source xml files
http://red5.googlecode.com/svn/java/server/trunk/ivy.xml
http://red5.googlecode.com/svn/java/server/trunk/ivysettings.xml
http://red5.googlecode.com/svn/java/server/trunk/build.xml
Note
Don't say this is a duplicate, their answers do NOT work:
ivy: prevent downloading sources and .txt files
make ivy not to download sources and license files
Update 1
<dependency org="org.springframework" name="org.springframework.core" rev="3.0.5.RELEASE" transitive="false" />
Produces these two files in my lib directory:
org.springframework.core-3.0.5.RELEASE.jar
org.springframework.core-sources-3.0.5.RELEASE.jar
Update 2 For the bounty, I expect your solution to work with Red5 trunk which is available to everyone as open source. The sources jars are just a annoyance for me and well worth the bounty points.
i'm using this in build.xml to only retrieve the jars
<ivy:retrieve type="jar"/>