Skip to content

Commit 7e7d339

Browse files
committed
add dependencyConvergence rule to the maven-enforcer-plugin
Signed-off-by: Maxim Nesen <[email protected]>
1 parent f8e6f5e commit 7e7d339

File tree

19 files changed

+196
-11
lines changed

19 files changed

+196
-11
lines changed

containers/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@
6161
<dependency>
6262
<groupId>jakarta.ws.rs</groupId>
6363
<artifactId>jakarta.ws.rs-api</artifactId>
64+
<exclusions>
65+
<exclusion>
66+
<groupId>jakarta.activation</groupId>
67+
<artifactId>jakarta.activation-api</artifactId>
68+
</exclusion>
69+
</exclusions>
6470
</dependency>
6571

6672
<dependency>

examples/entity-filtering-security/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@
3030
<dependency>
3131
<groupId>org.glassfish.jersey.core</groupId>
3232
<artifactId>jersey-server</artifactId>
33+
<exclusions>
34+
<exclusion>
35+
<groupId>jakarta.activation</groupId>
36+
<artifactId>jakarta.activation-api</artifactId>
37+
</exclusion>
38+
</exclusions>
3339
</dependency>
3440
<dependency>
3541
<groupId>org.glassfish.jersey.containers</groupId>

examples/entity-filtering-selectable/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@
3030
<dependency>
3131
<groupId>org.glassfish.jersey.core</groupId>
3232
<artifactId>jersey-server</artifactId>
33+
<exclusions>
34+
<exclusion>
35+
<groupId>jakarta.activation</groupId>
36+
<artifactId>jakarta.activation-api</artifactId>
37+
</exclusion>
38+
</exclusions>
3339
</dependency>
3440
<dependency>
3541
<groupId>org.glassfish.jersey.containers</groupId>

examples/entity-filtering/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@
3030
<dependency>
3131
<groupId>org.glassfish.jersey.core</groupId>
3232
<artifactId>jersey-server</artifactId>
33+
<exclusions>
34+
<exclusion>
35+
<groupId>jakarta.activation</groupId>
36+
<artifactId>jakarta.activation-api</artifactId>
37+
</exclusion>
38+
</exclusions>
3339
</dependency>
3440
<dependency>
3541
<groupId>org.glassfish.jersey.containers</groupId>

examples/open-tracing/pom.xml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,17 @@
5252
<dependency>
5353
<groupId>com.uber.jaeger</groupId>
5454
<artifactId>jaeger-core</artifactId>
55-
<version>0.20.0</version>
55+
<version>0.27.0</version>
56+
<exclusions>
57+
<exclusion>
58+
<groupId>org.slf4j</groupId>
59+
<artifactId>slf4j-api</artifactId>
60+
</exclusion>
61+
<exclusion>
62+
<groupId>org.apache.httpcomponents</groupId>
63+
<artifactId>httpcore</artifactId>
64+
</exclusion>
65+
</exclusions>
5666
</dependency>
5767

5868

ext/microprofile/mp-rest-client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<dependency>
3838
<groupId>org.eclipse.microprofile.config</groupId>
3939
<artifactId>microprofile-config-api</artifactId>
40-
<version>1.3</version>
40+
<version>1.4</version>
4141
</dependency>
4242
<dependency>
4343
<groupId>org.glassfish.jersey.core</groupId>

ext/spring4/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,18 @@
8888
<groupId>org.glassfish.hk2</groupId>
8989
<artifactId>hk2-api</artifactId>
9090
</exclusion>
91+
<exclusion>
92+
<groupId>org.springframework</groupId>
93+
<artifactId>spring-aop</artifactId>
94+
</exclusion>
95+
<exclusion>
96+
<groupId>org.springframework</groupId>
97+
<artifactId>spring-context</artifactId>
98+
</exclusion>
99+
<exclusion>
100+
<groupId>org.springframework</groupId>
101+
<artifactId>spring-beans</artifactId>
102+
</exclusion>
91103
</exclusions>
92104
</dependency>
93105

incubator/html-json/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040

4141
<properties>
4242
<net.java.html.version>1.5.1</net.java.html.version>
43+
<enforcer.skip>true</enforcer.skip>
4344
</properties>
4445

4546
<dependencies>

media/json-jackson/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@
9595
<groupId>org.glassfish.jersey.core</groupId>
9696
<artifactId>jersey-common</artifactId>
9797
<version>${project.version}</version>
98+
<exclusions>
99+
<exclusion>
100+
<groupId>jakarta.activation</groupId>
101+
<artifactId>jakarta.activation-api</artifactId>
102+
</exclusion>
103+
</exclusions>
98104
</dependency>
99105
<dependency>
100106
<groupId>org.glassfish.jersey.ext</groupId>
@@ -121,6 +127,12 @@
121127
<dependency>
122128
<groupId>com.fasterxml.jackson.module</groupId>
123129
<artifactId>jackson-module-jaxb-annotations</artifactId>
130+
<exclusions>
131+
<exclusion>
132+
<groupId>jakarta.activation</groupId>
133+
<artifactId>jakarta.activation-api</artifactId>
134+
</exclusion>
135+
</exclusions>
124136
</dependency>
125137
<dependency>
126138
<groupId>junit</groupId>

pom.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@
236236
<plugin>
237237
<groupId>org.apache.maven.plugins</groupId>
238238
<artifactId>maven-enforcer-plugin</artifactId>
239-
<version>3.0.0-M2</version>
239+
<version>3.1.0</version>
240240
<executions>
241241
<execution>
242242
<id>enforce-versions</id>
@@ -248,6 +248,7 @@
248248
<requireJavaVersion>
249249
<version>${java.version}</version>
250250
</requireJavaVersion>
251+
<dependencyConvergence/>
251252
</rules>
252253
</configuration>
253254
</execution>
@@ -2192,7 +2193,7 @@
21922193
<rxjava2.version>2.0.4</rxjava2.version>
21932194
<simple.version>6.0.1</simple.version>
21942195
<skip.e2e>false</skip.e2e>
2195-
<slf4j.version>1.7.21</slf4j.version>
2196+
<slf4j.version>2.0.3</slf4j.version>
21962197
<spring4.version>4.3.20.RELEASE</spring4.version>
21972198
<spring5.version>5.3.18</spring5.version>
21982199
<surefire.version>3.0.0-M5</surefire.version>
@@ -2216,7 +2217,7 @@
22162217
<hk2.osgi.version>org.glassfish.hk2.*;version="[2.5,4)"</hk2.osgi.version>
22172218
<hk2.jvnet.osgi.version>org.jvnet.hk2.*;version="[2.5,4)"</hk2.jvnet.osgi.version>
22182219
<hk2.config.version>5.1.0</hk2.config.version>
2219-
<istack.commons.runtime.version>3.0.8</istack.commons.runtime.version>
2220+
<istack.commons.runtime.version>3.0.12</istack.commons.runtime.version>
22202221
<jakarta.activation.version>1.2.2</jakarta.activation.version>
22212222
<javax.el.version>3.0.3</javax.el.version>
22222223
<javax.el.impl.version>3.0.4</javax.el.impl.version>
@@ -2231,7 +2232,7 @@
22312232
<jaxrs.api.impl.version>2.1.6</jaxrs.api.impl.version>
22322233
<jetty.plugin.version>6.1.26</jetty.plugin.version>
22332234
<jetty.osgi.version>org.eclipse.jetty.*;version="[9.4,11)"</jetty.osgi.version>
2234-
<jetty.version>9.4.46.v20220331</jetty.version>
2235+
<jetty.version>9.4.49.v20220914</jetty.version>
22352236
<jetty.servlet.api.25.version>6.1.14</jetty.servlet.api.25.version>
22362237
<jsonb.api.version>1.0.2</jsonb.api.version>
22372238
<jsonp.ri.version>1.1.6</jsonp.ri.version>

0 commit comments

Comments
 (0)