Execute an ant task, but in any phase... just the task

2010-02-19 Thread Teimatini Marín
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
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-antrun-plugin/artifactId
version1.3/version
executions
execution
idftp/id
configuration
tasks
echo message=ANT /
ant antfile=build.xml 
target=deploy /
/tasks
/configuration
goals
goalrun/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



Re: Execute an ant task, but in any phase... just the task

2010-02-19 Thread Teimatini Marín
If I execute the ant task from maven I don't need to download, install
and configure Ant manually... Maven do it for me. That's the only
reason.

I would be great if could do something similar to this:
mvn antrun:run -Dtarget=mytarget

Thanks

2010/2/19 Wayne Fay wayne...@gmail.com:
 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...

 Why bother using Maven in that case? Just call ant directly from the
 command line...

 Wayne

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



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