Skip to content

BUILD-10792 Bump license-headers to 1.7.0.32; drop license.years#304

Merged
tomverin merged 2 commits intomasterfrom
chore/tom/BUILD-10792-license-headers
Mar 27, 2026
Merged

BUILD-10792 Bump license-headers to 1.7.0.32; drop license.years#304
tomverin merged 2 commits intomasterfrom
chore/tom/BUILD-10792-license-headers

Conversation

@tomverin
Copy link
Copy Markdown
Contributor

@tomverin tomverin commented Mar 26, 2026

BUILD-10792 Bump license-headers to 1.7.0.32; drop license.years

Context

Aligns the OSS Maven parent with BUILD-10792: consume license-headers 1.7.0.32 (dateless templates) and stop passing license.years into the Mycila license-maven-plugin.

Changes

  • Dependency org.sonarsource.license-headers:license-headers1.7.0.32
  • Remove license.years property and <license.years> plugin configuration entry

Breaking / follow-up

Child POMs that overrode license.years only for headers can remove those overrides. Repositories must refresh source headers when bumping parent so files match the new templates.

Test

  • sonar-java#5536 — dogfood PR using a promoted build from this parent-oss (SSALv1 headers refreshed with mvn license:format only).

Related

Use dateless header templates; remove Mycila license.years property wiring.
@tomverin tomverin requested a review from a team as a code owner March 26, 2026 14:04
Copilot AI review requested due to automatic review settings March 26, 2026 14:04
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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-headers from 1.6.0.21 to 1.7.0.32.
  • Remove the license.years property and stop passing it into com.mycila:license-maven-plugin properties.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqube-next
Copy link
Copy Markdown

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
@tomverin tomverin merged commit 7983aea into master Mar 27, 2026
5 checks passed
@tomverin tomverin deleted the chore/tom/BUILD-10792-license-headers branch March 27, 2026 08:35
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.

3 participants