ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Campourcy <romain.campou...@gmail.com>
Subject Re: [Maven]Resolve maven dependencies
Date Thu, 29 Jul 2010 14:15:02 GMT
Nicolas Lalevée <nicolas.lalevee@...> writes:

> 
> On Wednesday 21 July 2010 09:23:55 Romain CAMPOURCY wrote:
> > Hi everyone.
> > I'm evaluating ivy as a dependency manager, actually i'm using maven.
> > I test simple case in Ivy : I use Ivy + ant. I can "connect"  to my
> > local maven repository.
> > But is it possible to resolve, with Ivy, dependencies from my pom.xml
> > (in ivy.xml)?
> > Because currently all my dependencies are managed with maven in a
> > pom.xml.  it would allow me to change gradually from maven to Ivy.
> 
> yep, instead of specifying an ivy.xml, just point to your pom.xml:
> 
> <ivy:resolve file="path/to/pom.xml"/>
> 
> Nicolas
> 
> 


Thx ! I alsol found this ant taks :
<target name="ivy-convert" depends="ivy-init">
	<ivy:convertpom pomFile="pom.xml" ivyFile="ivy.xml" />
</target>
It generates an ivy.xml from a pom.xml


Mime
View raw message