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 A6D4A1775D for ; Tue, 19 May 2015 22:26:00 +0000 (UTC) Received: (qmail 83117 invoked by uid 500); 19 May 2015 22:26:00 -0000 Delivered-To: apmail-creadur-dev-archive@creadur.apache.org Received: (qmail 83080 invoked by uid 500); 19 May 2015 22:26:00 -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 83068 invoked by uid 99); 19 May 2015 22:26:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2015 22:26:00 +0000 Date: Tue, 19 May 2015 22:26:00 +0000 (UTC) From: "Philipp Ottlinger (JIRA)" To: dev@creadur.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (RAT-179) Maven plugin and Ant task do not support adding extra approved licences MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/RAT-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Philipp Ottlinger resolved RAT-179. ----------------------------------- Resolution: Fixed Fix Version/s: 0.12 [~solomax] Thanks for your feedback and project. I integrated it into my Github examples and made it configurable for ANT as well. > Maven plugin and Ant task do not support adding extra approved licences > ----------------------------------------------------------------------- > > Key: RAT-179 > URL: https://issues.apache.org/jira/browse/RAT-179 > Project: Apache Rat > Issue Type: Bug > Components: antlib, maven > Affects Versions: 0.11 > Reporter: Sebb > Assignee: Philipp Ottlinger > Fix For: 0.12 > > Attachments: RAT-179.tar.gz, rat-179.zip > > > h2. Bug report > Users can add new license types using the tag. > h3. Affects: Maven- and ANT plugin > h4. Maven > These are not added to the approved licenses list. > This has to be done through the tag. > However, the entries replace the defaults. > There does not appear to be any way to update the approved list other than replacing it entirely, which is very inconvenient. > This could be fixed by adding a new property analagous to addDefaultLicenseMatchers, e.g. addDefaultLicenseFamilies > Or it might be easier for the user to configure if individual entries could be tagged as approved. The default would need to be false for backwards compatibility. > h4. Ant > Same issue for Ant task; configs replace the default set. > Reported by [~solomax] via [mail|http://rat.markmail.org/thread/3qdpynxpejujbzm7#query:+page:1+mid:6c6nnolaydznkqhd+state:results] > h2. Implementation > h3. Maven > You can add new approved licenses by setting > {{licenses}} and {{licenseFamilies}} when configuring the apache-rat-maven-plugin. > Default licenses are approved in addition to any new licenses. If you do not want this behaviour set > {code} > false > {code} > h3. Ant > Ant seems to have worked in version 0.11 as attached project indicates. > If you do not want to add the default license matchers, set > {code} > addDefaultLicenseMatchers = false > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)