Skip to content

Upgrade Apache RAT - #593

Merged
rschmitt merged 1 commit into
apache:masterfrom
rschmitt:rat
Jan 4, 2026
Merged

rschmitt merged 1 commit into
apache:masterfrom
rschmitt:rat

Conversation

@rschmitt

Copy link
Copy Markdown
Contributor

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.

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.
@rschmitt
rschmitt requested a review from ok2c December 30, 2025 20:30

@ok2c ok2c left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@rschmitt

rschmitt commented Jan 4, 2026

Copy link
Copy Markdown
Contributor Author

Sure, I'll take care of that after I upgrade the client

@rschmitt
rschmitt merged commit 4c7780c into apache:master Jan 4, 2026
14 of 18 checks passed
@rschmitt
rschmitt deleted the rat branch January 4, 2026 18:58
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