apache / apache/maven-apache-parent

[MPOM-342] Configure some default excludes for apache-rat-plugin

Open
#497 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
48
Forks
34
Avg merge
1d 8h
Merged PRs (30d)
4

Description

**[Konrad Windszus](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=kwin)** opened **[MPOM-342](https://issues.apache.org/jira/browse/MPOM-342?redirect=false)** and commented

As the version 0.14 now also checks for license headers in `.gitignore` and `.gitattributes` files (compare with RAT-308) and these files seem to be considered not relevant (compare with https://www.apache.org/legal/src-headers.html#faq-exceptions and https://github.com/apache/maven-resolver/pull/193#issuecomment-1249435233) those should be globally ignored for all ASF projects.

This has already been done for some downstream projects like https://github.com/apache/maven/pull/792/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8R578.

---

**Issue Links:**
- [RAT-308](https://issues.apache.org/jira/browse/RAT-308) After update from 0.13 to 0.14 check emits violation for ".gitattributes"
(_**"is caused by"**_)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the apache-rat-plugin configuration in the Maven parent POM and compare the downstream Maven change referenced in the issue. Done means .gitignore and .gitattributes are globally excluded from Apache RAT license-header checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.