Upgrade sonar-maven-plugin 3.9.1.2184 -> 5.0.0.4389 #296
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.9.1.2184
->5.0.0.4389
Release Notes
SonarSource/sonar-scanner-maven (sonar-maven-plugin)
v5.0.0.4389
Compare Source
Release notes - Sonar Scanner for Maven - 5.0
Documentation
SCANMAVEN-231 Gather details for a community post about the new scanner JRE provisioning
SCANMAVEN-234 Document env variable `SONAR_SCANNER_JAVA_OPTS` and property `sonar.scanner.javaOpts` as options to tweak analysis runtime
SCANMAVEN-235 Update JRE auto-provisioning section to add the SonarScanner for Maven
SCANMAVEN-239 Update develop.md file for the new dump-plugin
SCANMAVEN-240 Remove outdated URL from pom.xml
Task
SCANMAVEN-229 Add Jira integration
SCANMAVEN-230 Update scanner library to support new bootstrapper
SCANMAVEN-236 Remove obsolete site folder
SCANMAVEN-237 Test sensor context config, system properties, and environment variables passed to the bootstrapped JRE
SCANMAVEN-238 Remove unauthenticated REST API call to SonarQube during IT
SCANMAVEN-246 Bump to version 5.0
SCANMAVEN-248 Add static documentation of the scanner
Improvement
SCANMAVEN-233 The SonarScanner for Maven provides a sane default value for `sonar.java.jdkHome`
SCANMAVEN-243 The SonarScanner for Maven does not try to contact the server when the project is skipped
v4.0.0.4121
Compare Source
Release notes - Sonar Scanner for Maven - 4.0
Bug
SCANMAVEN-183 Maven HTTPS proxies not taken into account
SCANMAVEN-217 Broken integration with maven encrypted secret
SCANMAVEN-218 The scanner should index pom.xml instead of generated pom
Improvement
SCANMAVEN-210 Move to Java 11 and drop Java 8 support
SCANMAVEN-214 scanAll should be disabled when `sonar.tests` is overridden
SCANMAVEN-215 scanAll exludes external report files
SCANMAVEN-216 scanAll includes Java and Kotlin files if `sonar.java.binaries` and `sonar.java.libraries` are set
SCANMAVEN-219 Support HTTPS Proxy System Properties
SCANMAVEN-224 Log a warning message when the version of the scanner is not specified
v3.11.0.3922
Compare Source
Release notes - Sonar Scanner for Maven - 3.11
Bug
MSONAR-205 Undesired behaviour when sonar.projectKey is specified in root pom or as user property
Documentation
MSONAR-203 Update license headers
Task
MSONAR-208 Migrate tests to JUnit 5
Improvement
MSONAR-202 Improve logging : log information about Maven options, Java version and the OS
MSONAR-204 "SonarQube version" is not displayed when communicating with SonarCloud
MSONAR-207 The scanner for Maven collects files outside of conventional sonar.sources
v3.10.0.2594
Compare Source
Release notes - Sonar Scanner for Maven - 3.10
New Feature
MSONAR-193 Set property `sonar.java.enablePreview` when Java's enablePreview feature is set
Task
MSONAR-184 Properly escape multi-valued properties if some paths contain comma
MSONAR-187 Upgrade github-action_release to v4
MSONAR-188 Stop leaking Maven classes in the scanner engine classloader
MSONAR-189 Add ITs with java 17
MSONAR-192 Run all tests nightly
MSONAR-195 Reduce the scope of the maven-compat dependency
MSONAR-198 Add Maven 4 tests to the pipeline
MSONAR-199 Use master build for peachee jobs
Improvement
MSONAR-190 Default sources to "src/main" instead of "src/main/java"
MSONAR-197 Maven Scanner relies on old slf4j version