jboss/jboss-parent-pom

Upgrade maven-surefire-plugin to 3.0 to avoid Maven 3.9 warning

Closed this issue · 2 comments

Would it be possible to switch to 3.0 of maven-surefire-plugin and maven-failsafe-plugin?

Current version 2.22.2 causes warnings with Maven 3.9.1:

[INFO] --- surefire:2.22.2:test (default-test) @ arquillian-warp-jsf-ftest ---
[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.

If you consider this possible, I can create a mini pull request.

Maven 3.9.3 does not show the plugin validation warnings, here the warning is not displayed by default. To observe it, run maven with this argument: -Dmaven.plugin.validation=VERBOSE (see https://issues.apache.org/jira/browse/MNG-7767 and apache/maven#1092)

Pull request is merged.