Return-Path: Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: (qmail 70145 invoked from network); 3 Mar 2011 18:21:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Mar 2011 18:21:55 -0000 Received: (qmail 72337 invoked by uid 500); 3 Mar 2011 18:21:55 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 72303 invoked by uid 500); 3 Mar 2011 18:21:55 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 72294 invoked by uid 99); 3 Mar 2011 18:21:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2011 18:21:55 +0000 X-ASF-Spam-Status: No, hits=-1998.9 required=5.0 tests=ALL_TRUSTED,FRT_ADOBE2,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 03 Mar 2011 18:21:52 +0000 Received: (qmail 68715 invoked by uid 99); 3 Mar 2011 18:21:30 -0000 Received: from localhost.apache.org (HELO mail-qy0-f170.google.com) (127.0.0.1) (smtp-auth username gabriele, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2011 18:21:30 +0000 Received: by qyk32 with SMTP id 32so195536qyk.1 for ; Thu, 03 Mar 2011 10:21:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.214.10 with SMTP id gy10mr1301570qcb.130.1299176489148; Thu, 03 Mar 2011 10:21:29 -0800 (PST) Received: by 10.229.85.134 with HTTP; Thu, 3 Mar 2011 10:21:29 -0800 (PST) In-Reply-To: <4D6F6C2C.8090204@adobe.com> References: <4D6F6C2C.8090204@adobe.com> Date: Thu, 3 Mar 2011 19:21:29 +0100 Message-ID: Subject: Re: Is a custom LICENSE.vm needed at all? (was: Re: [VOTE] Release chemistry-jar-resource-bundle 0.3.0 (RC1)) From: Gabriele Columbro To: dev@chemistry.apache.org Cc: Jukka Zitting Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Jukka, thanks for the clear answer. On Thu, Mar 3, 2011 at 11:23 AM, Jukka Zitting wrote: > Hi, > > On 03/02/2011 07:05 PM, Gabriele Columbro wrote: >> >> Technically speaking, the way we add it to the packages is the proper >> one I believe (using the maven-shared-resources-plugin just as any >> Maven ASF artifact). > > The main idea behind it is that all release packages should have a LICENS= E > file that includes or at least references the license terms of all IP > included in that package. > > Thus we need to include such extra notes only in jars or other packages t= hat > include bits that are under other licenses than the ALv2. Most notably Ma= ven > dependencies need only be mentioned in the LICENSE file if the build embe= ds > the dependencies in the resulting build artifact like is done for example= in > the dist and webapp packages. I will then implement that for: - All the WARs (referencing the META-INF/DEPENDENCIES file) - All the commodity packages including 3rd party JARs (referencing the root level DEPENDENCIES file) I don't think we need anything specific then for the JARs since they do not package anything external. > >> Yes having it SVN would be easy. Maybe not in the LICENSE file. In the >> README would work? > > All licensing information should be in the LICENSE file. The best place t= o > put such notes is in src/main/appended-resources/META-INF/LICENSE for jar > archives and in the appropriate other locations for other kinds of archiv= es. > > Using a shared resource bundle for this is useful if you'd otherwise end = up > duplicating the same information too many times, but it's probably not wo= rth > the extra complexity for eliminating just a few duplicates. I agree with this approach. I reopened https://issues.apache.org/jira/browse/CMIS-325 to work on this, and should be fairly easy to single source those few lines under the parent project (since we already have a parentBasedir property in all POMs). > >> I'm wondering how other ASF projects (with external dependencies) do. > > See [1] and [2] for how this is done in Jackrabbit for jar and war archiv= es. > There we explicitly include all the licenses of embedded external > components, but also just a reference to the relevant license terms would= be > OK. > > [1] > http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-spi-commons/s= rc/main/appended-resources/META-INF/LICENSE > [2] > http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-webapp/src/ma= in/webapp/META-INF/LICENSE Thanks for the pointers! Keep you posted, Gab > > -- > Jukka Zitting > --=20 Eng. Gabriele Columbro Open source and ECM Architect Alfresco Ltd. - http://www.alfresco.com ----------------------------------------- http://twitter.com/#!/mindthegabz ----------------------------------------- "Keyboard not found. =A0Press F1 to continue" ----------------------------------------