You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by Hemanth Yamijala <yh...@gmail.com> on 2016/11/01 04:36:29 UTC

Re: (ERROR) apache.rat:apache-rat/plugin:too many unapproved licenses

Hi Bilal,

I see you opened a JIRA for this. That's one way to get answers. The
other is to send an email to dev@atlas.incubator.apache.org -
especially if you're not sure there is a bug, or an issue with your
environment. I've copied the email ID now in this response, so we
could take the conversation further there.

I haven't run the rat check myself, but could be please check
$ATLAS_HOME/atlas/target/rat.txt and see if the files that are failing
the license checks are identified there?

Thanks
Hemanth

On Tue, Nov 1, 2016 at 12:51 AM, Bilal Arshad <B....@derby.ac.uk> wrote:
> Apologies in advance if you are not the appropriate person to contact.
>
> Hey There,
>
> I was installing Apache-Atlas framework on Ubuntu 14.04. after git clone
> https://git-wip-us.apache.org/repos/asf/incubator-atlas.git atlas i was
> trying to export and install Maven through export MAVEN_OPTS="-Xmx1536m
> -XX:MaxPermSize=512m" && mvn clean install but it was giving following
> errors:
>
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check
> (rat-check) on project apache-atlas: Too many unapproved licenses: 1 ->
> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run
> Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable
> full debug logging. [ERROR] [ERROR] For more information about the errors
> and possible solutions, please read the following articles: [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>
> i also tried some skip options like:
>
> -DskipTests
>
> -DskipTests -Drat.skip=true
>
> mvn clean validate -Pcheck-licenses
>
> but error was the same.
>
> your kind and urgent help in this regard will be highly appreciated.
>
> Cheers,
>
> Kind Regards
>
> Bilal Arshad
>
> Postgraduate Researcher
>
> University of Derby
>
> Ph: +44-1332-593732
>
>
>
>
>
> The University of Derby has a published policy regarding email and reserves
> the right to monitor email traffic.
> If you believe this was sent to you in error, please reply to the sender and
> let them know.
>
> Key University contacts: http://www.derby.ac.uk/its/contacts/

RE: (ERROR) apache.rat:apache-rat/plugin:too many unapproved licenses

Posted by Bilal Arshad <B....@derby.ac.uk>.
Hi Hemanth,

Thank you for your reply.

I just checked the $ATLAS_HOME/atlas/target/rat.txt file but there are no files that failed license checks.

Not sure what else to try, would you be kind enough to suggest other possible solutions?

Thanking you in anticipation.

Kind Regards
Bilal


-----Original Message-----
From: Hemanth Yamijala [mailto:yhemanth@gmail.com]
Sent: 01 November 2016 04:36
To: Bilal Arshad <B....@derby.ac.uk>
Cc: dev@atlas.incubator.apache.org
Subject: Re: (ERROR) apache.rat:apache-rat/plugin:too many unapproved licenses

Hi Bilal,

I see you opened a JIRA for this. That's one way to get answers. The other is to send an email to dev@atlas.incubator.apache.org - especially if you're not sure there is a bug, or an issue with your environment. I've copied the email ID now in this response, so we could take the conversation further there.

I haven't run the rat check myself, but could be please check $ATLAS_HOME/atlas/target/rat.txt and see if the files that are failing the license checks are identified there?

Thanks
Hemanth

On Tue, Nov 1, 2016 at 12:51 AM, Bilal Arshad <B....@derby.ac.uk> wrote:
> Apologies in advance if you are not the appropriate person to contact.
>
> Hey There,
>
> I was installing Apache-Atlas framework on Ubuntu 14.04. after git
> clone https://git-wip-us.apache.org/repos/asf/incubator-atlas.git
> atlas i was trying to export and install Maven through export
> MAVEN_OPTS="-Xmx1536m -XX:MaxPermSize=512m" && mvn clean install but
> it was giving following
> errors:
>
> [ERROR] Failed to execute goal
> org.apache.rat:apache-rat-plugin:0.7:check
> (rat-check) on project apache-atlas: Too many unapproved licenses: 1
> -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors,
> re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X
> switch to enable full debug logging. [ERROR] [ERROR] For more
> information about the errors and possible solutions, please read the
> following articles: [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>
> i also tried some skip options like:
>
> -DskipTests
>
> -DskipTests -Drat.skip=true
>
> mvn clean validate -Pcheck-licenses
>
> but error was the same.
>
> your kind and urgent help in this regard will be highly appreciated.
>
> Cheers,
>
> Kind Regards
>
> Bilal Arshad
>
> Postgraduate Researcher
>
> University of Derby
>
> Ph: +44-1332-593732
>
>
>
>
>
> The University of Derby has a published policy regarding email and
> reserves the right to monitor email traffic.
> If you believe this was sent to you in error, please reply to the
> sender and let them know.
>
> Key University contacts: http://www.derby.ac.uk/its/contacts/


The University of Derby has a published policy regarding email and reserves the right to monitor email traffic.
If you believe this was sent to you in error, please reply to the sender and let them know.

Key University contacts: http://www.derby.ac.uk/its/contacts/

RE: (ERROR) apache.rat:apache-rat/plugin:too many unapproved licenses

Posted by Bilal Arshad <B....@derby.ac.uk>.
Hi Hemanth,

Thank you for the guidance, it is working with the -DskipTests.

Kind Regards
Bilal

-----Original Message-----
From: Hemanth Yamijala [mailto:yhemanth@gmail.com]
Sent: 01 November 2016 14:10
To: dev@atlas.incubator.apache.org
Cc: Apoorv Naik <an...@hortonworks.com>
Subject: Re: (ERROR) apache.rat:apache-rat/plugin:too many unapproved licenses

Hi,

We've seen test failures on and off - due to some timing issues with the tests. If you are OK with it, you could try building with -DskipTests to avoid the test failures.

Thanks
Hemanth

On Tue, Nov 1, 2016 at 7:26 PM, Bilal Arshad <B....@derby.ac.uk> wrote:
> Thank you so much for the prompt replies.
>
> I tried cleaning any extra files that could have been created temporarily.
>
> And then I tried running the following command:
>
> export MAVEN_OPTS="-Xmx2536m -XX:MaxPermSize=512m" && mvn clean
> install
>
> I got this error:
>
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify (verify) on project atlas-webapp: There are test failures.
>
> Would you be kind enough to suggest what else to try?
>
> Thanking you in anticipation.
>
> Kind Regards
> Bilal
>
> -----Original Message-----
> From: Apoorv Naik [mailto:anaik@hortonworks.com]
> Sent: 01 November 2016 04:40
> To: dev@atlas.incubator.apache.org; Bilal Arshad
> <B....@derby.ac.uk>
> Subject: Re: (ERROR) apache.rat:apache-rat/plugin:too many unapproved
> licenses
>
> I’ve run into rat issues a lot of times, I simply had to clean any extra files that I created temporarily.
>
> Usually I use git clean -fd and git clean -fX to remove any unwanted untracked files.
>
>
>
> On 10/31/16, 9:36 PM, "Hemanth Yamijala" <yh...@gmail.com> wrote:
>
>>Hi Bilal,
>>
>>I see you opened a JIRA for this. That's one way to get answers. The
>>other is to send an email to dev@atlas.incubator.apache.org -
>>especially if you're not sure there is a bug, or an issue with your
>>environment. I've copied the email ID now in this response, so we
>>could take the conversation further there.
>>
>>I haven't run the rat check myself, but could be please check
>>$ATLAS_HOME/atlas/target/rat.txt and see if the files that are failing
>>the license checks are identified there?
>>
>>Thanks
>>Hemanth
>>
>>On Tue, Nov 1, 2016 at 12:51 AM, Bilal Arshad <B....@derby.ac.uk> wrote:
>>> Apologies in advance if you are not the appropriate person to contact.
>>>
>>> Hey There,
>>>
>>> I was installing Apache-Atlas framework on Ubuntu 14.04. after git
>>> clone https://git-wip-us.apache.org/repos/asf/incubator-atlas.git
>>> atlas i was trying to export and install Maven through export
>>> MAVEN_OPTS="-Xmx1536m -XX:MaxPermSize=512m" && mvn clean install but
>>> it was giving following
>>> errors:
>>>
>>> [ERROR] Failed to execute goal
>>> org.apache.rat:apache-rat-plugin:0.7:check
>>> (rat-check) on project apache-atlas: Too many unapproved licenses: 1
>>> -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the
>>> errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using
>>> the -X switch to enable full debug logging. [ERROR] [ERROR] For more
>>> information about the errors and possible solutions, please read the
>>> following articles: [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExceptio
>>> n
>>>
>>> i also tried some skip options like:
>>>
>>> -DskipTests
>>>
>>> -DskipTests -Drat.skip=true
>>>
>>> mvn clean validate -Pcheck-licenses
>>>
>>> but error was the same.
>>>
>>> your kind and urgent help in this regard will be highly appreciated.
>>>
>>> Cheers,
>>>
>>> Kind Regards
>>>
>>> Bilal Arshad
>>>
>>> Postgraduate Researcher
>>>
>>> University of Derby
>>>
>>> Ph: +44-1332-593732
>>>
>>>
>>>
>>>
>>>
>>> The University of Derby has a published policy regarding email and
>>> reserves the right to monitor email traffic.
>>> If you believe this was sent to you in error, please reply to the
>>> sender and let them know.
>>>
>>> Key University contacts: http://www.derby.ac.uk/its/contacts/
>>
>
>
> The University of Derby has a published policy regarding email and reserves the right to monitor email traffic.
> If you believe this was sent to you in error, please reply to the sender and let them know.
>
> Key University contacts: http://www.derby.ac.uk/its/contacts/


The University of Derby has a published policy regarding email and reserves the right to monitor email traffic.
If you believe this was sent to you in error, please reply to the sender and let them know.

Key University contacts: http://www.derby.ac.uk/its/contacts/

Re: (ERROR) apache.rat:apache-rat/plugin:too many unapproved licenses

Posted by Hemanth Yamijala <yh...@gmail.com>.
Hi,

We've seen test failures on and off - due to some timing issues with
the tests. If you are OK with it, you could try building with
-DskipTests to avoid the test failures.

Thanks
Hemanth

On Tue, Nov 1, 2016 at 7:26 PM, Bilal Arshad <B....@derby.ac.uk> wrote:
> Thank you so much for the prompt replies.
>
> I tried cleaning any extra files that could have been created temporarily.
>
> And then I tried running the following command:
>
> export MAVEN_OPTS="-Xmx2536m -XX:MaxPermSize=512m" && mvn clean install
>
> I got this error:
>
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify (verify) on project atlas-webapp: There are test failures.
>
> Would you be kind enough to suggest what else to try?
>
> Thanking you in anticipation.
>
> Kind Regards
> Bilal
>
> -----Original Message-----
> From: Apoorv Naik [mailto:anaik@hortonworks.com]
> Sent: 01 November 2016 04:40
> To: dev@atlas.incubator.apache.org; Bilal Arshad <B....@derby.ac.uk>
> Subject: Re: (ERROR) apache.rat:apache-rat/plugin:too many unapproved licenses
>
> I’ve run into rat issues a lot of times, I simply had to clean any extra files that I created temporarily.
>
> Usually I use git clean -fd and git clean -fX to remove any unwanted untracked files.
>
>
>
> On 10/31/16, 9:36 PM, "Hemanth Yamijala" <yh...@gmail.com> wrote:
>
>>Hi Bilal,
>>
>>I see you opened a JIRA for this. That's one way to get answers. The
>>other is to send an email to dev@atlas.incubator.apache.org -
>>especially if you're not sure there is a bug, or an issue with your
>>environment. I've copied the email ID now in this response, so we could
>>take the conversation further there.
>>
>>I haven't run the rat check myself, but could be please check
>>$ATLAS_HOME/atlas/target/rat.txt and see if the files that are failing
>>the license checks are identified there?
>>
>>Thanks
>>Hemanth
>>
>>On Tue, Nov 1, 2016 at 12:51 AM, Bilal Arshad <B....@derby.ac.uk> wrote:
>>> Apologies in advance if you are not the appropriate person to contact.
>>>
>>> Hey There,
>>>
>>> I was installing Apache-Atlas framework on Ubuntu 14.04. after git
>>> clone https://git-wip-us.apache.org/repos/asf/incubator-atlas.git
>>> atlas i was trying to export and install Maven through export
>>> MAVEN_OPTS="-Xmx1536m -XX:MaxPermSize=512m" && mvn clean install but
>>> it was giving following
>>> errors:
>>>
>>> [ERROR] Failed to execute goal
>>> org.apache.rat:apache-rat-plugin:0.7:check
>>> (rat-check) on project apache-atlas: Too many unapproved licenses: 1
>>> -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the
>>> errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using
>>> the -X switch to enable full debug logging. [ERROR] [ERROR] For more
>>> information about the errors and possible solutions, please read the
>>> following articles: [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>>
>>> i also tried some skip options like:
>>>
>>> -DskipTests
>>>
>>> -DskipTests -Drat.skip=true
>>>
>>> mvn clean validate -Pcheck-licenses
>>>
>>> but error was the same.
>>>
>>> your kind and urgent help in this regard will be highly appreciated.
>>>
>>> Cheers,
>>>
>>> Kind Regards
>>>
>>> Bilal Arshad
>>>
>>> Postgraduate Researcher
>>>
>>> University of Derby
>>>
>>> Ph: +44-1332-593732
>>>
>>>
>>>
>>>
>>>
>>> The University of Derby has a published policy regarding email and
>>> reserves the right to monitor email traffic.
>>> If you believe this was sent to you in error, please reply to the
>>> sender and let them know.
>>>
>>> Key University contacts: http://www.derby.ac.uk/its/contacts/
>>
>
>
> The University of Derby has a published policy regarding email and reserves the right to monitor email traffic.
> If you believe this was sent to you in error, please reply to the sender and let them know.
>
> Key University contacts: http://www.derby.ac.uk/its/contacts/

RE: (ERROR) apache.rat:apache-rat/plugin:too many unapproved licenses

Posted by Bilal Arshad <B....@derby.ac.uk>.
Thank you so much for the prompt replies.

I tried cleaning any extra files that could have been created temporarily.

And then I tried running the following command:

export MAVEN_OPTS="-Xmx2536m -XX:MaxPermSize=512m" && mvn clean install

I got this error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify (verify) on project atlas-webapp: There are test failures.

Would you be kind enough to suggest what else to try?

Thanking you in anticipation.

Kind Regards
Bilal

-----Original Message-----
From: Apoorv Naik [mailto:anaik@hortonworks.com]
Sent: 01 November 2016 04:40
To: dev@atlas.incubator.apache.org; Bilal Arshad <B....@derby.ac.uk>
Subject: Re: (ERROR) apache.rat:apache-rat/plugin:too many unapproved licenses

I’ve run into rat issues a lot of times, I simply had to clean any extra files that I created temporarily.

Usually I use git clean -fd and git clean -fX to remove any unwanted untracked files.



On 10/31/16, 9:36 PM, "Hemanth Yamijala" <yh...@gmail.com> wrote:

>Hi Bilal,
>
>I see you opened a JIRA for this. That's one way to get answers. The
>other is to send an email to dev@atlas.incubator.apache.org -
>especially if you're not sure there is a bug, or an issue with your
>environment. I've copied the email ID now in this response, so we could
>take the conversation further there.
>
>I haven't run the rat check myself, but could be please check
>$ATLAS_HOME/atlas/target/rat.txt and see if the files that are failing
>the license checks are identified there?
>
>Thanks
>Hemanth
>
>On Tue, Nov 1, 2016 at 12:51 AM, Bilal Arshad <B....@derby.ac.uk> wrote:
>> Apologies in advance if you are not the appropriate person to contact.
>>
>> Hey There,
>>
>> I was installing Apache-Atlas framework on Ubuntu 14.04. after git
>> clone https://git-wip-us.apache.org/repos/asf/incubator-atlas.git
>> atlas i was trying to export and install Maven through export
>> MAVEN_OPTS="-Xmx1536m -XX:MaxPermSize=512m" && mvn clean install but
>> it was giving following
>> errors:
>>
>> [ERROR] Failed to execute goal
>> org.apache.rat:apache-rat-plugin:0.7:check
>> (rat-check) on project apache-atlas: Too many unapproved licenses: 1
>> -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the
>> errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using
>> the -X switch to enable full debug logging. [ERROR] [ERROR] For more
>> information about the errors and possible solutions, please read the
>> following articles: [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>
>> i also tried some skip options like:
>>
>> -DskipTests
>>
>> -DskipTests -Drat.skip=true
>>
>> mvn clean validate -Pcheck-licenses
>>
>> but error was the same.
>>
>> your kind and urgent help in this regard will be highly appreciated.
>>
>> Cheers,
>>
>> Kind Regards
>>
>> Bilal Arshad
>>
>> Postgraduate Researcher
>>
>> University of Derby
>>
>> Ph: +44-1332-593732
>>
>>
>>
>>
>>
>> The University of Derby has a published policy regarding email and
>> reserves the right to monitor email traffic.
>> If you believe this was sent to you in error, please reply to the
>> sender and let them know.
>>
>> Key University contacts: http://www.derby.ac.uk/its/contacts/
>


The University of Derby has a published policy regarding email and reserves the right to monitor email traffic.
If you believe this was sent to you in error, please reply to the sender and let them know.

Key University contacts: http://www.derby.ac.uk/its/contacts/

Re: (ERROR) apache.rat:apache-rat/plugin:too many unapproved licenses

Posted by Apoorv Naik <an...@hortonworks.com>.
I’ve run into rat issues a lot of times, I simply had to clean any extra files that I created temporarily.

Usually I use git clean -fd and git clean -fX to remove any unwanted untracked files.



On 10/31/16, 9:36 PM, "Hemanth Yamijala" <yh...@gmail.com> wrote:

>Hi Bilal,
>
>I see you opened a JIRA for this. That's one way to get answers. The
>other is to send an email to dev@atlas.incubator.apache.org -
>especially if you're not sure there is a bug, or an issue with your
>environment. I've copied the email ID now in this response, so we
>could take the conversation further there.
>
>I haven't run the rat check myself, but could be please check
>$ATLAS_HOME/atlas/target/rat.txt and see if the files that are failing
>the license checks are identified there?
>
>Thanks
>Hemanth
>
>On Tue, Nov 1, 2016 at 12:51 AM, Bilal Arshad <B....@derby.ac.uk> wrote:
>> Apologies in advance if you are not the appropriate person to contact.
>>
>> Hey There,
>>
>> I was installing Apache-Atlas framework on Ubuntu 14.04. after git clone
>> https://git-wip-us.apache.org/repos/asf/incubator-atlas.git atlas i was
>> trying to export and install Maven through export MAVEN_OPTS="-Xmx1536m
>> -XX:MaxPermSize=512m" && mvn clean install but it was giving following
>> errors:
>>
>> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check
>> (rat-check) on project apache-atlas: Too many unapproved licenses: 1 ->
>> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run
>> Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable
>> full debug logging. [ERROR] [ERROR] For more information about the errors
>> and possible solutions, please read the following articles: [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>
>> i also tried some skip options like:
>>
>> -DskipTests
>>
>> -DskipTests -Drat.skip=true
>>
>> mvn clean validate -Pcheck-licenses
>>
>> but error was the same.
>>
>> your kind and urgent help in this regard will be highly appreciated.
>>
>> Cheers,
>>
>> Kind Regards
>>
>> Bilal Arshad
>>
>> Postgraduate Researcher
>>
>> University of Derby
>>
>> Ph: +44-1332-593732
>>
>>
>>
>>
>>
>> The University of Derby has a published policy regarding email and reserves
>> the right to monitor email traffic.
>> If you believe this was sent to you in error, please reply to the sender and
>> let them know.
>>
>> Key University contacts: http://www.derby.ac.uk/its/contacts/
>