Include dependency into jdk11+ profile
Signed-off-by: tvallin <thibault.vallin@oracle.com>
diff --git a/examples/json-jettison/pom.xml b/examples/json-jettison/pom.xml
index d42f54d..6a00ab7 100644
--- a/examples/json-jettison/pom.xml
+++ b/examples/json-jettison/pom.xml
@@ -47,15 +47,7 @@
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>com.sun.xml.bind</groupId>
- <artifactId>jaxb-impl</artifactId>
- </dependency>
- <dependency>
- <groupId>com.sun.istack</groupId>
- <artifactId>istack-commons-runtime</artifactId>
- </dependency>
</dependencies>
<build>
@@ -82,6 +74,16 @@
<artifactId>jaxb-osgi</artifactId>
<scope>test</scope>
</dependency>
+
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>com.sun.istack</groupId>
+ <artifactId>istack-commons-runtime</artifactId>
+ </dependency>
</dependencies>
</profile>
<profile>