Skip to content

SONARJAVA-6229 Upgrade parent pom to version 87.0.0.3057#5546

Merged
leonardo-pilastri-sonarsource merged 3 commits intomasterfrom
db/upgrade-parent-pom-to-87.0.0.3057
Apr 2, 2026
Merged

SONARJAVA-6229 Upgrade parent pom to version 87.0.0.3057#5546
leonardo-pilastri-sonarsource merged 3 commits intomasterfrom
db/upgrade-parent-pom-to-87.0.0.3057

Conversation

@dorian-burihabwa-sonarsource
Copy link
Copy Markdown
Contributor

No description provided.

@hashicorp-vault-sonar-prod
Copy link
Copy Markdown
Contributor

hashicorp-vault-sonar-prod bot commented Apr 1, 2026

SONARJAVA-6229

@dorian-burihabwa-sonarsource dorian-burihabwa-sonarsource force-pushed the db/upgrade-parent-pom-to-87.0.0.3057 branch from e024eb9 to e91624d Compare April 1, 2026 17:26
Fixed a bug that breaks compilation of java-checks-test-sources in CI
when a maven dependency, namely com.mycila:license-check:4.6, is
missing from repox.

This bug prevented the upgrade to version 87 of parent-oss.
@dorian-burihabwa-sonarsource dorian-burihabwa-sonarsource force-pushed the db/upgrade-parent-pom-to-87.0.0.3057 branch from 9e9aef8 to 1b98f1b Compare April 1, 2026 18:42
@dorian-burihabwa-sonarsource dorian-burihabwa-sonarsource changed the title SONARJAVA-6229 Uprade parent pom to version 87.0.0.3057 SONARJAVA-6229 Upgrade parent pom to version 87.0.0.3057 Apr 1, 2026
@dorian-burihabwa-sonarsource dorian-burihabwa-sonarsource marked this pull request as ready for review April 1, 2026 18:56
@sonar-review-alpha
Copy link
Copy Markdown

sonar-review-alpha bot commented Apr 1, 2026

Summary

A parent POM version upgrade from 86.0.0.3040 to 87.0.0.3057—a minor version bump that signals dependency and plugin alignment with upstream SonarSource standards. But the real story here is the 2,178 Java files receiving a coordinated license header standardization. Copyright year ranges are removed, the preamble is tightened, and company attribution changes from 'SonarSource SA' to 'SonarSource Sàrl'—a housekeeping operation of impressive scale. The CI/CD workflow gets a tactical reordering: the Maven config step moves earlier to ensure Artifactory credentials and Develocity settings are in place before compilation begins, not after. A new (empty) Sonar Agentic AI profile is registered.

What reviewers should know

This is a bulk maintenance commit masquerading as a single feature change. Start with the pom.xml diff—just one line, trivial. Then examine the workflow changes in .github/workflows/build.yml; the reordering of the config-maven step is intentional and required to work correctly with the parent POM upgrade. The remaining 2,179 file changes are license header uniformity. Spot-check a few Java files to confirm the pattern is consistent—the changes are mechanical and formula-driven. The new JSON profile file is a placeholder; it has zero rule keys and serves as registration infrastructure. Pay attention: this PR will conflict with any open branches that touch license headers or workflow ordering. If you maintain downstream forks or custom builds that depend on the old header format for tooling or validation, plan accordingly.


  • Generate Walkthrough
  • Generate Diagram

🗣️ Give feedback


  • 🐟 April Fools' persona mode!

@dorian-burihabwa-sonarsource
Copy link
Copy Markdown
Contributor Author

dorian-burihabwa-sonarsource commented Apr 1, 2026

I finally found the fix: it turns out that we were compiling the test sources before calling config-maven. As a result, the compilation would fail when a dependency would be missing from repox. I would prefer keeping the 2 3 commits separated to clarify the intent, but I will leave that choice to the reviewer.

sonar-review-alpha[bot]

This comment was marked as resolved.

@sonarqube-next
Copy link
Copy Markdown

sonarqube-next bot commented Apr 1, 2026

Copy link
Copy Markdown

@sonar-review-alpha sonar-review-alpha bot left a comment

Choose a reason for hiding this comment

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

LGTM! ✅

🗣️ Give feedback

@leonardo-pilastri-sonarsource leonardo-pilastri-sonarsource merged commit 343350f into master Apr 2, 2026
30 of 31 checks passed
@leonardo-pilastri-sonarsource leonardo-pilastri-sonarsource deleted the db/upgrade-parent-pom-to-87.0.0.3057 branch April 2, 2026 07:52
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.

2 participants