Repository navigation
Update Maven dependencies - #337
renovate[bot] wants to merge 1 commit into
Conversation
|
Renovate Jira issue ID: SCANJLIB-352 |
| <dependency> | ||
| <groupId>org.codehaus.mojo</groupId> | ||
| <artifactId>extra-enforcer-rules</artifactId> | ||
| <version>1.12.1</version> | ||
| <version>1.13.0</version> | ||
| </dependency> |
There was a problem hiding this comment.
💡 Edge Case: extra-enforcer-rules 1.13.0 needs Maven 3.9.0; declared minimum is 3.3.9
The 1.13.0 release notes say this version needs Maven 3.9.0 or later. This project inherits org.sonarsource.parent:parent:88.0.0.3367, whose requireMavenVersion rule enforces maven.min.version 3.3.9 (parent POM). So after this bump, building lib with Maven 3.3.9–3.8.x still passes the declared version check. It then fails at verify, when the enforce-runtime-java-compatibility execution loads the new rule, and the error is unclear instead of the clear 'Maven too old' message. Nothing in the repo pins Maven: there is no .mvn wrapper, and CI gets Maven from the shared SonarSource actions. A fix is to raise the declared minimum in the root pom so the parent's check matches the new requirement, e.g. <maven.min.version>3.9.0</maven.min.version>.
Add this to the <properties> section of the root pom.xml so the inherited requireMavenVersion rule matches the new Maven requirement.:
<maven.min.version>3.9.0</maven.min.version>
- Apply fix
Check the box to apply the fix or reply for a change | Was this helpful? React with 👍 / 👎
2f7890a to
81a6c78
Compare
3e98cdd to
f4952ab
Compare
zglicz
left a comment
There was a problem hiding this comment.
Auto-approved: Renovate update.
f4952ab to
9be1f5c
Compare
Renovate update safety review: Low risk
Main point to check: Other points:
Verdict: Low risk, on the condition that CI passes on a Maven 3.9.0+ runtime. |
Code Review 👍 Approved with suggestions 🟡 Medium risk 0 closed / 1 findingsUpdating Maven dependency versions, including the SonarQube test harness, could alter build or integration-test behavior, but changes are confined to project dependencies. Bumps Maven dependencies including extra-enforcer-rules to 1.13.0, sonar-plugin-api to 14.4.0.5671, mockito to 5.25.0, and sonar-orchestrator-junit4 to 6.4.5.4956. Consider raising 💡 Edge Case: extra-enforcer-rules 1.13.0 needs Maven 3.9.0; declared minimum is 3.3.9The 1.13.0 release notes say this version needs Maven 3.9.0 or later. This project inherits Add this to the <properties> section of the root pom.xml so the inherited requireMavenVersion rule matches the new Maven requirement.🤖 Prompt for agentsVerification Rules 3/3 metFunctional validation No results Rules 3 passed 1 action taken 2 not applicable
Auto-approval Not enabledFor more verification details, comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
|





This PR contains the following updates:
1.12.1→1.13.014.3.0.5639→14.4.0.56715.24.0→5.25.05.24.0→5.25.06.4.4.4797→6.4.5.495626.11.0.134175→26.12.0.136340Release Notes
mojohaus/extra-enforcer-rules (org.codehaus.mojo:extra-enforcer-rules)
v1.13.0Compare Source
A feature release that raises the Maven requirement to 3.9.0, lets
enforceBytecodeVersioncheck reactor modules and fixes three rule bugs.✨ Highlights
enforceBytecodeVersionchecks reactor modules: the rule now scans the.classfiles of a directory artifact, such as a module'starget/classes, instead of skipping everything that is not a JAR. In a reactor the rule has to run aftercompileto see those classes. The rule now also skips nestedMETA-INF/versionsentries.banDuplicateClassesand the other dependency rules resolve dependencies through the resolver, so the rules no longer report a duplicate for an artifact that a directprovideddependency already overrides. Contributed by @wilx.requireEncoding:%regex[...]patterns inincludesandexcludesare no longer split at commas and pipes inside the brackets.🚨 Removed
🚀 New features and improvements
🐛 Bug Fixes
📝 Documentation updates
👻 Maintenance
🔧 Build
📦 Dependency updates
Thanks to @slachiewicz and @wilx.
Full changelog
SonarSource/sonar-plugin-api (org.sonarsource.api.plugin:sonar-plugin-api)
v14.4.0.5671Compare Source
What's Changed
New Contributors
Full Changelog: SonarSource/sonar-plugin-api@14.3.0.5639...14.4.0.5671
mockito/mockito (org.mockito:mockito-junit-jupiter)
v5.25.0Changelog generated by Shipkit Changelog Gradle Plugin
5.25.0
ProxyMockMakerhandler rejection paths (#3880)setup-gradleactions and remove the wrapper validation (#3879)retryTestwith Gradle'stest-retryplugin (#3877)coverage.gradleto convention plugins (#3874)ValueRendererplugin (#3870)RETURNS_DEEP_STUBS(#3853)VarargMatcher(#2835)SonarSource/orchestrator (org.sonarsource.orchestrator:sonar-orchestrator-junit4)
v6.4.5.4956Compare Source
What's Changed
New Contributors
Full Changelog: SonarSource/orchestrator@6.4.4.4797...6.4.5.4956
SonarSource/sonarqube (org.sonarsource.sonarqube:sonar-testing-harness)
v26.12.0.136340Compare Source
Release notes are being prepared and will be published here shortly.
Configuration
📅 Schedule: (in timezone CET)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.