Uploaded image for project: 'Apache Rat'
  1. Apache Rat
  2. RAT-253

Check license link with HTTPS uri failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.13
    • 0.14
    • None
    • None

    Description

      Hi,

      When using a https uri in the license header made the maven apache-rat:check goal failed.

      It works well when using http uri.

      In this example:

      SUCCESS

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

      FAILED

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

       

       

      *****************************************************
       Files with Apache License headers will be marked AL
       Binary files (which do not require any license headers) will be marked B
       Compressed archives will be marked A
       Notices, licenses etc. will be marked N
       N NOTICE
       !????? pom.xml
       N LICENSE
       N RELEASE-NOTES
       AL shiro.doap.rdf
       N README
       B src/site/resources/images/asf_logo.png
       B src/site/resources/images/apache-shiro-logo.png
       AL src/site/site.xml
       AL src/owasp-suppression.xml
       AL src/license/header_format.xml
       AL src/license/header.txt
       
      *****************************************************
      
       Printing headers for text files without a valid license header...
       
      =====================================================
      == File: pom.xml
      =====================================================
      <?xml version="1.0" encoding="UTF-8"?>
      <!--
       ~ Licensed to the Apache Software Foundation (ASF) under one
       ~ or more contributor license agreements. See the NOTICE file
       ~ distributed with this work for additional information
       ~ regarding copyright ownership. The ASF licenses this file
       ~ to you under the Apache License, Version 2.0 (the
       ~ "License"); you may not use this file except in compliance
       ~ with the License. You may obtain a copy of the License at
       ~
       ~ https://www.apache.org/licenses/LICENSE-2.0
       ~
       ~ Unless required by applicable law or agreed to in writing,
       ~ software distributed under the License is distributed on an
       ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
       ~ KIND, either express or implied. See the License for the
       ~ specific language governing permissions and limitations
       ~ under the License.
       -->
      <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
       <modelVersion>4.0.0</modelVersion>
      
       <!-- pick up Apache distributionManagement for releasing (snapshots, releases, etc): -->
       <parent>
       <groupId>org.apache</groupId>
       <artifactId>apache</artifactId>
       <version>21</version>
       </parent>
      
       <groupId>org.apache.shiro</groupId>
       <artifactId>shiro-root</artifactId>
       <packaging>pom</packaging>
       <version>1.5.0-SNAPSHOT</version>

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fpapon Francois Papon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: