开发者

Is there any maven phase to run the jar

In Ant, I can have a target named run to execute the jar with specified开发者_运维技巧 the classpath. I am wondering if maven has the similar phase?


There is no Maven standard phase to run code. This page lists the standard Maven lifecycle phases.

If you want to go down the road of doing this yourself, this section of the Maven book talks about adding custom phases.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜