Skip to content

Commit 6a3c16a

Browse files
authored
Merge pull request #150 from heremaps/HERESUP-35862
HERESUP-35862: Dependency convergence and dependabot updates
2 parents f12991f + aa2a57d commit 6a3c16a

3 files changed

Lines changed: 45 additions & 20 deletions

File tree

.github/dependabot.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ updates:
1616
- "owenkellett"
1717
- "spaltis"
1818
- "ashishKhushiKumar"
19-
- "anishb266"

here-oauth-client/pom.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,30 @@
7575
<groupId>org.apache.maven.plugins</groupId>
7676
<artifactId>maven-failsafe-plugin</artifactId>
7777
</plugin>
78+
<plugin>
79+
<groupId>org.apache.maven.plugins</groupId>
80+
<artifactId>maven-enforcer-plugin</artifactId>
81+
<version>3.6.1</version>
82+
<executions>
83+
<execution>
84+
<id>enforce-dependency-convergence</id>
85+
<phase>compile</phase>
86+
<configuration>
87+
<rules>
88+
<dependencyConvergence>
89+
<uniqueVersions>true</uniqueVersions>
90+
</dependencyConvergence>
91+
<requireUpperBoundDeps>
92+
<uniqueVersions>true</uniqueVersions>
93+
</requireUpperBoundDeps>
94+
</rules>
95+
</configuration>
96+
<goals>
97+
<goal>enforce</goal>
98+
</goals>
99+
</execution>
100+
</executions>
101+
</plugin>
78102
</plugins>
79103
</build>
80104

pom.xml

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
5555
<maven-failsafe-plugin.version>2.19.1</maven-failsafe-plugin.version>
5656
<maven-jar-plugin.version>3.0.2</maven-jar-plugin.version>
57-
<maven-javadoc-plugin.version>2.10.4</maven-javadoc-plugin.version>
57+
<maven-javadoc-plugin.version>3.11.3</maven-javadoc-plugin.version>
5858
<maven-source-plugin.version>2.3</maven-source-plugin.version>
5959
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
6060
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
@@ -65,16 +65,16 @@
6565
<!-- Declare versions for dependencies -->
6666
<apache.httpclient.version>4.5.14</apache.httpclient.version>
6767
<commons-configuration2.version>2.12.0</commons-configuration2.version>
68-
<jackson.version>2.19.1</jackson.version>
68+
<jackson.version>2.19.2</jackson.version>
6969
<junit.version>4.13.2</junit.version>
7070
<mockito.version>1.10.19</mockito.version>
7171
<org.asynchttpclient.version>2.12.4</org.asynchttpclient.version>
7272
<browsermob.version>2.1.5</browsermob.version>
7373
<io.netty.version>4.2.3.Final</io.netty.version>
74-
<org.slf4j.version>1.7.30</org.slf4j.version>
74+
<org.slf4j.version>2.0.17</org.slf4j.version>
7575
<com.google.guava.version>33.4.8-android</com.google.guava.version>
7676
<commons.logging.version>1.3.5</commons.logging.version>
77-
<com.fasterxml.jackson.core.version>2.19.1</com.fasterxml.jackson.core.version>
77+
<com.fasterxml.jackson.core.version>2.19.2</com.fasterxml.jackson.core.version>
7878
<org.apache.commons.version>3.18.0</org.apache.commons.version>
7979

8080
<!-- configure surefire and maven to be individually skippable -->
@@ -88,7 +88,7 @@
8888
<!-- custom properties to support jacoco configuration -->
8989
<jacoco.it.execution.data.file>${project.build.directory}/coverage-reports/jacoco-it.exec</jacoco.it.execution.data.file>
9090
<jacoco.ut.execution.data.file>${project.build.directory}/coverage-reports/jacoco-ut.exec</jacoco.ut.execution.data.file>
91-
<argLine></argLine>
91+
<argLine/>
9292

9393
</properties>
9494

@@ -108,6 +108,12 @@
108108
<groupId>org.apache.httpcomponents</groupId>
109109
<artifactId>httpclient</artifactId>
110110
<version>${apache.httpclient.version}</version>
111+
<exclusions>
112+
<exclusion>
113+
<groupId>commons-logging</groupId>
114+
<artifactId>commons-logging</artifactId>
115+
</exclusion>
116+
</exclusions>
111117
</dependency>
112118
<dependency>
113119
<groupId>net.lightbody.bmp</groupId>
@@ -291,29 +297,26 @@
291297
<plugin>
292298
<groupId>org.apache.maven.plugins</groupId>
293299
<artifactId>maven-enforcer-plugin</artifactId>
294-
<version>3.4.1</version>
295-
<configuration>
296-
<rules>
297-
<dependencyConvergence />
298-
</rules>
299-
<fail>true</fail>
300-
</configuration>
300+
<version>3.6.1</version>
301301
<executions>
302302
<execution>
303-
<id>enforce-rules</id>
304-
<goals>
305-
<goal>enforce</goal>
306-
</goals>
307-
<phase>validate</phase>
303+
<id>enforce-dependency-convergence</id>
308304
<configuration>
309305
<rules>
310-
<dependencyConvergence />
306+
<dependencyConvergence/>
307+
<requireUpperBoundDeps>
308+
<uniqueVersions>true</uniqueVersions>
309+
</requireUpperBoundDeps>
311310
</rules>
312311
<fail>true</fail>
313312
</configuration>
313+
<goals>
314+
<goal>enforce</goal>
315+
</goals>
314316
</execution>
315317
</executions>
316318
</plugin>
319+
317320
<plugin>
318321
<groupId>org.apache.maven.plugins</groupId>
319322
<artifactId>maven-resources-plugin</artifactId>
@@ -357,7 +360,6 @@
357360
</executions>
358361
</plugin>
359362

360-
361363
<plugin>
362364
<groupId>org.jacoco</groupId>
363365
<artifactId>jacoco-maven-plugin</artifactId>

0 commit comments

Comments
 (0)