I\'m using Ivy on my project, with the Ivy Eclipse plugin.
It appears that certain jars which are downloaded and added to my project are the javadoc jars, not the ja
Some open source modules include optional java doc jars. To remove them add a configuration mapping to each of your dependencies:
The default configuration in ivy is equivalent to the the compile scope in a maven module. This is how the optional libraries can be automatically omitted. (Check their POMs).
A better approach is to declare your own configurations and the default mapping as follows:
Then in your ivy file you only need to declare the non-standard configurations:
In this case we only want the 3 test libraries to appear on the test configuration.
Still confused? The magic of ivy configurations is when you use them to manage your build's class path
This is what Maven is doing when you declare a scope tag on a dependency, for example:
junit
junit
4.8.2
test
The scopes in Maven are fixed. In ivy you can have as many as you need.