Skip to content

Replace deprecated Maven license plugin parameter#96

Open
Marcono1234 wants to merge 1 commit into
bytecodealliance:mainfrom
Marcono1234:patch-1
Open

Replace deprecated Maven license plugin parameter#96
Marcono1234 wants to merge 1 commit into
bytecodealliance:mainfrom
Marcono1234:patch-1

Conversation

@Marcono1234

Copy link
Copy Markdown

The Maven build was previously logging a warning, for example:

[INFO] --- license:2.7.1:add-third-party (check-licenses) @ compiler ---
[WARNING] Parameter 'failIfWarning' (user property 'license.failIfWarning') is deprecated: since 1.14, use now failOnMissing or failOnBlacklist.

Based on the source code of the plugin it looks like failIfWarning indeed acts like a combination of failOnMissing and failOnBlacklist. The parameter failOnBlacklist was already set to true, so I additionally set failOnMissing to true as well.

@Marcono1234
Marcono1234 requested a review from andreaTP as a code owner July 17, 2026 21:09
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.

1 participant