Skip to content

Update Maven dependencies - #337

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/maven-dependencies
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/maven-dependencies

Conversation

@renovate

@renovate renovate Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
org.codehaus.mojo:extra-enforcer-rules (source) 1.12.1 → 1.13.0 age confidence
org.sonarsource.api.plugin:sonar-plugin-api (source) 14.3.0.5639 → 14.4.0.5671 age confidence
org.mockito:mockito-junit-jupiter 5.24.0 → 5.25.0 age confidence
org.mockito:mockito-core 5.24.0 → 5.25.0 age confidence
org.sonarsource.orchestrator:sonar-orchestrator-junit4 (source) 6.4.4.4797 → 6.4.5.4956 age confidence
org.sonarsource.sonarqube:sonar-testing-harness (source) 26.11.0.134175 → 26.12.0.136340 age confidence

Release Notes

mojohaus/extra-enforcer-rules (org.codehaus.mojo:extra-enforcer-rules)

v1.13.0

Compare Source

A feature release that raises the Maven requirement to 3.9.0, lets enforceBytecodeVersion check reactor modules and fixes three rule bugs.

✨ Highlights

  • Maven 3.9.0 or later is now required.
  • enforceBytecodeVersion checks reactor modules: the rule now scans the .class files of a directory artifact, such as a module's target/classes, instead of skipping everything that is not a JAR. In a reactor the rule has to run after compile to see those classes. The rule now also skips nested META-INF/versions entries.
  • banDuplicateClasses and the other dependency rules resolve dependencies through the resolver, so the rules no longer report a duplicate for an artifact that a direct provided dependency already overrides. Contributed by @​wilx.
  • requireEncoding: %regex[...] patterns in includes and excludes are no longer split at commas and pipes inside the brackets.
  • Documentation: the site pages are now Markdown.

🚨 Removed

🚀 New features and improvements

🐛 Bug Fixes

📝 Documentation updates

👻 Maintenance

🔧 Build

📦 Dependency updates

  • Bump the maven group across 1 directory with 3 updates (#​394) @​dependabot[bot]
  • Bump org.apache.logging.log4j:log4j-api from 2.17.2 to 2.25.5 in /src/it/enforce-bytecode-version-multirelease (#​372) @​dependabot[bot]
  • Bump org.apache.logging.log4j:log4j-api from 2.17.2 to 2.25.5 in /src/it/banduplicate-classes-jdk9 (#​375) @​dependabot[bot]
  • Bump commons-codec:commons-codec from 1.22.1 to 1.23.0 in the maven group (#​380) @​dependabot[bot]

Thanks to @​slachiewicz and @​wilx.

Full changelog

SonarSource/sonar-plugin-api (org.sonarsource.api.plugin:sonar-plugin-api)

v14.4.0.5671

Compare 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.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.25.0
  • 2026-11-26 - 28 commit(s) by Alex, Brice Dutheil, Burak Kalaycı, Holger Friedrich, Inf1mum, Joshua Selbo, Mohd Irshad, Sharang Gupta, Szczepan Faber, Vadim Lazuk, Wei-Lun Li, dependabot[bot]
  • Remove Objenesis (#​3923)
  • Downgrade Objenesis to 3.5 to restore Android API < 34 support (#​3907)
  • Bump gradle/actions from 6.4.0 to 6.4.1 (#​3903)
  • Include custom @​DoNotMock annotation details in the violation message (#​3899)
  • Upgrade Objenesis to 3.6 (#​3898)
  • Use Locale.ROOT for default mock names and matcher descriptions (#​3897)
  • Improve JUnit compatibility testing, including OSGi (#​3891)
  • Run the varargs test that was ignored for #​1593 (#​3890)
  • Move build conventions to an included build (#​3885)
  • Use renewed signing secrets and document key renewal [skip release] (#​3884)
  • Add temporary encrypted signing key recovery workflow (#​3883)
  • Add manual signing key diagnostic workflow (#​3882)
  • Cover ProxyMockMaker handler rejection paths (#​3880)
  • Use setup-gradle actions and remove the wrapper validation (#​3879)
  • Replace our manual retryTest with Gradle's test-retry plugin (#​3877)
  • Possibly replace coverage setup by simpler config (#​3875)
  • Migrate coverage.gradle to convention plugins (#​3874)
  • Upgrade Gradle to 9.8.2 and enforce the Gradle JVM daemon (#​3873)
  • Bump graalvm/setup-graalvm from 1.6.6 to 1.6.7 (#​3872)
  • Plugins for ValuePrinter (#​3871)
  • Add ValueRenderer plugin (#​3870)
  • Bump gradle/actions from 6.3.0 to 6.4.0 (#​3869)
  • Allow mockito-junit-jupiter to resolve with JUnit 6 in OSGi (#​3867)
  • Bump actions/setup-java from 5 to 6 (#​3857)
  • Allow answer-first stubbing with RETURNS_DEEP_STUBS (#​3853)
  • Upgrade Android Gradle Plugin to 9.2.1 (#​3841)
  • Bump actions/upload-artifact from 6 to 7 (#​3791)
  • Improvement request: Include toString() of custom DoNotMock annotations in DefaultDoNotMockEnforcer (#​3592)
  • Remove VarargMatcher (#​2835)
  • UnfinishedStubbingException raised with deep stubs when using the do* style stubbing (#​1636)
  • Mockito confuses varargs and single-param methods (regression) (#​1593)
  • Expose StubbingLookupListener publicly and create listener distinction (#​793)
SonarSource/orchestrator (org.sonarsource.orchestrator:sonar-orchestrator-junit4)

v6.4.5.4956

Compare 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.136340

Compare Source

Release notes are being prepared and will be published here shortly.


Configuration

📅 Schedule: (in timezone CET)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner November 28, 2026 11:27
@hashicorp-vault-sonar-prod

hashicorp-vault-sonar-prod Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Renovate Jira issue ID: SCANJLIB-352

Comment thread lib/pom.xml
Comment on lines 138 to 142
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>extra-enforcer-rules</artifactId>
<version>1.12.1</version>
<version>1.13.0</version>
</dependency>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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 👍 / 👎

@datadog-sonarsource

datadog-sonarsource Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Pipelines

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 9be1f5c | Docs | Give us feedback!

@renovate
renovate Bot force-pushed the renovate/maven-dependencies branch from 2f7890a to 81a6c78 Compare November 30, 2026 18:45
@renovate renovate Bot changed the title Update dependency org.codehaus.mojo:extra-enforcer-rules to v1.13.0 Update Maven dependencies Nov 30, 2026
@renovate
renovate Bot force-pushed the renovate/maven-dependencies branch 2 times, most recently from 3e98cdd to f4952ab Compare December 2, 2026 17:23

@zglicz zglicz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved: Renovate update.

@zglicz
zglicz enabled auto-merge (squash) December 3, 2026 08:54
@renovate
renovate Bot force-pushed the renovate/maven-dependencies branch from f4952ab to 9be1f5c Compare December 3, 2026 18:42
@gitar-bot

gitar-bot Bot commented Dec 3, 2026

Copy link
Copy Markdown

Renovate update safety review: Low risk

Package Change Usage in this repo Impact
org.codehaus.mojo:extra-enforcer-rules 1.12.1 → 1.13.0 lib/pom.xml, as a maven-enforcer-plugin dependency running enforceBytecodeVersion at verify Now requires Maven 3.9.0+; the rule also scans directory artifacts and skips nested META-INF/versions entries (release notes)
org.sonarsource.api.plugin:sonar-plugin-api 14.3.0.5639 → 14.4.0.5671 batch, test scope Adds deferred issue metrics to CoreMetrics; no removals (release)
org.mockito:mockito-core and mockito-junit-jupiter 5.24.0 → 5.25.0 Root pom.xml (mockito.version), test scope Objenesis changes (3.6 upgrade, then removal), VarargMatcher removed, RETURNS_DEEP_STUBS improvements; test-only exposure (release)
org.sonarsource.orchestrator:sonar-orchestrator-junit4 6.4.4.4797 → 6.4.5.4956 its/it-tests, test scope Bundles sonar-scanner-cli 8.5, adds LicenseSpring activation, small cleanups (release)
org.sonarsource.sonarqube:sonar-testing-harness 26.11.0.134175 → 26.12.0.136340 batch, via sonarQubeVersion Release notes not yet published; test-only exposure

Main point to check: extra-enforcer-rules 1.13.0 needs Maven 3.9.0 or later. The earlier review comment on this PR covers this. CI builds go through ci-github-actions/build-maven@v2, so check the build result against the Maven version it uses. The enforceBytecodeVersion configuration in lib/pom.xml uses only options that still exist, and the rule runs at verify, after compile, so the new directory-artifact scanning should not affect it.

Other points:

  • The remaining updates are test-scoped and show no API removals that this repo is known to use.
  • The sonar-testing-harness release notes are unpublished, so that update is only partly assessed.
  • No licensing changes were identified.
  • I could not read CI results here, so the verdict depends on the Build workflow passing (build, QA matrix, promote).

Verdict: Low risk, on the condition that CI passes on a Maven 3.9.0+ runtime.

@gitar-bot

gitar-bot Bot commented Dec 3, 2026

Copy link
Copy Markdown
Code Review 👍 Approved with suggestions 🟡 Medium risk 0 closed / 1 findings

Updating 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 maven.min.version to 3.9.0 in the root pom, since extra-enforcer-rules 1.13.0 requires Maven 3.9.0 or later while the inherited parent only enforces 3.3.9, so builds on older Maven will fail late at verify with an unclear error.

💡 Edge Case: extra-enforcer-rules 1.13.0 needs Maven 3.9.0; declared minimum is 3.3.9

📄 lib/pom.xml:138-142

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>
🤖 Prompt for agents
Code Review: 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 `maven.min.version` to 3.9.0 in the root pom, since extra-enforcer-rules 1.13.0 requires Maven 3.9.0 or later while the inherited parent only enforces 3.3.9, so builds on older Maven will fail late at `verify` with an unclear error.

1. 💡 Edge Case: extra-enforcer-rules 1.13.0 needs Maven 3.9.0; declared minimum is 3.3.9
   Files: lib/pom.xml:138-142

   The [1.13.0 release notes](https://github.com/mojohaus/extra-enforcer-rules/releases/tag/1.13.0) 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](https://raw.githubusercontent.com/SonarSource/parent-oss/refs/tags/88.0.0.3367/pom.xml)). 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>`.

   Fix (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>

Verification Rules 3/3 met

Functional validation No results

Rules 3 passed 1 action taken 2 not applicable

✅ Internal artifact registries
✅ Release secrets usage
✅ Repository license compliance
🎸 Review major and minor Renovate updates - Posted advisory summary with Low risk verdict, noting the Maven 3.9.0 requirement of extra-enforcer-rules and pending CI.

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@sonarqube-next

sonarqube-next Bot commented Dec 3, 2026

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant