开发者

How do I write a file with Maven?

Basically, I开发者_JS百科 am looking for the maven equivalent of Ant's <echo> task.


Use the maven-antrun-plugin ?


Maven plugins can be used for this. Under the hood a maven plugin basically uses jelly to execute ant tasks. Anything done in ant can be done in maven. Check out this plugin for running ant tasks: http://maven.apache.org/plugins/maven-antrun-plugin/examples/classpaths.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜