The following dependencies come by default with the wro4j dependency:
* mockito-all : this is only needed for testing
* spring: the dependency on springframework:spring is a bit too aggressive,
especially if the app is not even using the optional spring filter :-). Is
there a way this gets down-scaled to the specific spring artifact?
Workaround:
===========
<dependency>
<groupId>ro.isdc.wro4j</groupId>
<artifactId>wro4j-core</artifactId>
<version>1.3.1</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<artifactId>mockito-all</artifactId>
<groupId>org.mockito</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.closure</groupId>
<artifactId>compiler</artifactId>
<version>r561</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>ro.isdc.wro4j</groupId>
<artifactId>wro4j-extensions</artifactId>
<version>1.3.1</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
</exclusion>
<exclusion>
<artifactId>mockito-all</artifactId>
<groupId>org.mockito</groupId>
</exclusion>
</exclusions>
</dependency>
Original issue reported on code.google.com by abde.sa...@gmail.com on 23 Nov 2010 at 6:23
Original issue reported on code.google.com by
abde.sa...@gmail.com
on 23 Nov 2010 at 6:23