Skip to content

Use inputExcludes instead of the deprecated excludes - #305

Open
slawekjaranowski wants to merge 1 commit into
masterfrom
rat-input-excludes
Open

slawekjaranowski wants to merge 1 commit into
masterfrom
rat-input-excludes

Conversation

@slawekjaranowski

Copy link
Copy Markdown
Member

The excludes parameter of apache-rat-plugin is deprecated for removal
since RAT 0.17. With RAT 0.18, used since maven-plugins 50, the build logs:

[WARNING] Parameter 'excludes' is deprecated: Deprecated for removal
          since 0.17: Use <inputExclude> instead.
[WARNING] Use of deprecated option 'exclude'. Deprecated for removal
          since 0.17: Use <inputExclude> instead.

Switching to inputExcludes clears both warnings. The combine.children="append"
attribute is dropped as well, matching what was already done in
maven-source-plugin, maven-resources-plugin, maven-rar-plugin,
maven-checkstyle-plugin and maven-deploy-plugin.

Verified locally with mvn apache-rat:check - no warnings remain.

🤖 Generated with Claude Code

The excludes parameter is deprecated for removal since RAT 0.17.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant