Yep, I did see that. There is an "install" task, but if I read the documentation correctly, I need to create the pom by hand. "mvn install:install-file ..." would take care of that automagically ...
Ok, it's not that hard to script the creation of a pom, but as maven seems to know how to do it, I'd like to reuse the functionality. Did I miss anything ? (Answer: yes I did, but would you be so kind as to point me in the right direction ?) Thanks a lot ! On 29/10/2007, Wayne Fay <[EMAIL PROTECTED]> wrote: > Right on the Maven homepage is: "Maven Tasks for Ant 2.0.7 (binaries, > documentation, release notes)". That should do it. > > Wayne > > On 10/29/07, Guillaume Lederrey <[EMAIL PROTECTED]> wrote: > > On 26/10/2007, Wayne Fay <[EMAIL PROTECTED]> wrote: > > > Instead I would > > > build a little shell script that would analyze your pom, go out to > > > your proprietary repo and download the necessary files and then use > > > "mvn install:install-file -DgeneratePom=true -DcreateChecksum=true > > > ..." to install each one into your local Maven repo cache. > > > > Is it possible to call "mvn install:install-file ..." from ant ? > > > > This is a pretty dumb question, but do you know if I can easily call > > maven from ant ? I will have to write a script that is portable > > between development workstations (Windows) and integration / > > production servers (Solaris). And it has to be in a language familiar > > to the team. Ant seems a good choice, but I am far from an expert. > > > > Google finds plenty of ways to call ant from maven, but the reverse > > isnt as popular ... > > > > Again, thanks for the great help ! > > > > -- > > Jabber : [EMAIL PROTECTED] > > Skype : Guillaume.Lederrey > > Projects : > > * http://rwanda.wordpress.com/ > > * http://rwandatech.wordpress.com/ > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jabber : [EMAIL PROTECTED] Skype : Guillaume.Lederrey Projects : * http://rwanda.wordpress.com/ * http://rwandatech.wordpress.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
