Return-Path: X-Original-To: apmail-creadur-dev-archive@www.apache.org Delivered-To: apmail-creadur-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E9267112A5 for ; Tue, 16 Sep 2014 21:21:54 +0000 (UTC) Received: (qmail 19645 invoked by uid 500); 16 Sep 2014 21:21:54 -0000 Delivered-To: apmail-creadur-dev-archive@creadur.apache.org Received: (qmail 19602 invoked by uid 500); 16 Sep 2014 21:21:54 -0000 Mailing-List: contact dev-help@creadur.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@creadur.apache.org Delivered-To: mailing list dev@creadur.apache.org Received: (qmail 19589 invoked by uid 99); 16 Sep 2014 21:21:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2014 21:21:54 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sebbaz@gmail.com designates 74.125.82.48 as permitted sender) Received: from [74.125.82.48] (HELO mail-wg0-f48.google.com) (74.125.82.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2014 21:21:49 +0000 Received: by mail-wg0-f48.google.com with SMTP id m15so453202wgh.31 for ; Tue, 16 Sep 2014 14:21:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=NSgVlJodGzA1orODUetyyMnwgnjQM4StLlbdsP6yPxo=; b=Ni7gSqmnFG7XN1qPiGrXPyKomfPEpwAnS2GN9kqHD7B+cSZvlQ5cyFd8NtPJaWQ0kN xfUZ4kKpIGGmNX+zsNfpgDPUIVTKTmlBmnA2vG8NPMyN/et8YxAOYA4jLTKEJs9kKmjH SKDHr606s4O9CXCnbHZ62dsezwtY27RNn8Tc5KDFHJTd2Wxa6m0RtyZXB9E6xE7KZm1V eXnlyaYIKZSSBjTaJDBgO0TKOcMwFNvn2KkA5bRMQezGS1LqThgogy3ScV/+XhLzoB0f Uvhzru0BtAyYlPz8e/B9HvyH2LbivFcwtDaz3JP67Qb3t4wIL/PeYgAZ4ng9cxVlcsXk uF7g== MIME-Version: 1.0 X-Received: by 10.194.78.243 with SMTP id e19mr15807645wjx.119.1410902487664; Tue, 16 Sep 2014 14:21:27 -0700 (PDT) Received: by 10.194.162.231 with HTTP; Tue, 16 Sep 2014 14:21:27 -0700 (PDT) In-Reply-To: References: Date: Tue, 16 Sep 2014 22:21:27 +0100 Message-ID: Subject: Re: Adding custom licenses From: sebb To: dev@creadur.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On 16 September 2014 18:05, Maxim Solodovnik wrote: > Am I doing something wrong? > Is it possible to add approved licenses to default ones? Does not look to be possible with the Maven plugin currently; if any licenseFamily entries are added, then the defaults don't seem to be used. I'm surprised that it works differently with the Ant task. > On 16 September 2014 20:08, Maxim Solodovnik wrote: > >> actually it works in ant >> https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x/build.xml >> (search for report_rat) >> was hoping to get similar functionality with maven >> >> On 16 September 2014 19:26, Maxim Solodovnik wrote: >> >>> Yes, In addition to default ones >>> >>> On 16 September 2014 19:12, sebb wrote: >>> >>>> So the issue is that you want to be able to mark the new licenses as >>>> approved - is that correct? >>>> >>>> On 16 September 2014 12:20, Maxim Solodovnik >>>> wrote: >>>> > I get report like this (some lines are omitted): >>>> > >>>> > 0 Unknown Licenses >>>> > >>>> > ******************************* >>>> > >>>> > Unapproved licenses: >>>> > >>>> > >>>> > >>>> /home/solomax/work/openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/js/jquery.ui.menubar.js >>>> > >>>> > >>>> /home/solomax/work/openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/theme_om/jquery-ui-1.10.4.custom.css >>>> > >>>> > >>>> /home/solomax/work/openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/jquery.ui.menubar.css >>>> > >>>> > ***************************************************** >>>> > Files with Apache License headers will be marked AL >>>> > Binary files (which do not require AL headers) will be marked B >>>> > Compressed archives will be marked A >>>> > Notices, licenses etc will be marked N >>>> > AL >>>> > >>>> /home/solomax/work/openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/upload/library.xsd >>>> > AL >>>> > >>>> /home/solomax/work/openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/upload/library.xml >>>> > B >>>> > >>>> /home/solomax/work/openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/default/_big_profile_pic.jpg >>>> > ...................................... >>>> > !MIT+GPL >>>> > >>>> /home/solomax/work/openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/js/jquery.ui.menubar.js >>>> > ...................................... >>>> > !MIT >>>> > >>>> /home/solomax/work/openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/theme_om/jquery-ui-1.10.4.custom.css >>>> > ...................................... >>>> > !MIT+GPL >>>> > >>>> /home/solomax/work/openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/jquery.ui.menubar.css >>>> > ...................................... >>>> > >>>> > >>>> > On 16 September 2014 18:01, sebb wrote: >>>> > >>>> >> On 16 September 2014 08:04, Maxim Solodovnik >>>> wrote: >>>> >> > Hello All, >>>> >> > >>>> >> > Sorry for the long email :( >>>> >> > >>>> >> > Today I added apache-rat-plugin (0.11) to our maven build ( >>>> >> > openmeetings.apache.org project) >>>> >> > We have couple of jQuery files in our sources licensed under MIT and >>>> >> > MIT+GPL and not recognized by apache-rat-plugin. >>>> >> > So I have added custom licences: >>>> >> > >>>> >> > >>> >> > >>>> >> >>>> implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense"> >>>> >> > MIT+GPL >>>> >> > MIT and GPL v2 >>>> >> > >>>> >> > >>>> >> > Dual licensed under the MIT or GPL Version 2 >>>> licenses. >>>> >> > >>>> >> > >>>> >> > >>> >> > >>>> >> >>>> implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense"> >>>> >> > MIT >>>> >> > MIT >>>> >> > >>>> >> > >>>> >> > Licensed MIT >>>> >> > >>>> >> > >>>> >> > >>>> >> >>>> >> OK >>>> >> >>>> >> > >>>> >> > >>> >> implementation="org.apache.rat.license.SimpleLicenseFamily"> >>>> >> > MIT and GPL v2 >>>> >> > >>>> >> > >>> >> implementation="org.apache.rat.license.SimpleLicenseFamily"> >>>> >> > MIT >>>> >> > >>>> >> > >>>> >> >>>> >> What happens if you omit the section? >>>> >> >>>> >> > Unfortunately after that Apache licensed files are not approved any >>>> more >>>> >> > ******************************* >>>> >> > >>>> >> > Unapproved licenses: >>>> >> > >>>> >> > pom.xml >>>> >> > >>>> >> > ******************************* >>>> >> > >>>> >> > Archives: >>>> >> > >>>> >> > ***************************************************** >>>> >> > Files with Apache License headers will be marked AL >>>> >> > Binary files (which do not require AL headers) will be marked B >>>> >> > Compressed archives will be marked A >>>> >> > Notices, licenses etc will be marked N >>>> >> > !AL pom.xml >>>> >> > N CHANGELOG >>>> >> > N NOTICE >>>> >> > N README >>>> >> > N LICENSE >>>> >> > >>>> >> > >>>> >> > adding >>>> >> > true >>>> >> > also doesn't help >>>> >> > >>>> >> > Is there any option to add licences to default ones? >>>> >> > >>>> >> > Thanks in advance >>>> >> > >>>> >> > -- >>>> >> > WBR >>>> >> > Maxim aka solomax >>>> >> >>>> > >>>> > >>>> > >>>> > -- >>>> > WBR >>>> > Maxim aka solomax >>>> >>> >>> >>> >>> -- >>> WBR >>> Maxim aka solomax >>> >> >> >> >> -- >> WBR >> Maxim aka solomax >> > > > > -- > WBR > Maxim aka solomax