Arnout Engelen created RAT-477:
----------------------------------
Summary: Changed behavior of ignored files
Key: RAT-477
URL: https://issues.apache.org/jira/browse/RAT-477
Project: Apache Rat
Issue Type: Improvement
Reporter: Arnout Engelen
When running 'mvn' on creadur-rat itself using the version of the plugin from
the current main branch, it lists a number of files with unapproved licenses:
{code:java}
Generated at: 2025-05-31T19:28:45ZFiles with unapproved licenses:
/apache-rat-core/src/it/resources/ReportTest/RAT_14/commandLine.txt
/apache-rat-core/src/it/resources/ReportTest/RAT_14/src/unix-newlines.txt.bin
/apache-rat-core/src/it/resources/ReportTest/RAT_14/src/windows-newlines.txt.bin
/apache-rat-core/src/it/resources/ReportTest/RAT_147/commandLine.txt
/apache-rat-core/src/it/resources/ReportTest/RAT_147/src/unix-newlines.txt.bin
/apache-rat-core/src/it/resources/ReportTest/RAT_147/src/windows-newlines.txt.bin
/apache-rat-core/src/it/resources/ReportTest/RAT_211/commandLine.txt
/apache-rat-core/src/it/resources/ReportTest/RAT_246/commandLine.txt
/apache-rat-core/src/it/resources/ReportTest/RAT_246/notes.md
/apache-rat-core/src/it/resources/ReportTest/RAT_259/commandLine.txt
/apache-rat-core/src/it/resources/ReportTest/RAT_259/elements/Source.java
/apache-rat-core/src/it/resources/ReportTest/RAT_259/elements/sub/Empty.txt
/apache-rat-core/src/it/resources/ReportTest/RAT_259/list.txt
/apache-rat-core/src/it/resources/ReportTest/RAT_335/commandLine.txt
/apache-rat-core/src/it/resources/ReportTest/RAT_335/expected-message.txt
/apache-rat-core/src/it/resources/ReportTest/RAT_335/src/dir1/dir1.md
/apache-rat-core/src/it/resources/ReportTest/RAT_335/src/dir1/file1.log
/apache-rat-core/src/it/resources/ReportTest/RAT_335/src/dir2/dir2.txt
/apache-rat-core/src/it/resources/ReportTest/RAT_335/src/dir3/file3.log
/apache-rat-core/src/it/resources/ReportTest/RAT_408/commandLine.txt
/apache-rat-core/src/it/resources/ReportTest/RAT_408/expected-message.txt
/apache-rat-core/src/it/resources/ReportTest/RAT_408/src/karapace/anonymize_schemas/_init_.py
/apache-rat-core/src/it/resources/ReportTest/RAT_455/commandLine.txt
/apache-rat-core/src/it/resources/ReportTest/RAT_455/src/GPL.md
/apache-rat-core/src/it/resources/ReportTest/RAT_457/commandLine.txt
/apache-rat-core/src/it/resources/ReportTest/RAT_458/commandLine.txt
/apache-rat-core/src/it/resources/ReportTest/RAT_81/commandLine.txt
/apache-rat-core/src/it/resources/ReportTest/readme.md
/apache-rat-core/src/main/java/org/apache/rat/config/exclusion/plexus/SelectorUtils.java
/apache-rat-core/src/main/resources/org/apache/rat/asf.xml
/apache-rat-core/src/main/resources/org/apache/rat/default.xml
/apache-rat-core/src/test/java/org/apache/rat/analysis/license/GPLLicenseTest.java
/apache-rat-plugin/invoker_target/CustomLicense/src/main/java/nl/basjes/something/Something.java
/apache-rat-plugin/invoker_target/RAT-107/covertura.ser
/apache-rat-plugin/invoker_target/RAT-107/submodule/covertura.ser
/apache-rat-plugin/invoker_target/RAT-268/module1/src.apt
/apache-rat-plugin/invoker_target/RAT-268/module2/src.apt
/apache-rat-plugin/invoker_target/RAT-268/module3/src.apt
/apache-rat-plugin/invoker_target/RAT-469/pom.xml
/apache-rat-plugin/invoker_target/it1/out.xml
/apache-rat-plugin/invoker_target/it1/src.apt
/apache-rat-testdata/src/main/resources/examples/exampleData/Source.java
/apache-rat-testdata/src/main/resources/examples/exampleData/sub/Empty.txt
/apache-rat-tools/src/main/resources/Args.tpl {code}
At first glance it looks like the new behavior might be the correct one (these
files indeed don't appear to have licenses, aren't excluded in the plugin
configuration in the pom, and aren't in gitignore), but it might deserve a
second look just to make sure.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)