Run external tasks using maven

scmuser created the topic: Run external tasks using maven
Hi,
Is it possible to run ant tasks which is not connected with any build
lifecycle phase?
In other word I would like to perform some action on demand using maven and
antrun plugin

tpatil replied the topic: Re:Run external tasks using maven
Targets from external ant file can be run using maven-antrun-plugin.

maven-antrun-plugin

test






run


Also, you can execute the external command using maven-exec-plugin.

org.codehaus.mojo
exec-maven-plugin
1.1

compile
exec




svn

info
--xml

target/classes/svninfo.txt

Rajesh Kumar
Follow me
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x