How can I execute the following ant task? I don't want to attach it to
any phase... I only want to execute it from maven whenever I want...

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-antrun-plugin</artifactId>
        <version>1.3</version>
                <executions>
                        <execution>
                                <id>ftp</id>
                                <configuration>
                                        <tasks>
                                                <echo message="ANT" />
                                                <ant antfile="build.xml" 
target="deploy" />
                                        </tasks>
                                </configuration>
                                <goals>
                                        <goal>run</goal>
                                </goals>
                        </execution>
                </executions>
                <dependencies>...</dependencies>
        </plugin>
</plugins>


THANKS in advance.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to