I'm using Ivy to manage my dependencies, with some problems on provided jars
This is my ivy.xml file
<configurations>
<conf name="local" visibility="private" />
<conf name="compile" description="used for building" />
<conf name="test" extends="compile" description="used for testing" />
<conf name="runtime" description="used for running" />
<conf name="master" description="used for publishing" />
<conf name="default" extends="master, runtime" />
</configurations>
<dependencies>
<dependency org="xalan" name="xalan" rev="2.7.1"/>
<dependency org="org.w3c.css" name="sac" rev="1.3"/>
<dependency org="com.lowagie" name="itext" rev="2.0.8">
<exclude org="bouncycastle"/>
</dependency>
<!--Provided-->
<dependency org="javax.ejb" name="ejb-api" rev="3.0" conf="compile"/>
<dependency org="javax.jms" name="jms-api" rev="1.1-rev-1" conf="compile"/>
</dependencies>
Ejb and jms are provided by the container
Affer execute I obtain
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| compile | 8 | 0 | 0 | 0 || 6 | 0 |
| default | 6 | 0 | 0 | 0 || 6 | 0 |
---------------------------------------------------------------------
So Ivy is getting fine the dependencies but when I execute this
<ivy:cachepath pathid="normal.classpath" />
<pathconvert property="expanded.normal.classpath" refid="normal.classpath"/>
<echo message="${expanded.normal.classpath}" file="normal.classpath.txt"/>
<ivy:cachepath conf="compile" pathid="compile.classpath" />
<pathconvert property="expanded.compile.classpath" refid="compile.classpath"/>
<echo message="${expanded.compile.classpath}" file="compile.classpath.txt"/>
Both classpath are the same. Anyone knows why?