RAT unable to valid both license text and URL
---------------------------------------------

                 Key: RAT-82
                 URL: https://issues.apache.org/jira/browse/RAT-82
             Project: RAT
          Issue Type: Bug
    Affects Versions: 0.6, 0.7
         Environment: n/a
            Reporter: Emily Jiang



We use mvn -Prat with the RAT version 0.7 and 0.6, which did not pick up the 
incomplete apache license text. e.g.
 /*
  * 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
  *
  *   http://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.
  */
As you can see the first line 'Licensed to the Apache Software Foundation
(ASF) under one' was missing:(.

Apparently, RAT validates either URL or license text not BOTH. If either of 
them is correct, it will pass validation. This behaviour should be tightened to 
enforce both of them to be correct.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to