I’ve checked out jquery + jquery-ui from GitHub into my src/main/webapp/resources/js folder.
Now I would like to do the minifying stuff by pom.xml
(jquery uses a Makefile – jquery-ui uses an Ant buildfile)
Is it possible to do this?
I just thought about a Groovy Script inside pom.xml
Is it the clean/popular way to do this?
And can anyone give an example,
because I’m totally new to Groovy.
For running Ant targets consider to use maven-antrun-plugin. For invoking
makecommands I suggest to look to exec-maven-plugin