Skip to content

MNG-11800 Exclude Eclipse IDE files and stale build artifacts from …#11801

Open
achyuth8055 wants to merge 1 commit intoapache:masterfrom
achyuth8055:fix/rat-exclude-ide-and-stale-files
Open

MNG-11800 Exclude Eclipse IDE files and stale build artifacts from …#11801
achyuth8055 wants to merge 1 commit intoapache:masterfrom
achyuth8055:fix/rat-exclude-ide-and-stale-files

Conversation

@achyuth8055
Copy link
Contributor

Fixes #11800

Problem :
RAT license checks were failing because it was scanning files that shouldn't
be checked — Eclipse IDE files (.classpath, .project, .settings/) and stale
build artifacts (.plxarc). These patterns are already in .gitignore but RAT
uses its own exclude configuration.

Added 4 exclude patterns to the apache-rat-plugin configuration in the root pom.xml:

  • **/.classpath
  • **/.project
  • **/.settings/**
  • **/.plxarc

Copilot AI review requested due to automatic review settings March 14, 2026 22:53
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the root build configuration to prevent Apache RAT license checks from scanning Eclipse IDE metadata and a known stale artifact file, aligning RAT’s exclusions with patterns already ignored by Git.

Changes:

  • Add RAT excludes for Eclipse project files: .classpath, .project, and .settings/**
  • Add RAT exclude for .plxarc stale build artifact files

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

pom.xml Outdated
<!--
! Exclude build output files that may exist in stale or non-module directories
-->
<exclude>**/.plxarc</exclude>
…RAT checks

RAT was scanning files that should be ignored:
- Eclipse IDE files (.classpath, .project, .settings/) which are not
  cleaned by mvn clean
- .plxarc files in stale/non-module target directories

These patterns are already in .gitignore but RAT uses its own exclude
configuration. Added the corresponding excludes to the apache-rat-plugin
configuration in the root pom.xml.
@achyuth8055 achyuth8055 force-pushed the fix/rat-exclude-ide-and-stale-files branch from ee586af to e5b18ac Compare March 14, 2026 23:02
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.

RAT checks for licenses are failing

2 participants