[ 
https://issues.apache.org/jira/browse/RAT-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16849212#comment-16849212
 ] 

Niels Basjes commented on RAT-212:
----------------------------------

In my working copy of Avro I had this additional rat config as a temporary 
workaround

{{<licenses>}}
{{   <license 
implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20">}}
{{    <notes>Also allow the license url to be https.</notes>}}
{{    <patterns>}}
{{      <pattern>https://www.apache.org/licenses/LICENSE-2.0</pattern>}}
{{    </patterns>}}
{{  </license>}}
{{</licenses>}}

I build rat from source, removed this config from my code and ran with Rat 
0.14-SNAPSHOT 

Worked as expected.

Thanks.

 

> pom.xml license failure when url is https
> -----------------------------------------
>
>                 Key: RAT-212
>                 URL: https://issues.apache.org/jira/browse/RAT-212
>             Project: Apache Rat
>          Issue Type: Bug
>    Affects Versions: 0.11
>            Reporter: Christopher Tubbs
>            Priority: Major
>             Fix For: 0.14
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> apache-rat-plugin:check fails when the license information in the POM has a 
> url of "https://www.apache.org/licenses/LICENSE-2.0";, but not when it has a 
> url of "http://www.apache.org/licenses/LICENSE-2.0";
> It should probably not fail in the case of https.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to