<plugin>
<groupId>ro.isdc.wro4j</groupId>
<artifactId>wro4j-maven-plugin</artifactId>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<configuration>
<targetGroups>all</targetGroups>
<minimize>true</minimize>
<uglifyJs>true</uglifyJs>
<destinationFolder>${project.basedir}/WebContent/wro/</destinationFolder>
<cssDestinationFolder>${project.basedir}/WebContent/wro/static/css/</cssDestinationFolder>
<jsDestinationFolder>${project.basedir}/WebContent/wro/static/js/</jsDestinationFolder>
<contextFolder>${basedir}/WebContent/WEB-INF/templates/slim/client</contextFolder>
<wroFile>${project.basedir}/WebContent/WEB-INF/wro.xml</wroFile>
<!-- <wroManagerFactory>com.mycompany.MyCustomWroManagerFactory</wroManagerFactory>-->
<ignoreMissingResources>false</ignoreMissingResources>
</configuration>
</plugin>