This week's book giveaways are in the iOS and Features new in Java 8 forums. We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line! See this thread and this one 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.