Use module-wide exclude syntax to exclude junit library from our non-testing configurations.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@582407 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Maarten Coene 2007-10-05 21:52:09 +00:00
parent b22245181c
commit d458448f7d
1 changed files with 4 additions and 6 deletions

10
ivy.xml
View File

@ -37,19 +37,17 @@
</publications>
<dependencies>
<dependency org="ant" name="ant" rev="1.6" conf="default"/>
<dependency org="commons-httpclient" name="commons-httpclient" rev="3.0" conf="default,httpclient->runtime,master">
<exclude org="junit" name="junit"/>
</dependency>
<dependency org="commons-cli" name="commons-cli" rev="1.0" conf="default,standalone->runtime,master">
<exclude org="junit" name="junit"/>
</dependency>
<dependency org="commons-httpclient" name="commons-httpclient" rev="3.0" conf="default,httpclient->runtime,master" />
<dependency org="commons-cli" name="commons-cli" rev="1.0" conf="default,standalone->runtime,master" />
<dependency org="oro" name="oro" rev="2.0.8" conf="default,oro->default"/>
<dependency org="commons-vfs" name="commons-vfs" rev="1.0" conf="default,vfs->default" />
<dependency org="jsch" name="jsch" rev="0.1.25" conf="default,sftp->default" />
<!-- Test dependencies -->
<dependency org="ant" name="ant-launcher" rev="1.6" conf="test->default"/>
<dependency org="ant" name="ant-junit" rev="1.6" conf="test->default"/>
<dependency org="junit" name="junit" rev="3.8.2" conf="test->default" />
<dependency org="commons-lang" name="commons-lang" rev="[1.0,3.0[" conf="test->default" />
<exclude org="junit" module="junit" conf="core,default" />
</dependencies>
</ivy-module>