ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirby Files <>
Subject Re: How to config resolvers to find jms/jdmk/jmxtools
Date Tue, 28 Apr 2009 18:19:56 GMT
linjie nie wrote on 04/28/2009 01:50 PM:
> Where to find these jars?
> It seems they are common dependons, why not they are in ibib.. :-(
> download failed: javax.jms#jms;1.1!jms.jar, download failed:
> com.sun.jdmk#jmxtools;1.2.1!jmxtools.jar, download failed:
> com.sun.jmx#jmxri;1.2.1!jmxri.jar

They are not in the Maven repo because Sun's licensing doesn't permit 
their redistribution. The Ivy packager resolver and the Ivy Roundup 
repository get around this by downloading the jars and building the 
packaging metadata separately. See:

You can use the ivy:install task to install modules from Ivy Roundup 
into your enterprise repository, like so:

   <target name="installjar"
           description="--> install jar to masrep">
     <ivy:install organisation="${org}" module="${module}" 
revision="${rev}" from="${ivyroundup.resolver}" to="${to.resolver}" />

See also the tut on building a repo:

However, the package naming (particularly organization) conventions 
are different (read: more consistent) in Roundup than in the ibiblio 
Maven repo, so if you want to mix dependencies from the two, you'll 
have to resort to some namespace mappings. See:

Kirby Files
Software Architect
Masergy Communications

View raw message