Hi there, The best place to look about getting started with ivy is in the docs:
http://ant.apache.org/ivy/history/2.2.0/tutorial/start.html This does the dependency resolution within ant without having to engage maven. Arguably if that's what you want you should head over to the ivy mailing lists. http://ant.apache.org/ivy/mailing-lists.html Here you are going to get a Maven solution which is the direction Anders has you going in (rightly so on the Maven mailing list). Like I said, I've only ever used it for glue while rolling towards proper Maven build infrastructure. -Jim -----Original Message----- From: Daivish Shah [mailto:[email protected]] Sent: Wednesday, November 02, 2011 2:14 PM To: Maven Users List Subject: Re: How to use MAVEN Generated Artifacts in ANT Build.xml file ? Hi, My question was how to use MAVEN generated artifacts in BUILD.XML file. I think do i need to use something like this ? and How comes IVY is useful here to use maven generated artifacts in ANT. <target name="maven.get" unless="maven.exists.locally"> <mkdir dir="${maven.ant.repo.dir}"/> <get src="http://repo1.maven.org/maven2/${maven.dir}/${maven.jar}" dest="${maven.ant.repo.dir}/${maven.jar}" usetimestamp="true"/> </target> Thanks, daivish. On Wed, Nov 2, 2011 at 12:00 PM, Anders Hammar <[email protected]> wrote: > You can also use Maven Ant Tasks or the Aether Ant Tasks. > > /Anders > > On Wed, Nov 2, 2011 at 19:51, Jim McCaskey <[email protected]> > wrote: > > Hi there, > > > > You'll probably want to take a look at ivy. > > > > http://ant.apache.org/ivy/ > > > > I've used it in a couple of places to "bridge the gap" on the way to > Maven. > > > > -Jim > > > > -----Original Message----- > > From: Daivish Shah [mailto:[email protected]] > > Sent: Wednesday, November 02, 2011 11:47 AM > > To: Maven Users List > > Subject: How to use MAVEN Generated Artifacts in ANT Build.xml file ? > > > > Hi, > > > > We are trying to convert some of the projects from ANT to MAVEN. Now I > have > > a question about the projects who are not converted in MAVEN. > > > > I mean some of projects are still using ANT to generate artifacts and how > > to use MAVEN http repository dependencies in build.xml file ? Can you > give > > me a good example how to do this ? And i assume it's possible to do it. > > > > Thanks, > > daivish. > > > > > > --------------------------------------------------------------------- > > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
