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:
http://code.google.com/p/ivyroundup/
You can use the ivy:install task to install modules from Ivy Roundup
into your enterprise repository, like so:
<target name="installjar"
depends="init-ivy"
description="--> install jar to masrep">
<ivy:install organisation="${org}" module="${module}"
revision="${rev}" from="${ivyroundup.resolver}" to="${to.resolver}" />
</target>
See also the tut on building a repo:
http://ant.apache.org/ivy/history/2.1.0-rc1/tutorial/build-repository.html
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:
http://ant.apache.org/ivy/history/2.1.0-rc1/settings/namespaces.html
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
[email protected]