I was using ANT to deploy my stuff to Tomcat. But I had trouble with missing dependencies and I wanted to add Ivy, cause it was reccomended.
Now I added this to my b
You have to expand your pattern to include the type, so that each artifact gets it's own local file:
<ivy:retrieve pattern="lib/[conf]/[artifact]-[type]-[revision].[ext]" />
Or if you don't need the sources and the javadoc you can change the dependency to:
<ivy-module version="2.0">
<info organisation="org.apache" module="hello-ivy"/>
<dependencies>
<dependency org="commons-lang" name="commons-lang" rev="2.1" conf="default->master"/>
</dependencies>
</ivy-module>
Which will only retrieve the master-conf(jar) of the dependency.