ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brown, Carlton" <>
Subject RE: newbie: why does log4j pull down all sorts of files?
Date Wed, 04 Feb 2009 00:34:24 GMT
In your dependency on log4j, do transitive="false" or

I never ever use transitive dependency on 3rd-party dependencies for
exactly this reason.  The dependency graph is arbitrarily long, it pulls
in stuff that I know I'll never need, or the repository can't host the
binaries for licensing reasons.

That being said, I have found these repositories are good to have in
your public chain, they have many Sun jars that m2 central doesn't:

-----Original Message-----
From: eqe99 [] 
Sent: Tuesday, February 03, 2009 6:53 PM
Subject: newbie: why does log4j pull down all sorts of files?

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"/>
    	<conf name="default"  description="war file"/>
    	<artifact name="cws-war" type="war"  conf="default"  />
		<dependency org="log4j" name="log4j" rev="1.2.15"
conf="default"  >
			<exclude conf="jmx,mail,jms"/>			
        <dependency org="junit" name="junit" rev="4.5" conf="default" />


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            ||
        |       conf       | number| search|dwnlded|evicted||
        |      default     |   7   |   0   |   0   |   0   ||   7   |
[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]          [NOT FOUND  ] com.sun.jmx#jmxri;1.2.1!jmxri.jar
[ivy:retrieve]  ==== exist: tried
[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:
Sent from the ivy-user mailing list archive at

This message contains PRIVILEGED and CONFIDENTIAL
information that is intended only for use by the 
named recipient. If you are not the named recipient,
any disclosure, dissemination, or action based on 
the contents of this message is prohibited. In such
case please notify us and destroy and delete all 
copies of this transmission.  Thank you.

View raw message