Thanks Lukasz for your response. As you say, RAT should validate both License text and URL. There must be a defect then, as it failed to pick up the missing line ''Licensed to the Apache Software Foundation (ASF) under one'. Please see my first email for more information. Did I miss anything?
Hi, I use mvn -Prat with the RAT version 0.7, which did not pick up the implete 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:(. I am wondering whether RAT is able to validate license at all? -- Thanks Emily ================= Emily Jiang [email protected] Reply Forward Reply | Lukasz Lenart 2011/2/4 Emily Jiang <[email protected]>: You can check the source cod... 12:49 PM (16 minutes ago) Lukasz LenartLoading... 12:49 PM (17 minutes ago) Lukasz Lenart to rat-dev show details 12:49 PM (17 minutes ago) 2011/2/4 Emily Jiang <[email protected]>: > I am wondering whether RAT is able to validate license at all? You can check the source code and for ASF License, RAT is also checking for url, in this case [1]. So either the header should be valid or the URL ;-) [1] http://www.apache.org/licenses/LICENSE-2.0 Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia http://javarsovia.pl -- Thanks Emily ================= Emily Jiang [email protected]
