Note that there are some explanatory texts on larger screens.

plurals
  1. POwro4j-maven-plugin slow performance
    primarykey
    data
    text
    <p>We are using wro4j maven plugin to process css. we have so much css and the wro processing at build time almost takes 10~20 minutes. </p> <p>If I use maven parallel option it is reduced to 8 mins.</p> <p>I still want to reduce its build time as effective as possible.</p> <p>Is there any better way to process only the files that have changed.</p> <p>My sample pom.xml file is</p> <pre><code> &lt;plugin&gt; &lt;groupId&gt;ro.isdc.wro4j&lt;/groupId&gt; &lt;artifactId&gt;wro4j-maven-plugin&lt;/artifactId&gt; &lt;version&gt;1.6.3&lt;/version&gt; &lt;executions&gt; &lt;execution&gt; &lt;id&gt;manage-assets&lt;/id&gt; &lt;phase&gt;prepare-package&lt;/phase&gt; &lt;goals&gt; &lt;goal&gt;run&lt;/goal&gt; &lt;/goals&gt; &lt;configuration&gt; &lt;targetGroups&gt;myapp${minifier.suffix},myapp.head${minifier.suffix},myapp.tail${minifier.suffix},myapp.compfurniture.head${minifier.suffix},myapp.compfurniture.tail${minifier.suffix},myapp.compfurniture${minifier.suffix},myapp.compfurniture.oldie${minifier.suffix},myapp.oldie${minifier.suffix},myapp.public${minifier.suffix}&lt;/targetGroups&gt; &lt;minimize&gt;true&lt;/minimize&gt; &lt;ignoreMissingResources&gt;false&lt;/ignoreMissingResources&gt; &lt;contextFolder&gt;${assets.folder.aggregate}&lt;/contextFolder&gt; &lt;destinationFolder&gt;${assets.folder.aggregate}&lt;/destinationFolder&gt; &lt;cssDestinationFolder&gt;${assets.folder.aggregate}/css&lt;/cssDestinationFolder&gt; &lt;jsDestinationFolder&gt;${assets.folder.aggregate}/js&lt;/jsDestinationFolder&gt; &lt;wroFile&gt;${project.build.directory}/wro4j/wro.xml&lt;/wroFile&gt; &lt;wroManagerFactory&gt;ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory&lt;/wroManagerFactory&gt; &lt;extraConfigFile&gt;${project.build.directory}/wro4j/wro.properties&lt;/extraConfigFile&gt; &lt;groupNameMappingFile&gt;${project.build.directory}/wro4j/wro-namingstrategy.properties&lt;/groupNameMappingFile&gt; &lt;/configuration&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; </code></pre> <p><strong>wro4j.properties</strong></p> <pre><code>preProcessors=cssImport,semicolonAppender postProcessors=lessCss,cssMinJawr,jsMin parallelPreprocessing=true </code></pre> <p>If some one has tried this let me know.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload