Skip to content

Commit

Permalink
Upgrade maven-surefire-plugin to 3.0.0
Browse files Browse the repository at this point in the history
This fixes deprecation warnings when runnings tests with Maven 3.9.x:

`[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.`

See: https://issues.apache.org/jira/browse/SUREFIRE-2154

Related to openhab/openhab-core#3512

Signed-off-by: Wouter Born <[email protected]>
  • Loading branch information
wborn committed Apr 18, 2023
1 parent f2f0f4b commit 13c0608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ Import-Package: \\
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M7</version>
<version>3.0.0</version>
<configuration>
<argLine>
--add-opens java.base/java.lang=ALL-UNNAMED
Expand Down

0 comments on commit 13c0608

Please sign in to comment.