Are you running the deploy goal or something else that executes that phase? Also I'm not sure if you're supposed to define a target.

On Apr 30, 2007, at 8:48 PM, Baz wrote:

All,

I read the page in
http://maven.apache.org/plugins/maven-antrun-plugin/usage.html but i still
cannot make a simple ant task work in maven 2. Please help.

Here is my code:

 <plugin>
   <artifactId>maven-antrun-plugin</artifactId>
     <executions>
       <execution>
       <phase>deploy</phase>
         <configuration>
           <tasks>
             <target name="aaa">
               <echo message="Testing"/>
             </target>
           </tasks>
         </configuration>
         <goals>
           <goal>run</goal>
         </goals>
       </execution>
     </executions>
 </plugin>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to