Skip to content

Commit

Permalink
build: add Jersey BOM
Browse files Browse the repository at this point in the history
  • Loading branch information
NiccoMlt committed Oct 18, 2024
1 parent 7b1e388 commit 83bb5dd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
21 changes: 11 additions & 10 deletions carapace-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
<artifactId>caffeine</artifactId>
<version>${libs.caffeine}</version>
<exclusions>
<!-- Excluding unnecessary annotations that are bundled in multiple versions by libraries -->
<exclusion>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
Expand All @@ -65,7 +66,6 @@
<groupId>org.antlr</groupId>
<artifactId>ST4</artifactId>
<version>${libs.antlr}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
Expand Down Expand Up @@ -102,10 +102,7 @@
<artifactId>herddb-jdbc</artifactId>
<version>${libs.herddb}</version>
<exclusions>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bc-fips</artifactId>
</exclusion>
<!-- Excluding unnecessary annotations that are bundled in multiple versions by libraries -->
<exclusion>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
Expand All @@ -114,6 +111,11 @@
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
</exclusion>
<!-- BouncyCastle FIPS clashes with other BouncyCastle modules -->
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bc-fips</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
Expand Down Expand Up @@ -150,27 +152,22 @@
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-server</artifactId>
<version>${libs.jersey}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.inject</groupId>
<artifactId>jersey-hk2</artifactId>
<version>${libs.jersey}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.containers</groupId>
<artifactId>jersey-container-servlet</artifactId>
<version>${libs.jersey}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.containers</groupId>
<artifactId>jersey-container-jetty-http</artifactId>
<version>${libs.jersey}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId>
<version>${libs.jersey}</version>
<scope>runtime</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -199,6 +196,7 @@
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<exclusions>
<!-- Excluding unnecessary annotations that are bundled in multiple versions by libraries -->
<exclusion>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
Expand Down Expand Up @@ -247,6 +245,7 @@
<version>${libs.junit}</version>
<scope>test</scope>
<exclusions>
<!-- Clashes with org.hamcrest:hamcrest -->
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
Expand All @@ -265,6 +264,7 @@
<version>${libs.wiremock}</version>
<scope>test</scope>
<exclusions>
<!-- Clashes with org.hamcrest:hamcrest -->
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
Expand All @@ -277,6 +277,7 @@
<version>${libs.powermock}</version>
<scope>test</scope>
<exclusions>
<!-- Clashes with org.hamcrest:hamcrest -->
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
Expand Down
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,13 @@
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey</groupId>
<artifactId>jersey-bom</artifactId>
<version>${libs.jersey}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
Expand Down

0 comments on commit 83bb5dd

Please sign in to comment.