Philipp Ottlinger created RAT-526:
-------------------------------------
Summary: Unable to update maven-resources-plugin from 3.3.1 to
3.4.0 - all tests fail
Key: RAT-526
URL: https://issues.apache.org/jira/browse/RAT-526
Project: Apache RAT
Issue Type: Bug
Affects Versions: 0.17
Reporter: Philipp Ottlinger
https://github.com/apache/creadur-rat/pull/589
introduced an update of the maven-resources-plugin that resulted in a failure
of all tests.
The release notes of the plugin do not seem to indicate that something basic
was changed, but all tests fail:
{noformat}
[ERROR] Failures:
[ERROR] ReportTest.integrationTest:148 RAT_335:
Expecting empty but was: ["/.gitignore",
"/root.md",
"/dir3/dir3.log",
"/dir1/.gitignore",
"/dir1/dir1.txt",
"/dir2/dir2.md"]
[ERROR] ReportTest.integrationTest:148 RAT_362:
Expecting empty but was: ["/.gitignore", "/foo.md", "/src.md"]
[ERROR] GitIgnoreBuilderTest.test_RAT_335:137
expected: "matcherSet(or('included dir1/.gitignore', 'included .gitignore'),
or('excluded dir1/.gitignore', **/.gitignore, 'excluded .gitignore'))"
but was: "not(**/.gitignore)"
[ERROR] GitIgnoreBuilderTest.test_global_gitignore:175
expected: "matcherSet(or('included dir1/.gitignore', 'included .gitignore',
'included global gitignore'), or('excluded dir1/.gitignore', **/.gitignore,
'excluded .gitignore', 'excluded global gitignore'))"
but was: "not(**/.gitignore)"
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)