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:
parent
58bfd6bf3b
commit
6bb00cea6f
@ -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
15
pom.xml
@ -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 -->
|
||||
|
Loading…
Reference in New Issue
Block a user