Reputation: 17214
I'm using 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.
Upvotes: 34
Views: 17950
Reputation: 17214
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
Upvotes: 37