Skip to content

Commit 23eec03

Browse files
authored
Update Maven Plugins (#111)
Using all the latest Maven plugins (base for 3.6.3). Left out spotless and bnd 7.0.0 (raises requirement for 3.8.1)
1 parent 3b0d052 commit 23eec03

File tree

2 files changed

+23
-35
lines changed

2 files changed

+23
-35
lines changed

org.eclipse.sisu.inject/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@
317317
<artifactId>maven-surefire-plugin</artifactId>
318318
<configuration>
319319
<redirectTestOutputToFile>true</redirectTestOutputToFile>
320-
<argLine>-Xmx64m @{jacoco.argLine}</argLine>
320+
<argLine>-Xmx64m --add-opens java.base/java.lang=ALL-UNNAMED @{jacoco.argLine}</argLine>
321321
<classpathDependencyExcludes>
322322
<classpathDependencyExclude>com.google.guava:guava</classpathDependencyExclude>
323323
<classpathDependencyExclude>com.google.inject:guice</classpathDependencyExclude>

pom.xml

+22-34
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@
118118
<properties>
119119
<maven.compiler.release>8</maven.compiler.release>
120120
<!-- Set to same version as release target for consistency -->
121-
<maven.compiler.source>1.${maven.compiler.release}</maven.compiler.source>
122-
<maven.compiler.target>1.${maven.compiler.release}</maven.compiler.target>
121+
<maven.compiler.source>${maven.compiler.release}</maven.compiler.source>
122+
<maven.compiler.target>${maven.compiler.release}</maven.compiler.target>
123123
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
124124

125125
<mavenBuildVersion>3.6.3</mavenBuildVersion>
@@ -131,7 +131,7 @@
131131
<dependency>
132132
<groupId>org.junit</groupId>
133133
<artifactId>junit-bom</artifactId>
134-
<version>5.10.0</version>
134+
<version>5.10.2</version>
135135
<type>pom</type>
136136
<scope>import</scope>
137137
</dependency>
@@ -144,7 +144,7 @@
144144
<plugin>
145145
<groupId>org.apache.maven.plugins</groupId>
146146
<artifactId>maven-enforcer-plugin</artifactId>
147-
<version>3.2.1</version>
147+
<version>3.4.1</version>
148148
<configuration>
149149
<rules>
150150
<enforceBytecodeVersion>
@@ -153,7 +153,7 @@
153153
<!-- Used in tests only -->
154154
<exclude>org.junit.jupiter:junit-jupiter-api</exclude>
155155
<exclude>org.junit.platform:junit-platform-commons</exclude>
156-
<exclude>org.apache.felix:org.apache.felix.framework:jar:7.0.5</exclude>
156+
<exclude>org.apache.felix:org.apache.felix.framework</exclude>
157157
</excludes>
158158
</enforceBytecodeVersion>
159159
<requireMavenVersion>
@@ -176,14 +176,14 @@
176176
<dependency>
177177
<groupId>org.codehaus.mojo</groupId>
178178
<artifactId>extra-enforcer-rules</artifactId>
179-
<version>1.6.1</version>
179+
<version>1.8.0</version>
180180
</dependency>
181181
</dependencies>
182182
</plugin>
183183
<plugin>
184184
<groupId>org.apache.maven.plugins</groupId>
185185
<artifactId>maven-clean-plugin</artifactId>
186-
<version>3.2.0</version>
186+
<version>3.3.2</version>
187187
</plugin>
188188
<plugin>
189189
<groupId>org.apache.maven.plugins</groupId>
@@ -193,38 +193,26 @@
193193
<plugin>
194194
<groupId>org.apache.maven.plugins</groupId>
195195
<artifactId>maven-compiler-plugin</artifactId>
196-
<version>3.11.0</version>
196+
<version>3.13.0</version>
197197
<configuration>
198198
<proc>none</proc>
199+
<showDeprecation>true</showDeprecation>
199200
</configuration>
200201
</plugin>
201202
<plugin>
202203
<groupId>org.apache.maven.plugins</groupId>
203204
<artifactId>maven-dependency-plugin</artifactId>
204-
<version>3.5.0</version>
205+
<version>3.6.1</version>
205206
</plugin>
206207
<plugin>
207208
<groupId>org.apache.maven.plugins</groupId>
208209
<artifactId>maven-surefire-plugin</artifactId>
209-
<version>3.0.0</version>
210-
<dependencies>
211-
<dependency>
212-
<groupId>org.junit.jupiter</groupId>
213-
<artifactId>junit-jupiter-engine</artifactId>
214-
<version>5.10.0</version>
215-
</dependency>
216-
<!-- some tests leverage JUnit3 still -->
217-
<dependency>
218-
<groupId>org.junit.vintage</groupId>
219-
<artifactId>junit-vintage-engine</artifactId>
220-
<version>5.10.0</version>
221-
</dependency>
222-
</dependencies>
210+
<version>3.2.5</version>
223211
</plugin>
224212
<plugin>
225213
<groupId>org.apache.maven.plugins</groupId>
226214
<artifactId>maven-failsafe-plugin</artifactId>
227-
<version>3.0.0</version>
215+
<version>3.2.5</version>
228216
</plugin>
229217
<plugin>
230218
<groupId>biz.aQute.bnd</groupId>
@@ -250,7 +238,7 @@ Bundle-DocURL: http://www.eclipse.org/sisu/
250238
<plugin>
251239
<groupId>org.apache.maven.plugins</groupId>
252240
<artifactId>maven-jar-plugin</artifactId>
253-
<version>3.3.0</version>
241+
<version>3.4.1</version>
254242
<executions>
255243
<execution>
256244
<id>default-jar</id>
@@ -265,27 +253,27 @@ Bundle-DocURL: http://www.eclipse.org/sisu/
265253
<plugin>
266254
<groupId>org.apache.maven.plugins</groupId>
267255
<artifactId>maven-shade-plugin</artifactId>
268-
<version>3.4.1</version>
256+
<version>3.5.3</version>
269257
</plugin>
270258
<plugin>
271259
<groupId>org.apache.maven.plugins</groupId>
272260
<artifactId>maven-install-plugin</artifactId>
273-
<version>3.1.1</version>
261+
<version>3.1.2</version>
274262
</plugin>
275263
<plugin>
276264
<groupId>org.apache.maven.plugins</groupId>
277265
<artifactId>maven-deploy-plugin</artifactId>
278-
<version>3.1.1</version>
266+
<version>3.1.2</version>
279267
</plugin>
280268
<plugin>
281269
<groupId>org.jacoco</groupId>
282270
<artifactId>jacoco-maven-plugin</artifactId>
283-
<version>0.8.8</version>
271+
<version>0.8.12</version>
284272
</plugin>
285273
<plugin>
286274
<groupId>org.apache.maven.plugins</groupId>
287275
<artifactId>maven-release-plugin</artifactId>
288-
<version>3.0.0</version>
276+
<version>3.0.1</version>
289277
<configuration>
290278
<mavenExecutorId>forked-path</mavenExecutorId>
291279
<useReleaseProfile>false</useReleaseProfile>
@@ -305,7 +293,7 @@ Bundle-DocURL: http://www.eclipse.org/sisu/
305293
<plugin>
306294
<groupId>org.apache.maven.plugins</groupId>
307295
<artifactId>maven-source-plugin</artifactId>
308-
<version>3.2.1</version>
296+
<version>3.3.1</version>
309297
<executions>
310298
<execution>
311299
<id>attach-sources</id>
@@ -318,7 +306,7 @@ Bundle-DocURL: http://www.eclipse.org/sisu/
318306
<plugin>
319307
<groupId>org.apache.maven.plugins</groupId>
320308
<artifactId>maven-javadoc-plugin</artifactId>
321-
<version>3.5.0</version>
309+
<version>3.6.3</version>
322310
<configuration>
323311
<overview>${basedir}/overview.html</overview>
324312
<excludePackageNames>*.internal,*.asm</excludePackageNames>
@@ -338,7 +326,7 @@ Bundle-DocURL: http://www.eclipse.org/sisu/
338326
<plugin>
339327
<groupId>org.apache.maven.plugins</groupId>
340328
<artifactId>maven-gpg-plugin</artifactId>
341-
<version>3.0.1</version>
329+
<version>3.2.4</version>
342330
<configuration>
343331
<passphrase>${gpg.passphrase}</passphrase>
344332
<useAgent>true</useAgent>
@@ -366,7 +354,7 @@ Bundle-DocURL: http://www.eclipse.org/sisu/
366354
<plugin>
367355
<groupId>org.apache.maven.plugins</groupId>
368356
<artifactId>maven-project-info-reports-plugin</artifactId>
369-
<version>3.4.2</version>
357+
<version>3.5.0</version>
370358
</plugin>
371359
<plugin>
372360
<groupId>com.diffplug.spotless</groupId>

0 commit comments

Comments
 (0)