Repository navigation
Update dependency commons-logging:commons-logging to v99 - #6530
renovate[bot] wants to merge 1 commit into
Conversation
Renovate safety review: Needs attentionPackage: Findings
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 Verdict: Needs attention |
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.OverviewOne unique error template was analyzed from a single log (job 134669415318). The build fails in the Surefire test goal for FailuresSurefire test failure in scanner integration tests after Commons Logging bump to invalid version (confidence: medium)
Summary
Code Review 🚫 Blocked 🟡 Medium risk 0 closed / 1 findingsChanging 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 🚨 Bug: Bogus placeholder version 99.0-does-not-exist breaks dependency resolution
Even if the stub were reachable, it is an empty jar. Spring 7 ( Renovate treated this marker as a 'major' upgrade. Close this PR, keep 1.4.0, and add a Renovate rule (e.g. Revert to the real latest commons-logging release and block the 99.0 placeholder in the Renovate config.🤖 Prompt for agentsVerification Rules 2/2 met PRs 1 inspectedFunctional validation No results Rules 2 passed 1 action taken 1 not applicable
Broader impact PRs 1 inspectedCross-PR 1 PR inspected 0 open impacts
Auto-approval Not enabledFor more verification details, comment Tip 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 |
|
Renovate Jira issue ID: SONARJAVA-7363 |
| <dependency> | ||
| <groupId>commons-logging</groupId> | ||
| <artifactId>commons-logging</artifactId> | ||
| <version>1.4.0</version> | ||
| <version>99.0-does-not-exist</version> | ||
| </dependency> |
There was a problem hiding this comment.
🚨 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 👍 / 👎
There was a problem hiding this comment.
Comment gitar unblock to override this block and allow merging.
Configure merge blocking · Maintainers can dismiss this review.
❌ ErrorsYour PR has failed checks. Please review the issues below and take necessary action before merging. 🚦 1 Pipeline job failed
Useful? React with 👍 / 👎 This comment will be updated automatically if new data arrives.🔗 Commit SHA: 5f867db | Docs | View more details | Give us feedback! |
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
1.4.0→99.0-does-not-existConfiguration
📅 Schedule: (in timezone CET)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.