Skip to content

Update dependency commons-logging:commons-logging to v99 - #6530

Closed
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/major-commons-logging-commons-logging
Closed

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/major-commons-logging-commons-logging

Conversation

@renovate

@renovate renovate Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
commons-logging:commons-logging 1.4.0 → 99.0-does-not-exist age confidence

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: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • 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 added the dependencies Pull requests that update a dependency file label Nov 18, 2026
@gitar-bot

gitar-bot Bot commented Nov 18, 2026

Copy link
Copy Markdown

Renovate safety review: Needs attention

Package: commons-logging:commons-logging 1.4.0 → 99.0-does-not-exist (managed dependency in root pom.xml, line 301).

Findings

  • 99.0-does-not-exist is not a real release. It is a placeholder version published to the Maven index, and the upstream project's own link for it is a blog post titled "no more commons-logging". Real releases are in the 1.x line (latest is 1.4.0), so there is no genuine major upgrade to evaluate. Dependency resolution will fail or pull in a stub.
  • This repository has already reverted this exact update once: ca20fa8 "SONARJAVA-7357 Undo 'Update dependency commons-logging:commons-logging to v99' (SONARJAVA-7357 Undo 'Update dependency commons-logging:commons-logging to v99' #6524)". Merging this PR would reintroduce the problem.
  • The managed version is used by sonar-java-plugin/pom.xml (direct dependency), so the bad version would affect the shipped plugin.

CI: Not assessed here; any build that resolves this dependency is expected to fail.

Recommendation: Close this PR without merging. To stop it from coming back, add a packageRules entry in .github/renovate.json with matchPackageNames: ["commons-logging:commons-logging"] and allowedVersions: "<2" (or enabled: false for major updates).

Verdict: Needs attention

@gitar-bot

gitar-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
CI failed: Maven Surefire failed in the scanner integration tests (it-java-scanner-integration-tests) after the PR bumped Commons Logging to 99.0-does-not-exist, an invalid version that is the likely cause; the specific failing test is not visible in the log excerpt.

Overview

One unique error template was analyzed from a single log (job 134669415318). The build fails in the Surefire test goal for it-java-scanner-integration-tests, and the excerpt omits the individual test results, so the exact failing test is unconfirmed.

Failures

Surefire test failure in scanner integration tests after Commons Logging bump to invalid version (confidence: medium)

  • Type: test
  • Affected jobs: 134669415318
  • Related to change: yes
  • Root cause: The PR changes the Commons Logging dependency in pom.xml from 1.4.0 to 99.0-does-not-exist. That version is not a valid published artifact, so tests that resolve or use it can fail. The log points to its/scanner-integration-tests/target/surefire-reports but omits those reports, so the failing test and exact failure mechanism could not be confirmed.
  • Suggested fix: Replace 99.0-does-not-exist in pom.xml with a valid published Commons Logging version (for example 1.4.0 or the latest available 1.x/99.x release that actually exists), then rerun it-java-scanner-integration-tests and inspect its/scanner-integration-tests/target/surefire-reports to confirm the tests pass.

Summary

  • Change-related failures: 1 finding (Surefire failure in it-java-scanner-integration-tests, linked to the invalid Commons Logging version in the PR).
  • Infrastructure/flaky failures: None identified.
  • Recommended action: Revert or correct the dependency version in pom.xml to a real Commons Logging release, rerun the build, and check the Surefire reports for the specific failing test if it still fails.
Code Review 🚫 Blocked 🟡 Medium risk 0 closed / 1 findings

Changing commons-logging to the nonexistent 99.0-does-not-exist version could prevent Maven dependency resolution and block builds.

Renovate bump of commons-logging to 99.0-does-not-exist is blocked by a critical finding: this is a placeholder stub version, not a real release, and it will fail dependency resolution in pom.xml. Close this PR and keep 1.4.0, with a Renovate rule to prevent it from reopening.

🚨 Bug: Bogus placeholder version 99.0-does-not-exist breaks dependency resolution

📄 pom.xml:298-302

99.0-does-not-exist isn't a real commons-logging release. It's the old "version 99" trick: an empty stub jar meant to keep commons-logging off the classpath, and it is hosted on a separate version99 repository, not on Maven Central. This pom only defines a local-folder distributionManagement repository and adds no repository that hosts the stub. sonar-java-plugin/pom.xml declares commons-logging (provided scope) with its version taken from this managed entry, so Maven will fail to resolve commons-logging:commons-logging:99.0-does-not-exist and the build breaks.

Even if the stub were reachable, it is an empty jar. Spring 7 (spring-expression 7.0.10, managed in this same pom) depends on commons-logging transitively, so wherever the managed version applies, the test or compile classpath would lose org.apache.commons.logging.LogFactory and fail with NoClassDefFoundError.

Renovate treated this marker as a 'major' upgrade. Close this PR, keep 1.4.0, and add a Renovate rule (e.g. allowedVersions: "<99" or ignoring 99.0-does-not-exist) so the PR isn't opened again.

Revert to the real latest commons-logging release and block the 99.0 placeholder in the Renovate config.
<version>1.4.0</version>
🤖 Prompt for agents
Code Review: Renovate bump of commons-logging to `99.0-does-not-exist` is blocked by a critical finding: this is a placeholder stub version, not a real release, and it will fail dependency resolution in `pom.xml`. Close this PR and keep 1.4.0, with a Renovate rule to prevent it from reopening.

1. 🚨 Bug: Bogus placeholder version 99.0-does-not-exist breaks dependency resolution
   Files: pom.xml:298-302

   `99.0-does-not-exist` isn't a real commons-logging release. It's the old "version 99" trick: an empty stub jar meant to keep commons-logging off the classpath, and it is hosted on a separate version99 repository, not on Maven Central. This pom only defines a local-folder `distributionManagement` repository and adds no repository that hosts the stub. `sonar-java-plugin/pom.xml` declares commons-logging (provided scope) with its version taken from this managed entry, so Maven will fail to resolve `commons-logging:commons-logging:99.0-does-not-exist` and the build breaks.
   
   Even if the stub were reachable, it is an empty jar. Spring 7 (`spring-expression` 7.0.10, managed in this same pom) depends on commons-logging transitively, so wherever the managed version applies, the test or compile classpath would lose `org.apache.commons.logging.LogFactory` and fail with NoClassDefFoundError.
   
   Renovate treated this marker as a 'major' upgrade. Close this PR, keep 1.4.0, and add a Renovate rule (e.g. `allowedVersions: "<99"` or ignoring `99.0-does-not-exist`) so the PR isn't opened again.

   Fix (Revert to the real latest commons-logging release and block the 99.0 placeholder in the Renovate config.):
   <version>1.4.0</version>

Verification Rules 2/2 met PRs 1 inspected

Functional validation No results

Rules 2 passed 1 action taken 1 not applicable

✅ Internal artifact registries
✅ Repository license compliance
🎸 Review major and minor Renovate updates - Posted advisory summary with 'Needs attention' verdict: bogus placeholder version 99.0-does-not-exist, previously reverted in #6524.

Broader impact PRs 1 inspected
Cross-PR 1 PR inspected 0 open impacts

PR 6500: SONARJAVA-7320 Cache safe Maven module results in PR checks Inspected

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Tip

Comment Gitar fix CI or enable auto-apply: gitar auto-apply:on

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing compact verification results.
Unblock → Override a blocking verdict and allow merging.

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

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

Was this helpful? React with 👍 / 👎 | Gitar

@hashicorp-vault-sonar-prod

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

Copy link
Copy Markdown
Contributor

Renovate Jira issue ID: SONARJAVA-7363

Comment thread pom.xml
Comment on lines 298 to 302
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.4.0</version>
<version>99.0-does-not-exist</version>
</dependency>

@gitar-bot gitar-bot Bot Nov 18, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🚨 Bug: Bogus placeholder version 99.0-does-not-exist breaks dependency resolution

99.0-does-not-exist isn't a real commons-logging release. It's the old "version 99" trick: an empty stub jar meant to keep commons-logging off the classpath, and it is hosted on a separate version99 repository, not on Maven Central. This pom only defines a local-folder distributionManagement repository and adds no repository that hosts the stub. sonar-java-plugin/pom.xml declares commons-logging (provided scope) with its version taken from this managed entry, so Maven will fail to resolve commons-logging:commons-logging:99.0-does-not-exist and the build breaks.

Even if the stub were reachable, it is an empty jar. Spring 7 (spring-expression 7.0.10, managed in this same pom) depends on commons-logging transitively, so wherever the managed version applies, the test or compile classpath would lose org.apache.commons.logging.LogFactory and fail with NoClassDefFoundError.

Renovate treated this marker as a 'major' upgrade. Close this PR, keep 1.4.0, and add a Renovate rule (e.g. allowedVersions: "<99" or ignoring 99.0-does-not-exist) so the PR isn't opened again.

Revert to the real latest commons-logging release and block the 99.0 placeholder in the Renovate config.:

<version>1.4.0</version>

Was this helpful? React with 👍 / 👎

@gitar-bot gitar-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ This PR is blocked due to unresolved code review findings.

Comment gitar unblock to override this block and allow merging.

Configure merge blocking · Maintainers can dismiss this review.

@datadog-sonarsource

datadog-sonarsource Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Pipelines

❌ Errors

Your PR has failed checks. Please review the issues below and take necessary action before merging.

🚦 1 Pipeline job failed

Build | Test Analyze

View more details · View in GitHub Actions

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 5f867db | Docs | View more details | Give us feedback!

@renovate

renovate Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 99.x releases. But if you manually upgrade to 99.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate
renovate Bot deleted the renovate/major-commons-logging-commons-logging branch November 18, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant