Skip to content

Commit 7b9c5a3

Browse files
vpavicsnicoll
authored andcommitted
Use Jersey BOM in dependency management
Closes gh-12847
1 parent ec4f054 commit 7b9c5a3

File tree

3 files changed

+12
-58
lines changed
  • spring-boot-project
    • spring-boot-autoconfigure
    • spring-boot-dependencies
    • spring-boot-starters/spring-boot-starter-jersey

3 files changed

+12
-58
lines changed

spring-boot-project/spring-boot-autoconfigure/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@
156156
<artifactId>jersey-spring4</artifactId>
157157
<optional>true</optional>
158158
<exclusions>
159+
<exclusion>
160+
<groupId>org.glassfish.hk2.external</groupId>
161+
<artifactId>bean-validator</artifactId>
162+
</exclusion>
159163
<exclusion>
160164
<groupId>org.hibernate</groupId>
161165
<artifactId>hibernate-validator</artifactId>

spring-boot-project/spring-boot-dependencies/pom.xml

Lines changed: 4 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1783,65 +1783,11 @@
17831783
<version>${glassfish-el.version}</version>
17841784
</dependency>
17851785
<dependency>
1786-
<groupId>org.glassfish.jersey.containers</groupId>
1787-
<artifactId>jersey-container-servlet</artifactId>
1788-
<version>${jersey.version}</version>
1789-
</dependency>
1790-
<dependency>
1791-
<groupId>org.glassfish.jersey.containers</groupId>
1792-
<artifactId>jersey-container-servlet-core</artifactId>
1793-
<version>${jersey.version}</version>
1794-
</dependency>
1795-
<dependency>
1796-
<groupId>org.glassfish.jersey.core</groupId>
1797-
<artifactId>jersey-client</artifactId>
1798-
<version>${jersey.version}</version>
1799-
</dependency>
1800-
<dependency>
1801-
<groupId>org.glassfish.jersey.core</groupId>
1802-
<artifactId>jersey-common</artifactId>
1803-
<version>${jersey.version}</version>
1804-
</dependency>
1805-
<dependency>
1806-
<groupId>org.glassfish.jersey.core</groupId>
1807-
<artifactId>jersey-server</artifactId>
1808-
<version>${jersey.version}</version>
1809-
</dependency>
1810-
<dependency>
1811-
<groupId>org.glassfish.jersey.ext</groupId>
1812-
<artifactId>jersey-bean-validation</artifactId>
1813-
<version>${jersey.version}</version>
1814-
</dependency>
1815-
<dependency>
1816-
<groupId>org.glassfish.jersey.ext</groupId>
1817-
<artifactId>jersey-entity-filtering</artifactId>
1818-
<version>${jersey.version}</version>
1819-
</dependency>
1820-
<dependency>
1821-
<groupId>org.glassfish.jersey.ext</groupId>
1822-
<artifactId>jersey-spring4</artifactId>
1823-
<version>${jersey.version}</version>
1824-
<exclusions>
1825-
<exclusion>
1826-
<groupId>org.glassfish.hk2.external</groupId>
1827-
<artifactId>bean-validator</artifactId>
1828-
</exclusion>
1829-
</exclusions>
1830-
</dependency>
1831-
<dependency>
1832-
<groupId>org.glassfish.jersey.media</groupId>
1833-
<artifactId>jersey-media-jaxb</artifactId>
1834-
<version>${jersey.version}</version>
1835-
</dependency>
1836-
<dependency>
1837-
<groupId>org.glassfish.jersey.media</groupId>
1838-
<artifactId>jersey-media-json-jackson</artifactId>
1839-
<version>${jersey.version}</version>
1840-
</dependency>
1841-
<dependency>
1842-
<groupId>org.glassfish.jersey.media</groupId>
1843-
<artifactId>jersey-media-multipart</artifactId>
1786+
<groupId>org.glassfish.jersey</groupId>
1787+
<artifactId>jersey-bom</artifactId>
18441788
<version>${jersey.version}</version>
1789+
<scope>import</scope>
1790+
<type>pom</type>
18451791
</dependency>
18461792
<dependency>
18471793
<groupId>org.hamcrest</groupId>

spring-boot-project/spring-boot-starters/spring-boot-starter-jersey/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@
8989
<groupId>org.jvnet</groupId>
9090
<artifactId>tiger-types</artifactId>
9191
</exclusion>
92+
<exclusion>
93+
<groupId>org.glassfish.hk2.external</groupId>
94+
<artifactId>bean-validator</artifactId>
95+
</exclusion>
9296
<exclusion>
9397
<groupId>org.glassfish.hk2.external</groupId>
9498
<artifactId>javax.inject</artifactId>

0 commit comments

Comments
 (0)