Re: Calling ant tasks from maven pom

2008-06-06 Thread Tim Kettler
Niranjan Deshpande schrieb: Tim i indeed wht u suggested tasks ant antfile/ /tasks but the build xmls just dont seem to to reached.. It's working for me with this test project: . |-- pom.xml `-- src `-- main |-- antscripts | |-- antscript1.xml

Re: Calling ant tasks from maven pom

2008-06-06 Thread Niranjan Deshpande
Tim thanks I am finally able to reach the ant build file. I have moved the configuration back into the exections as said by you, as I want the pluging to run when my code is compiled, and dont want to run it stand alone. but the problem is the plugin does not run when i say mvn install or mvn

Calling ant tasks from maven pom

2008-06-05 Thread Niranjan Deshpande
I am trying to execute ant tasks from maven's pom as below. plugin artifactIdmaven-antrun-plugin/artifactId version1.1/version executions execution phasegenerate-sources/phase configuration tasks exec executable=AppWeb/src/main/scripts/generate.sh failonerror=true /exec /tasks

Re: Calling ant tasks from maven pom

2008-06-05 Thread Tim Kettler
Hi, (again :-) ) Niranjan Deshpande schrieb: I am trying to execute ant tasks from maven's pom as below. plugin artifactIdmaven-antrun-plugin/artifactId version1.1/version executions execution phasegenerate-sources/phase configuration tasks exec

Re: Calling ant tasks from maven pom

2008-06-05 Thread Niranjan Deshpande
Tim i indeed wht u suggested tasks ant antfile/ /tasks but the build xmls just dont seem to to reached.. On Thu, Jun 5, 2008 at 6:53 PM, Tim Kettler [EMAIL PROTECTED] wrote: Hi, (again :-) ) Niranjan Deshpande schrieb: I am trying to execute ant tasks from maven's pom as below.