ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitri Pissarenko" <dmitri.pissare...@gmail.com>
Subject Problem with transitive dependencies
Date Sun, 18 Jan 2009 11:19:00 GMT
Hello!

I want to install module swixml-1.5.144 from repository at

http://repo1.maven.org/maven2/org/swixml/swixml/1.5.144/

to my local repository (including all required modules).

This module depends on modules ant, jdom, java2html, junit, which are
mentioned in POM at

http://repo1.maven.org/maven2/org/swixml/swixml/1.5.144/swixml-1.5.144.pom

* * *

I'm trying to attain the goal with following ivy call:

<target name="install-swixml">
<ivy-install
from="maven2-repo"
to="local-repository"
organisation="org/swixml"
module="swixml"
revision="1.5.144"
transitive="true"
overwrite="true"/>
</target>

Ivy is configured like this:


<ivysettings>
<settings defaultResolver="local-repository"/>
<resolvers>
<filesystem name="local-repository">
<ivy pattern="${dest.repo.dir}/[organisation]/[module]/ivys/ivy-[revision].xml"/>
<artifact pattern="${dest.repo.dir}/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]"/>
</filesystem>
<ibiblio name="maven2" m2compatible="true" usepoms="true"
useMavenMetadata="true"/>
<url name="maven2-repo" m2compatible="true">
<artifact pattern="http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
/>
<artifact pattern="http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact].[ext]"
/>
</url>
</resolvers>
</ivysettings>

This doesn't work - ivy installs only swixml module, but NOT its dependencies.

What can I do in order to install not only swixml, but also modules it
depends upon (ant, jdom, java2html, junit) and THEIR dependencies (if
any) ?

Thanks in advance

Dmitri Pissarenko

Mime
View raw message