ive got a toy project and i added log4j which proceeded to break by trying to
pull down some Sun jars. now putting aside the question of why the sun jars
arent available (licensing?), i have tried to exclude the other confs
explicitly in the ivy.xml to no avail. can someone tell me what my total
newbie error here is?
thx much
=========================================================================
sample file:
<ivy-module version="1.0">
<info organisation="com.wms" module="g2s-ws-demo"/>
<configurations>
<conf name="default" description="war file"/>
</configurations>
<publications>
<artifact name="cws-war" type="war" conf="default" />
</publications>
<dependencies>
<dependency org="log4j" name="log4j" rev="1.2.15"
conf="default" >
<exclude conf="jmx,mail,jms"/>
</dependency>
<dependency org="junit" name="junit" rev="4.5" conf="default" />
</dependencies>
</ivy-module>
=========================================================================
error message:
[ivy:retrieve] confs: [default]
[ivy:retrieve] found log4j#log4j;1.2.15 in exist
[ivy:retrieve] found javax.mail#mail;1.4 in jboss
[ivy:retrieve] found javax.activation#activation;1.1 in jboss
[ivy:retrieve] found javax.jms#jms;1.1 in jboss
[ivy:retrieve] found com.sun.jdmk#jmxtools;1.2.1 in exist
[ivy:retrieve] found com.sun.jmx#jmxri;1.2.1 in exist
[ivy:retrieve] found junit#junit;4.5 in exist
[ivy:retrieve] :: resolution report :: resolve 4469ms :: artifacts dl 187ms
---------------------------------------------------------------------
| | modules || artifacts
|
| conf | number| search|dwnlded|evicted||
number|dwnlded|
---------------------------------------------------------------------
| default | 7 | 0 | 0 | 0 || 7 | 0
|
---------------------------------------------------------------------
[ivy:retrieve]
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve] [NOT FOUND ]
com.sun.jdmk#jmxtools;1.2.1!jmxtools.jar (125ms)
[ivy:retrieve] ==== exist: tried
[ivy:retrieve]
http://repo.exist.com/maven2/com/sun/jdmk/jmxtools/1.2.1/jmxtools-1.2.1.jar
[ivy:retrieve] [NOT FOUND ] com.sun.jmx#jmxri;1.2.1!jmxri.jar
(62ms)
[ivy:retrieve] ==== exist: tried
[ivy:retrieve]
http://repo.exist.com/maven2/com/sun/jmx/jmxri/1.2.1/jmxri-1.2.1.jar
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: FAILED DOWNLOADS ::
[ivy:retrieve] :: ^ see resolution messages for details ^ ::
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: com.sun.jdmk#jmxtools;1.2.1!jmxtools.jar
[ivy:retrieve] :: com.sun.jmx#jmxri;1.2.1!jmxri.jar
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
--
View this message in context:
http://www.nabble.com/newbie%3A-why-does-log4j-pull-down-all-sorts-of-files--tp21821665p21821665.html
Sent from the ivy-user mailing list archive at Nabble.com.