Skip to content

Commit

Permalink
Dependency updates
Browse files Browse the repository at this point in the history
Most plugins have been moved to require a minimum version of r19044 (mostly for
Java 11+ build reasons).

git-svn-id: https://josm.openstreetmap.de/svn/trunk@19251 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
taylor.smock committed Oct 28, 2024
1 parent 354b9e0 commit f9bfd26
Showing 1 changed file with 42 additions and 19 deletions.
61 changes: 42 additions & 19 deletions nodist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@
<sonar.host.url>https://josm.openstreetmap.de/sonar/</sonar.host.url>
<sonar.projectKey>JOSM</sonar.projectKey>
<jmockit.version>1.49.a</jmockit.version>
<pmd.version>7.5.0</pmd.version>
<pmd.version>7.6.0</pmd.version>
<jacoco.version>0.8.12</jacoco.version>
<checkstyle.version>10.18.1</checkstyle.version>
<checkstyle.version>10.18.2</checkstyle.version>
<spotbugs.version>4.8.6</spotbugs.version>
<!-- Note: 2.0.0 requires Java 17, and we'll need to upgrade to it for Java 25 LTS (see JEP 486)-->
<junit5-system-exit.version>1.1.2</junit5-system-exit.version>
</properties>
<modules>
<module>..</module>
Expand Down Expand Up @@ -57,12 +59,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.3.2</version>
<version>3.4.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.2.0</version>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -72,7 +74,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.23.0</version>
<version>3.25.0</version>
<dependencies>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
Expand Down Expand Up @@ -102,17 +104,17 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
<version>3.5.1</version>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>4.8.5.0</version>
<version>4.8.6.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.3.1</version>
<version>3.5.0</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
Expand All @@ -125,7 +127,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.3</version>
<version>3.6.0</version>
<executions>
<execution>
<phase>package</phase>
Expand Down Expand Up @@ -154,7 +156,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.1</version>
<version>3.4.2</version>
<configuration>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
Expand All @@ -170,15 +172,15 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>3.2.0</version>
<version>3.2.1</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.4.1</version>
<version>3.5.0</version>
<executions>
<execution>
<id>enforce-versions</id>
Expand All @@ -191,7 +193,7 @@
<version>3.6.3</version>
</requireMavenVersion>
<requireJavaVersion>
<version>8</version>
<version>${java.lang.version}</version>
</requireJavaVersion>
</rules>
</configuration>
Expand Down Expand Up @@ -228,6 +230,16 @@
</execution>
</executions>
</plugin>
<plugin> <!-- Adds properties that point at dependency jars. Useful for jmockit and junit5-system-exit -->
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>properties</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencyManagement>
Expand All @@ -241,7 +253,7 @@
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.11.0</version>
<version>5.11.3</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -278,7 +290,7 @@
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>2.1.1</version>
<version>3.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -315,7 +327,7 @@
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>tag2link</artifactId>
<version>2024.8.21</version>
<version>2024.10.21</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand All @@ -333,19 +345,19 @@
<dependency>
<groupId>com.ginsberg</groupId>
<artifactId>junit5-system-exit</artifactId>
<version>1.1.2</version>
<version>${junit5-system-exit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.wiremock</groupId>
<artifactId>wiremock</artifactId>
<version>3.9.1</version>
<version>3.9.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.github.classgraph</groupId>
<artifactId>classgraph</artifactId>
<version>4.8.175</version>
<version>4.8.177</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -374,4 +386,15 @@
</dependency>
</dependencies>
</dependencyManagement>
<profiles>
<profile>
<id>java-17</id>
<activation>
<jdk>[17</jdk>
</activation>
<properties>
<junit5-system-exit.version>2.0.0</junit5-system-exit.version>
</properties>
</profile>
</profiles>
</project>

0 comments on commit f9bfd26

Please sign in to comment.