开发者

How do I configure maven to run certain ANT commands

开发者 https://www.devze.com 2023-03-06 16:01 出处:网络
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

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

精彩评论

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