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
精彩评论