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 21, 2023
1 parent 0fd9b15 commit 7941a3a
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 @@ -328,7 +328,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.net=ALL-UNNAMED
Expand Down

0 comments on commit 7941a3a

Please sign in to comment.