I repeat, use Maven Ant tasks or Aether Ant tasks. /Anders
On Wed, Nov 2, 2011 at 20:14, Daivish Shah <[email protected]> wrote: > 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]
