See the maven-antrun-plugin docs.

> -----Original Message-----
> From: cristal [mailto:[EMAIL PROTECTED] 
> Sent: Friday, June 16, 2006 12:35 PM
> To: [email protected]
> Subject: calling ant build.xml directly
> 
> 
> Hi guys, this might be a stupid question, but...
> 
> Can I simply call an existing ANT's build.xml file explicitly 
> from Maven2
> POM without wrinting any mojo plugin?
> 
> Probably like this:
> 
> <execute>/path/build.xml</execute>
> 
> I just try to confirm my conclusion that the only way to make 
> use of ant
> targets in an existing build.xml file is either to write 
> ANT-based plugin or
> to include the ant target inside <plugin> element.
> 
> Please give your input. Thanks.
> 
> --
> View this message in context: 
> http://www.nabble.com/calling-ant-build.xml-directly-t1799692.
> html#a4904800
> Sent from the Maven - Users forum at Nabble.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]

Reply via email to