installation from source rat "too many unapproved licenses"

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

installation from source rat "too many unapproved licenses"

Roger Pack
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

Any ideas?
Thanks.

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

Reply | Threaded
Open this post in threaded view
|

Re: installation from source rat "too many unapproved licenses"

Karl Heinz Marbaise-3
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: installation from source rat "too many unapproved licenses"

Roger Pack
On Mon, Mar 8, 2021 at 12:44 PM Karl Heinz Marbaise <[hidden email]> wrote:

>
> 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

Certainly.

 https://github.com/apache/maven.git master
ad24f599cecf2cbaa94c0339d9256946f846b173

maven % mvn -v

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec
Java version: 1.8.0_265, vendor: Amazon.com Inc., runtime:
/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.7", arch: "x86_64", family: "mac"

maven % mvn -DdistributionTargetDir="$HOME/app/maven/apache-maven-3.7.x-SNAPSHOT"
clean package 2>&1 | grep RAT
[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/maven/target/rat.txt -> [Help 1]

FWIW.  Thanks for your attention.

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