Philipp Ottlinger created RAT-501:
-------------------------------------

             Summary: Errors in license detection on RAT source tree itself
                 Key: RAT-501
                 URL: https://issues.apache.org/jira/browse/RAT-501
             Project: Apache Rat
          Issue Type: Bug
            Reporter: Philipp Ottlinger


After pushing the release I wanted to make RAT dog food itself .... and ran 
into minor problems on the existing source tree.

## Core submodule

Recognizes GPL-licenses albeit ASF license header is added:

! /src/main/resources/org/apache/rat/default.xml
  S         application/xml    UTF-8
    AL       AL1.1         Apache License 1.1
    AL       AL2.0         Apache License 2.0
    BSD-3    DOJO          DOJO License
    CDDL1    CDDL1         COMMON DEVELOPMENT AND DISTRIBUTION LICENSE Version 
1.0
    CDDL1    ILLUMOS       ILLUMOS CDDL1 Derived license
    GPL      GPL1          GNU General Public License V1.0 (Unapproved)
    GPL      GPL2          GNU General Public License V2.0 (Unapproved)
    GPL      GPL3          GNU General Public License V3.0 (Unapproved)
    MIT      MIT           The MIT License
    W3C      W3C           W3C Software Copyright
    W3CD     W3CD          W3C Document Copyright
  
! /src/main/resources/org/apache/rat/example-configuration.xml
  S         application/xml    UTF-8
    AL       AL1.1         Apache License 1.1
    AL       AL2.0         Apache License 2.0
    BSD-3    DOJO          DOJO License
    CDDL1    CDDL1         COMMON DEVELOPMENT AND DISTRIBUTION LICENSE Version 
1.0
    CDDL1    ILLUMOS       ILLUMOS CDDL1 Derived license
    GPL      GPL1          GNU General Public License V1.0 (Unapproved)
    GPL      GPL2          GNU General Public License V2.0 (Unapproved)
    GPL      GPL3          GNU General Public License V3.0 (Unapproved)
    MIT      MIT           The MIT License
    W3C      W3C           W3C Software Copyright
    W3CD     W3CD          W3C Document Copyright


! /src/test/java/org/apache/rat/analysis/license/GPLLicenseTest.java
  S         text/x-java-source    ISO-8859-1
    AL       AL2.0         Apache License 2.0
    GPL      GPL1          GNU General Public License V1.0 (Unapproved)
    GPL      GPL2          GNU General Public License V2.0 (Unapproved)
    GPL      GPL3          GNU General Public License V3.0 (Unapproved)

! /src/test/java/org/apache/rat/ReporterOptionsProvider.java
  S         text/x-java-source    ISO-8859-1
    AL       AL2.0         Apache License 2.0
    BSD-3    BSD-3         BSD 3 clause
    CDDL1    ILLUMOS       ILLUMOS CDDL1 Derived license
    GPL      GPL1          GNU General Public License V1.0 (Unapproved)






--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to