Skip to content

Commit

Permalink
Pom fixes (#4013)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
romain-grecourt authored and senivam committed Dec 21, 2018
1 parent 49bd93a commit 180f1be
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions bom/pom.xml
Expand Up @@ -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>

Expand Down
2 changes: 1 addition & 1 deletion containers/glassfish/jersey-gf-ejb/pom.xml
Expand Up @@ -75,7 +75,7 @@
<dependency>
<groupId>org.glassfish.hk2</groupId>
<artifactId>hk2-config</artifactId>
<scope>provided</scope>
<optional>true</optional>
</dependency>
</dependencies>

Expand Down
1 change: 1 addition & 0 deletions media/jaxb/pom.xml
Expand Up @@ -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>
Expand Down

0 comments on commit 180f1be

Please sign in to comment.