Skip to content

Use inputExcludes instead of the deprecated excludes - #305

Merged
slawekjaranowski merged 1 commit into
masterfrom
rat-input-excludes
Sep 28, 2026
Merged

slawekjaranowski merged 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>
@slawekjaranowski slawekjaranowski self-assigned this Sep 25, 2026
@slawekjaranowski
slawekjaranowski merged commit 91af632 into master Sep 28, 2026
22 checks passed
@slawekjaranowski
slawekjaranowski deleted the rat-input-excludes branch September 28, 2026 16:37
@github-actions github-actions Bot added this to the 3.3.0 milestone Sep 28, 2026
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