Skip to content

Commit 832a711

Browse files
committed
Using latest versions of plugins
1 parent 594ed8f commit 832a711

File tree

1 file changed

+29
-8
lines changed

1 file changed

+29
-8
lines changed

pom.xml

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
<plugin> <!-- configure java compiler -->
8484
<groupId>org.apache.maven.plugins</groupId>
8585
<artifactId>maven-compiler-plugin</artifactId>
86-
<version>3.10.1</version>
86+
<version>3.14.0</version>
8787
<configuration>
8888
<release>11</release>
8989
<compilerArgument>-parameters</compilerArgument>
@@ -102,12 +102,12 @@
102102
<plugin> <!-- unit test integration -->
103103
<groupId>org.apache.maven.plugins</groupId>
104104
<artifactId>maven-surefire-plugin</artifactId>
105-
<version>2.22.2</version>
105+
<version>3.5.3</version>
106106
</plugin>
107107
<plugin> <!-- code coverage -->
108108
<groupId>org.jacoco</groupId>
109109
<artifactId>jacoco-maven-plugin</artifactId>
110-
<version>0.8.8</version>
110+
<version>0.8.13</version>
111111
<executions>
112112
<execution>
113113
<goals>
@@ -127,7 +127,7 @@
127127
<groupId>com.mycila</groupId>
128128
<artifactId>license-maven-plugin</artifactId>
129129
<!-- mvn license:format adds/updates all license headers -->
130-
<version>4.6</version>
130+
<version>5.0.0</version>
131131
<configuration>
132132
<licenseSets>
133133
<licenseSet>
@@ -165,6 +165,26 @@
165165
</execution>
166166
</executions>
167167
</plugin>
168+
<plugin> <!-- use a new version of maven -->
169+
<groupId>org.apache.maven.plugins</groupId>
170+
<artifactId>maven-enforcer-plugin</artifactId>
171+
<version>3.5.0</version>
172+
<executions>
173+
<execution>
174+
<id>enforce-maven</id>
175+
<goals>
176+
<goal>enforce</goal>
177+
</goals>
178+
<configuration>
179+
<rules>
180+
<requireMavenVersion>
181+
<version>(3.9,)</version>
182+
</requireMavenVersion>
183+
</rules>
184+
</configuration>
185+
</execution>
186+
</executions>
187+
</plugin>
168188
</plugins>
169189
</build>
170190

@@ -221,7 +241,7 @@
221241
<plugin> <!-- sign jar for maven central-->
222242
<groupId>org.apache.maven.plugins</groupId>
223243
<artifactId>maven-gpg-plugin</artifactId>
224-
<version>1.5</version>
244+
<version>3.2.7</version>
225245
<executions>
226246
<execution>
227247
<id>sign-artifacts</id>
@@ -235,7 +255,7 @@
235255
<plugin> <!-- generate java-doc -->
236256
<groupId>org.apache.maven.plugins</groupId>
237257
<artifactId>maven-javadoc-plugin</artifactId>
238-
<version>3.4.0</version>
258+
<version>3.11.2</version>
239259
<executions>
240260
<execution>
241261
<id>attach-javadocs</id>
@@ -248,7 +268,7 @@
248268
<plugin> <!-- generate sources jar -->
249269
<groupId>org.apache.maven.plugins</groupId>
250270
<artifactId>maven-source-plugin</artifactId>
251-
<version>3.2.1</version>
271+
<version>3.3.1</version>
252272
<executions>
253273
<execution>
254274
<id>attach-sources</id>
@@ -271,6 +291,7 @@
271291
<!-- This plugin will set properties values using dependency information -->
272292
<groupId>org.apache.maven.plugins</groupId>
273293
<artifactId>maven-dependency-plugin</artifactId>
294+
<version>3.8.1</version>
274295
<executions>
275296
<execution>
276297
<goals>
@@ -282,7 +303,7 @@
282303
<plugin>
283304
<groupId>org.apache.maven.plugins</groupId>
284305
<artifactId>maven-compiler-plugin</artifactId>
285-
<version>3.10.1</version>
306+
<version>3.14.0</version>
286307
<configuration>
287308
<fork>true</fork>
288309
<release>11</release>

0 commit comments

Comments
 (0)