Skip to content

Replace deprecated Maven license plugin parameter - #96

Merged
andreaTP merged 1 commit into
bytecodealliance:mainfrom
Marcono1234:patch-1
Jul 20, 2026
Merged

andreaTP merged 1 commit into
bytecodealliance:mainfrom
Marcono1234:patch-1

Conversation

@Marcono1234

Copy link
Copy Markdown
Contributor

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

@andreaTP andreaTP left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks!

@andreaTP
andreaTP merged commit 97a27e8 into bytecodealliance:main Jul 20, 2026
25 checks passed
@Marcono1234
Marcono1234 deleted the patch-1 branch July 20, 2026 19:31
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