Can Ivy resolve and retrieve multiple versions of the same artifact?

2014-01-13 Thread KARR, DAVID
In our big Ant build, another team provides a jar which is associated with a 
version of a WSDL.  The classes in the jar are all JAXB pojos.  The package of 
all the classes in the jar has the release number as one of the path elements.  
We even use multiple different copies of this jar file in a single build.  
These don't conflict because the package paths are independent.

I've never tried to do this with Maven, but can Ivy have multiple dependencies 
for the same artifact, but with different version numbers, so it will resolve 
and retrieve all of them?


Re: Can Ivy resolve and retrieve multiple versions of the same artifact?

2014-01-13 Thread Marc De Boeck
You could use the conflict-manager all for this purpose.
We are using ivy.branches however to retrieve different versions (releases)
of the same module.

Marc


2014/1/13 KARR, DAVID dk0...@att.com

 In our big Ant build, another team provides a jar which is associated with
 a version of a WSDL.  The classes in the jar are all JAXB pojos.  The
 package of all the classes in the jar has the release number as one of the
 path elements.  We even use multiple different copies of this jar file in a
 single build.  These don't conflict because the package paths are
 independent.

 I've never tried to do this with Maven, but can Ivy have multiple
 dependencies for the same artifact, but with different version numbers, so
 it will resolve and retrieve all of them?