Upgrade Apache RAT#593
Merged
rschmitt merged 1 commit intoapache:masterfrom Jan 4, 2026
Merged
Conversation
During local development, I'm regularly annoyed by spurious RAT failures. While RAT does have some limitations -- for example, because it never shells out to `git`, it can't ignore untracked files -- newer versions do have improved support for `.gitignore` files, including the global gitignore file when present at `~/.config/git/ignore` (the default location). Additionally, the default exclusions have been improved, so we no longer need quite as much manual configuration. Specific changes: 1. Bumped `apache-rat-plugin` directly to 0.17. (In the version of the Apache parent POM we are using, there is no property we can override to do this.) 2. Removed exclusions that are obsolete or covered by our defaults. 3. Changed `apache-rat:check` to only run in `:httpcore5-parent`, instead of separately validating each subproject. 4. Changed `<exclude>` to `<inputExclude>` as the former is now deprecated.
ok2c
approved these changes
Jan 1, 2026
Member
ok2c
left a comment
There was a problem hiding this comment.
@rschmitt Could you please update https://github.com/apache/httpcomponents-parent# as well?
Contributor
Author
|
Sure, I'll take care of that after I upgrade the client |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
During local development, I'm regularly annoyed by spurious RAT failures. While RAT does have some limitations -- for example, because it never shells out to
git, it can't ignore untracked files -- newer versions do have improved support for.gitignorefiles, including the global gitignore file when present at~/.config/git/ignore(the default location). Additionally, the default exclusions have been improved, so we no longer need quite as much manual configuration.Specific changes:
apache-rat-plugindirectly to 0.17. (In the version of the Apache parent POM we are using, there is no property we can override to do this.)apache-rat:checkto only run in:httpcore5-parent, instead of separately validating each subproject.<exclude>to<inputExclude>as the former is now deprecated.