Skip to content

Conversation

@rschmitt
Copy link
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
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.

1 participant