开发者

How do I configure maven to run certain ANT commands

I use the maven-antrun-plugin (which are bound to a certain phase) to run ANT tasks. How should I run a certain task manually (e.g. something like mvn start-jb开发者_JAVA百科oss) which is not bound to a maven lifecycle phase.


Try mvn antrun:run

http://maven.apache.org/plugins/maven-antrun-plugin/run-mojo.html

you can also set parameter in the for a non default task in the project's pom.xml

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜