All,

I think I got it. I shouldnt put "target" line in the pom.xml. It works
without it.

Thank you.

A.


On 4/30/07, Jared Blitzstein <[EMAIL PROTECTED]> wrote:

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