]> git.basschouten.com Git - openhab-addons.git/commitdiff
Upgrade maven-surefire-plugin to 3.0.0 (#14842)
authorWouter Born <github@maindrain.net>
Tue, 18 Apr 2023 09:58:37 +0000 (11:58 +0200)
committerGitHub <noreply@github.com>
Tue, 18 Apr 2023 09:58:37 +0000 (11:58 +0200)
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 <github@maindrain.net>
pom.xml

diff --git a/pom.xml b/pom.xml
index a775701d7f9317680a452da9ecba2524ddd2a7fa..86e0cecf4c9cdb9d5c8319a55214c60355f16e7b 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -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