checkstyle / sonar-checkstyle

Support on Checkstyle in SonarQube. Officially transfered from https://github.com/SonarQubeCommunity/sonar-checkstyle
GNU Lesser General Public License v3.0
171 stars 70 forks source link

infra: avoid maven warnings #515

Closed Bananeweizen closed 4 months ago

Bananeweizen commented 5 months ago

Use the release property instead of source and target for compilation.

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Bananeweizen commented 5 months ago

That avoids these warnings: grafik

Also remove the property java.version as that is the name of a pre-defined property injected into the maven properties, containing the actual JDK runtime version (like 21.0.1). It's really confusing to override that injected property, and could potentially lead to errors at other locations.