BUILD-10792 Bump license-headers to 1.7.0.32; drop license.years#304
Merged
BUILD-10792 Bump license-headers to 1.7.0.32; drop license.years#304
Conversation
Use dateless header templates; remove Mycila license.years property wiring.
There was a problem hiding this comment.
Pull request overview
Updates the OSS Maven parent’s license header tooling to use dateless header templates and removes the now-unneeded license.years propagation into the Mycila license plugin.
Changes:
- Bump
org.sonarsource.license-headers:license-headersfrom1.6.0.21to1.7.0.32. - Remove the
license.yearsproperty and stop passing it intocom.mycila:license-maven-pluginproperties.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Addresses Copilot review on PR #304.
|
tomverin
added a commit
to SonarSource/sonar-java
that referenced
this pull request
Mar 26, 2026
Bump org.sonarsource.parent:parent to the PR build from SonarSource/parent-oss#304 (CI run 23599592391, BUILD_NUMBER 3056). Refresh all headers with: mvn -B -DskipTests license:format
julien-carsique-sonarsource
approved these changes
Mar 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





BUILD-10792 Bump license-headers to 1.7.0.32; drop license.years
Context
Aligns the OSS Maven parent with BUILD-10792: consume
license-headers1.7.0.32 (dateless templates) and stop passinglicense.yearsinto the Mycila license-maven-plugin.Changes
org.sonarsource.license-headers:license-headers→ 1.7.0.32license.yearsproperty and<license.years>plugin configuration entryBreaking / follow-up
Child POMs that overrode
license.yearsonly for headers can remove those overrides. Repositories must refresh source headers when bumping parent so files match the new templates.Test
mvn license:formatonly).Related