Pom fixes (#4013)
* add provided scope back on jaxb-api
* make the jersey-bom NOT inherit the jersey parent pom, it adds non desired dependency management
* make hk2-config optional to cut it from the exposed dependencies
* add version in bom/pom.xml explicitly to not use the one from the parent
Signed-off-by: Romain Grecourt <romain.grecourt@oracle.com>
diff --git a/bom/pom.xml b/bom/pom.xml
index e6e5024..903dc69 100644
--- a/bom/pom.xml
+++ b/bom/pom.xml
@@ -22,13 +22,15 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.glassfish.jersey</groupId>
+ <groupId>org.eclipse.ee4j</groupId>
<artifactId>project</artifactId>
- <version>2.28-SNAPSHOT</version>
+ <version>1.0.5</version>
+ <relativePath/>
</parent>
<groupId>org.glassfish.jersey</groupId>
<artifactId>jersey-bom</artifactId>
+ <version>2.28-SNAPSHOT</version>
<packaging>pom</packaging>
<name>jersey-bom</name>
diff --git a/containers/glassfish/jersey-gf-ejb/pom.xml b/containers/glassfish/jersey-gf-ejb/pom.xml
index 10448a4..596463c 100644
--- a/containers/glassfish/jersey-gf-ejb/pom.xml
+++ b/containers/glassfish/jersey-gf-ejb/pom.xml
@@ -75,7 +75,7 @@
<dependency>
<groupId>org.glassfish.hk2</groupId>
<artifactId>hk2-config</artifactId>
- <scope>provided</scope>
+ <optional>true</optional>
</dependency>
</dependencies>
diff --git a/media/jaxb/pom.xml b/media/jaxb/pom.xml
index 948128b..5261e7c 100644
--- a/media/jaxb/pom.xml
+++ b/media/jaxb/pom.xml
@@ -123,6 +123,7 @@
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.glassfish.hk2.external</groupId>