Skip to content

Commit 9df0c5a

Browse files
committed
Update to use Maven 4
- https://maven.apache.org/docs/4.0.0-rc-3/release-notes.html - Also reduce warnings by specifying plugin versions
1 parent 03a10fb commit 9df0c5a

File tree

6 files changed

+30
-11
lines changed

6 files changed

+30
-11
lines changed

junit-jupiter-starter-maven-kotlin/.mvn/wrapper/maven-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
# under the License.
1717
wrapperVersion=3.3.2
1818
distributionType=only-script
19-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.10/apache-maven-3.9.10-bin.zip
19+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/4.0.0-rc-3/apache-maven-4.0.0-rc-3-bin.zip

junit-jupiter-starter-maven-kotlin/pom.xml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
<properties>
1212
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1313
<kotlin.version>2.2.0</kotlin.version>
14-
<maven.compiler.source>1.8</maven.compiler.source>
15-
<maven.compiler.target>${maven.compiler.source}</maven.compiler.target>
14+
<maven.compiler.release>17</maven.compiler.release>
1615
</properties>
1716

1817
<dependencyManagement>
@@ -73,9 +72,15 @@
7372
</execution>
7473
</executions>
7574
</plugin>
76-
7775
<plugin>
78-
<groupId>org.apache.maven.plugins</groupId>
76+
<artifactId>maven-compiler-plugin</artifactId>
77+
<version>3.13.0</version>
78+
</plugin>
79+
<plugin>
80+
<artifactId>maven-resources-plugin</artifactId>
81+
<version>3.3.1</version>
82+
</plugin>
83+
<plugin>
7984
<artifactId>maven-surefire-plugin</artifactId>
8085
<version>3.5.3</version>
8186
</plugin>

junit-jupiter-starter-maven/.mvn/wrapper/maven-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
# under the License.
1717
wrapperVersion=3.3.2
1818
distributionType=only-script
19-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.10/apache-maven-3.9.10-bin.zip
19+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/4.0.0-rc-3/apache-maven-4.0.0-rc-3-bin.zip

junit-jupiter-starter-maven/pom.xml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99

1010
<properties>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12-
<maven.compiler.source>1.8</maven.compiler.source>
13-
<maven.compiler.target>${maven.compiler.source}</maven.compiler.target>
12+
<maven.compiler.release>17</maven.compiler.release>
1413
</properties>
1514

1615
<dependencyManagement>
@@ -35,6 +34,14 @@
3534

3635
<build>
3736
<plugins>
37+
<plugin>
38+
<artifactId>maven-compiler-plugin</artifactId>
39+
<version>3.13.0</version>
40+
</plugin>
41+
<plugin>
42+
<artifactId>maven-resources-plugin</artifactId>
43+
<version>3.3.1</version>
44+
</plugin>
3845
<plugin>
3946
<artifactId>maven-surefire-plugin</artifactId>
4047
<version>3.5.3</version>

junit-migration-maven/.mvn/wrapper/maven-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
# under the License.
1717
wrapperVersion=3.3.2
1818
distributionType=only-script
19-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.10/apache-maven-3.9.10-bin.zip
19+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/4.0.0-rc-3/apache-maven-4.0.0-rc-3-bin.zip

junit-migration-maven/pom.xml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99

1010
<properties>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12-
<maven.compiler.source>1.8</maven.compiler.source>
13-
<maven.compiler.target>${maven.compiler.source}</maven.compiler.target>
12+
<maven.compiler.release>17</maven.compiler.release>
1413
<junit.version>4.13.2</junit.version>
1514
</properties>
1615

@@ -52,6 +51,14 @@
5251

5352
<build>
5453
<plugins>
54+
<plugin>
55+
<artifactId>maven-compiler-plugin</artifactId>
56+
<version>3.13.0</version>
57+
</plugin>
58+
<plugin>
59+
<artifactId>maven-resources-plugin</artifactId>
60+
<version>3.3.1</version>
61+
</plugin>
5562
<plugin>
5663
<artifactId>maven-surefire-plugin</artifactId>
5764
<version>3.5.3</version>

0 commit comments

Comments
 (0)