ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Scokart" <gscok...@gmail.com>
Subject RE: something like mvn install plugin?
Date Mon, 16 Apr 2007 14:10:08 GMT
I think there is an option to install a module with hall its dependencies.
If you configure correctly your resolver to use your ivy.xml, it might maybe
work.

Gilles 


> -----Original Message-----
> From: jeff [mailto:jeffrey.blattman@yahoo.com]
> Sent: lundi 16 avril 2007 16:02
> To: ivy-user@incubator.apache.org
> Subject: RE: something like mvn install plugin?
> 
> hi gilles,
> 
> yes, eventually i found a way to do what i wanted w/ ivy:install. the only
> thing i didn't like about this solution is that i had to call out the
> dependencies in the build file, instead of an ivy.xml file.
> 
> Gilles Scokart <gscokart@gmail.com> wrote: Did you tried the ivy:install
> task?
> 
> Gilles
> 
> ________________________________________
> From: jeff [mailto:jeffrey.blattman@yahoo.com]
> Sent: mercredi 11 avril 2007 20:31
> To: ivy-user@incubator.apache.org
> Subject: something like mvn install plugin?
> 
> we have a large ant-based project that is presently just referencing a
> shared directory for it's dependencies. we'd like use ivy to better manage
> those dependencies.
> 
> some of our dependencies are already in standard repos, but some of them
> aren't. we just have a JAR file that we did not build and cannot build. so
> i
> was looking for something like "mvn install:install-file ..." to "publish"
> the JAR into the ivy local cache. eventually these dependencies will be in
> a
> well-defined maven repo, but that is a lot of overhead just to do a proof
> of
> concept w/ ivy ...
> 
> i've tried quite a few variations on this and i can't seem to find
> anything
> in ivy that will let me do this easily. i've attached two files,
> publish.xml
> and dsame-ivy.xml that are supposed to be doing the task. when i run it, i
> get:
> 
> publish:
> [ivy:configure] Loading
> jar:file:/home/jtb/.ivy/jars/ivy.jar!/fr/jayasoft/ivy/ivy.properties
> [ivy:configure] :: Ivy 1.4.1 - 20061109165313 :: http://ivy.jayasoft.org/
> ::
> [ivy:configure] :: configuring :: file =
> /home/jtb/src/ps.trunk/buildutil/dsame-ivy.xml
> [ivy:publish] :: publishing :: [ com.sun.dsame | sdk ]
> 
> BUILD FAILED
> /home/jtb/src/ps.trunk/buildutil/publish.xml:16: impossible to publish
> artifacts for [ com.sun.dsame | sdk | 7.0 ]:
> java.lang.IllegalArgumentException: unknown resolver local
> 
> any ideas?
> 
> ________________________________________
> Looking for earth-friendly autos?
> Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
> 
> 
> 
> 
> ---------------------------------
> Ahhh...imagining that irresistible "new car" smell?
>  Check outnew cars at Yahoo! Autos.


Mime
View raw message