You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Shawn McKinney <sm...@apache.org> on 2021/06/30 19:28:22 UTC

Too many files with unapproved license: 427 See RAT report

Hello,

Beginning fortress release preps and stumbled across this when I run:

```
mvn -Papache-release -DdryRun=true release:prepare

INFO] [INFO] BUILD FAILURE

…

[INFO] [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project fortress-core: Too many files with unapproved license: 427 See RAT report in: /home/smckinn/GIT/fortressDev/directory-fortress-core/target/rat.txt
```

When I look at the rat report I see files listed that have apache license header included and ones that have never created a problem before.

Does anyone know what’s going on here?

Thanks

—
Shawn


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Re: Too many files with unapproved license: 427 See RAT report

Posted by Emmanuel Lécharny <el...@gmail.com>.
Sorry, you won't like the answer...

each of the failing file has this URL in the header :

      https://www.apache.org/licenses/LICENSE-2.0

while it should be

      http://www.apache.org/licenses/LICENSE-2.0



On 30/06/2021 21:28, Shawn McKinney wrote:
> Hello,
> 
> Beginning fortress release preps and stumbled across this when I run:
> 
> ```
> mvn -Papache-release -DdryRun=true release:prepare
> 
> INFO] [INFO] BUILD FAILURE
> 
> …
> 
> [INFO] [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project fortress-core: Too many files with unapproved license: 427 See RAT report in: /home/smckinn/GIT/fortressDev/directory-fortress-core/target/rat.txt
> ```
> 
> When I look at the rat report I see files listed that have apache license header included and ones that have never created a problem before.
> 
> Does anyone know what’s going on here?
> 
> Thanks
> 
> —
> Shawn
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
> For additional commands, e-mail: dev-help@directory.apache.org
> 

-- 
*Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
T. +33 (0)4 89 97 36 50
P. +33 (0)6 08 33 32 61
emmanuel.lecharny@busit.com https://www.busit.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Re: Too many files with unapproved license: 427 See RAT report

Posted by Stefan Seelmann <ma...@stefan-seelmann.de>.
On 6/30/21 10:11 PM, Stefan Seelmann wrote:
> On 6/30/21 9:28 PM, Shawn McKinney wrote:
>> Hello,
>>
>> Beginning fortress release preps and stumbled across this when I run:
>>
>> ```
>> mvn -Papache-release -DdryRun=true release:prepare
>>
>> INFO] [INFO] BUILD FAILURE
>>
>> …
>>
>> [INFO] [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project fortress-core: Too many files with unapproved license: 427 See RAT report in: /home/smckinn/GIT/fortressDev/directory-fortress-core/target/rat.txt
>> ```
>>
>> When I look at the rat report I see files listed that have apache license header included and ones that have never created a problem before.
>>
>> Does anyone know what’s going on here?
> 
> This has to do with the change of the URL from http:// to https:// in
> the license header which the apache-rat plugin 0.13 doesn't understand.
> Workaround is to add those 10 lines to the config:
> 
> https://github.com/apache/directory-ldap-api/blob/master/pom.xml#L163:L173

More info here:
https://lists.apache.org/thread.html/r2e769cb719a4ce4717352e451cab4fc18529b5e6897f00fda2cedf20%40%3Cdev.directory.apache.org%3E


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Re: Too many files with unapproved license: 427 See RAT report

Posted by Shawn McKinney <sm...@apache.org>.
> On Jun 30, 2021, at 3:11 PM, Stefan Seelmann <ma...@stefan-seelmann.de> wrote:
> 
> On 6/30/21 9:28 PM, Shawn McKinney wrote:
>> Hello,
>> 
>> Beginning fortress release preps and stumbled across this when I run:
>> 
>> ```
>> mvn -Papache-release -DdryRun=true release:prepare
>> 
>> INFO] [INFO] BUILD FAILURE
>> 
>> …
>> 
>> [INFO] [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project fortress-core: Too many files with unapproved license: 427 See RAT report in: /home/smckinn/GIT/fortressDev/directory-fortress-core/target/rat.txt
>> ```
>> 
>> When I look at the rat report I see files listed that have apache license header included and ones that have never created a problem before.
>> 
>> Does anyone know what’s going on here?
> 
> This has to do with the change of the URL from http:// to https:// in
> the license header which the apache-rat plugin 0.13 doesn't understand.
> Workaround is to add those 10 lines to the config:
> 
> https://github.com/apache/directory-ldap-api/blob/master/pom.xml#L163:L173

I like your answer better Emmanuel’s!  
Thanks, I’m rolling again

—
Shawn 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Re: Too many files with unapproved license: 427 See RAT report

Posted by Stefan Seelmann <ma...@stefan-seelmann.de>.
On 6/30/21 9:28 PM, Shawn McKinney wrote:
> Hello,
> 
> Beginning fortress release preps and stumbled across this when I run:
> 
> ```
> mvn -Papache-release -DdryRun=true release:prepare
> 
> INFO] [INFO] BUILD FAILURE
> 
> …
> 
> [INFO] [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project fortress-core: Too many files with unapproved license: 427 See RAT report in: /home/smckinn/GIT/fortressDev/directory-fortress-core/target/rat.txt
> ```
> 
> When I look at the rat report I see files listed that have apache license header included and ones that have never created a problem before.
> 
> Does anyone know what’s going on here?

This has to do with the change of the URL from http:// to https:// in
the license header which the apache-rat plugin 0.13 doesn't understand.
Workaround is to add those 10 lines to the config:

https://github.com/apache/directory-ldap-api/blob/master/pom.xml#L163:L173

Kind Regards,
Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org