Dear developers, (dear Philipp - met you at ApacheCon in Berlin)

Perhaps you have stumbled over the same problem or heard about a solution.
This is not necessarily an issue of rat (therefore no issue written), but
it occurs with rat:

*Problem:*
In a multi-pom repository, I receive the error message
*[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.14:check
(default) on project schema2template: Cannot read header:
src/main/java/schema2template/OutputFileListEntry.java (No such file or
directory)*

But when '*mvn clean install -Ppedantic*' is being called from the project
root. But if you execute the call directly from the subdirectory (a sub-sub
pom.xml in generator/schema2template)  it works fine.

You might quickly reproduce by:
*git clone -b pedantic-problem  https://github.com/tdf/odftoolkit
<https://github.com/tdf/odftoolkit>*
*cd odftoolkit*
*mvn clean install -Ppedantic*

I checked the latest RAT build, on Windows (with old Maven 3.6.3 and the
latest 3.8.6 on Windows) and Linux with 3.8.3 all the same behaviour.
Finally, it still works on my main branch, but there are a lot of changes
in the pom.xml (as I forgot to build with RAT for quite a while).

Any ideas/suggestions?

Thanks in advance,
Svante

Reply via email to