Fix failures in testsuite-osgi-deps

- Make only netty-common depend on javassist at compile scope, and
  all others at test scope
This commit is contained in:
Trustin Lee 2013-04-19 05:57:53 +09:00
parent 58bfd6bf3b
commit 6bb00cea6f
2 changed files with 19 additions and 4 deletions

View File

@ -30,6 +30,14 @@
<name>Netty/Common</name>
<dependencies>
<!-- Byte code generator - completely optional -->
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<scope>compile</scope> <!-- override the 'test' scope defined at parent pom.xml -->
<optional>true</optional>
</dependency>
<!-- Logging frameworks - completely optional -->
<dependency>
<groupId>org.slf4j</groupId>

15
pom.xml
View File

@ -106,6 +106,15 @@
<dependencyManagement>
<dependencies>
<!-- Byte code generator - completely optional -->
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.17.1-GA</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<!-- JBoss Marshalling - completely optional -->
<dependency>
<groupId>org.jboss.marshalling</groupId>
@ -211,13 +220,11 @@
</dependencyManagement>
<dependencies>
<!-- Byte code generator - completely optional -->
<!-- Enable Javassist support for all test runs -->
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.17.1-GA</version>
<scope>compile</scope>
<optional>true</optional>
<scope>test</scope>
</dependency>
<!-- Testing frameworks and related dependencies -->