Hi Roger,

On 08.03.21 20:30, Roger Pack wrote:
Hello.

After doing a git clonehttps://github.com/apache/maven.git, I try
this, following the instructions from the bottom of the README to
install from source:

$ mvn -DdistributionTargetDir="$HOME/app/maven/apache-maven-3.7.x-SNAPSHOT"
clean package

It fails with this message:

[INFO] Rat check: Summary over all files. Unapproved: 1, unknown: 1,
generated: 0, approved: 18 licenses.
...
[INFO] Apache Maven ....................................... FAILURE [ 49.494 s]
...
[ERROR] Failed to execute goal
org.apache.rat:apache-rat-plugin:0.13:check (rat-check) on project
maven: Too many files with unapproved license: 1 See RAT report in:
/redacted.../target/rat.txt -> [Help 1]

rat.txt file shows this culprit.

  !????? distro/bin/m2.conf

Can you please describe exactly which branch you are using? Which JDK
you are using and which Maven version you are using to build?

because I can't reproduce this...


Kind regards
Karl Heinz Marbaise


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to