You shouldn't run 'antrun:run' directly, because it has no clue what to do! 
Even with a part specified inside your POM.
Your POM looks okay, try running 'mvn compile' to see if Ant is being run.

Roland



On Monday 29 May 2006 18:12, Chandrika wrote:
> hi steve,
> Thanks for ur reply...it works!
> My settings.xml is located under maven_home/conf and also i had created one
> under localrepo_home...I tried changing in both...
>
> I have one more query in invoking ant from maven!
>  In my pom.xml i had given
>
> <build>
>     <plugins>
>       <plugin>
>         <artifactId>maven-antrun-plugin</artifactId>
>         <executions>
>           <execution>
>            <phase>compile</phase>
>             <configuration>
>                  <tasks>
>                           <ant inheritall="false" antfile="build.xml" 
> target="all"
>
> ></ant>
>
>                         </tasks>
>              </configuration>
>             <goals>
>               <goal>run</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
>     </plugins>
> </build>
>
> My build.xml is under Project_root/Build/build.xml....when i run "mvn
> antrun:run" from Build, it shows build is successful without executing any
> of the ant-scripts...
> i m struggling to invoke ant from maven ...u have any working sample of
> invoking ant through maven?
>
> Thanks,
> Chandrika
> --
> View this message in context:
> http://www.nabble.com/Unable+to+locate+local+repository+in+Mac-OSX-t1698478
>.html#a4613553 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