Skip to content

Rename the licenseFile property to license.licenseFile - #797

Merged
slachiewicz merged 1 commit into
masterfrom
agent/license-file-property
Nov 8, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/license-file-property

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

The licenseFile parameter of update-project-license and check-project-license was bound to the misspelled license.licenceFile. It is now license.licenseFile; since a parameter carries one property, the old -Dlicense.licenceFile is still read from the session user properties, with a deprecation warning, while the parameter has its default value (an explicit <licenseFile> or the new property wins).

Closes #479

Verified: mvn test -Dtest=AbstractLicenseMojoTest → fails to compile before, 3 tests pass after

@slachiewicz slachiewicz added the bug Something isn't working label Nov 8, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review November 8, 2026 23:01
@slachiewicz
slachiewicz merged commit 22be846 into master Nov 8, 2026
15 checks passed
@slachiewicz
slachiewicz deleted the agent/license-file-property branch November 8, 2026 23:01
@github-actions github-actions Bot added this to the 2.8.1 milestone Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UpdateProjectLicenseMojo should have a property license.licenseFile and not license.licenceFile

1 participant