开发者

Running the same plugin multiple times in Maven

I'm us开发者_运维技巧ing maven-minify-plugin. It can produce only one output file. I need to produce two minified js files. One from one set of files, the other from another set of files.

Can I somehow trick Maven into running two different configurations for the same plugin?

Thanks for help, Yuri.


Turned out to be pretty easy. Use different executions, like explained here: http://maven.apache.org/guides/mini/guide-configuring-plugins.html#Using_the_executions_Tag

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜