This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
We are using wro4j maven plugin for minify our js and css. We have lots of java script and css and the wro processing at build time almost takes 20~30 minutes. Is there some smart way to tell the maven plugin to only process those groups which have changed.
in the wro.xml file under WEB-INF we have defined almost 55 wro xml files which have group definitions. When the maven plugin exectues it reads each wro.xml file and process those groups.
i have pasted below the pom snippet, processes each wro group and outputs to the webapp folder one is minified version and the other is normal.
Is there any scope for parallel processing or faster output.
Is there some smart way to tell the maven plugin to only process those groups which have changed.
This kind of intelligence must be built into the plugin. So you need to either contact the developers of the plugin to request such an enhancement, or if the plugin is open source you can always modify it to do that and supply the patch back to the community.
Also i wanted to know there are some features like parallelPreprocessing=true which does parallel processing at the preprocessor level.
Unfortunately our minification is done on the post processor level and i did not come across flags dealing with post processing or parallel group processing which would have helped in expediting build process.
let me know if you you guys have any experience with using parallel processing.