From dev-return-93374-apmail-geronimo-dev-archive=geronimo.apache.org@geronimo.apache.org Tue Oct 11 07:15:13 2011 Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-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 D25A99F37 for ; Tue, 11 Oct 2011 07:15:13 +0000 (UTC) Received: (qmail 44935 invoked by uid 500); 11 Oct 2011 07:15:12 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 44883 invoked by uid 500); 11 Oct 2011 07:15:12 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 44750 invoked by uid 99); 11 Oct 2011 07:15:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2011 07:15:07 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.63] (HELO smtp108.prem.mail.sp1.yahoo.com) (98.136.44.63) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 11 Oct 2011 07:15:00 +0000 Received: (qmail 86283 invoked from network); 11 Oct 2011 07:14:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=DKIM-Signature:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:Mime-Version:Content-Type:Subject:Date:In-Reply-To:To:References:Message-Id:X-Mailer; b=RyrQ05oTu7OTCcRFM42lKfJELWqiBeZo96B9mKultvBEC/NztbCLrWoJPWZPCPhUWDSgUvcS38035LrXS3QFkx2rSmgCRJs8fuH4aCLBKQG2G/vhrA1oGJeQlMuARzc1NROvv6azNzwjGzjZwdlfpiao3jwkBS/8S5Nij8TTUHk= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1318317279; bh=ZCqZdbKg1u4S8kQ1PTSabTV4DdN38Rkn95oBbG2wuC4=; h=X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:Mime-Version:Content-Type:Subject:Date:In-Reply-To:To:References:Message-Id:X-Mailer; b=LqPoLgNY2bjRWA+mfYGGA5aBsTG8ayWVTMWmaGBnuzRHHtGUHXZCg7f/R3CXe2gcL1ztPxPYoMn7Zxz5b+qcx79WUZyo3fgjOGrXTaSHdQf2WBV8YUsJ/FpeTY/SMs4GW7SF+Mg8UBgMkqqgg3kfwA7OpAVq9hNWbG+OdPsPxDA= X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: k9ifZp4VM1mQfXOtzNNkHKU1G7OKO9CNJkvvign3W9BYqml 9V7b_cpWPFH_pldzkBbtKxjzbVq7MJ83S4f6Yr_nUo0oOBNW6Q5mq.Zc.8Yi 1qS3IPG_3S56CbUJQFPyuS_lvj3iYbmgcAvsUp2j9e.K5p22aHf7sqv67U.6 AJ8g.nVUbrcnnFCMA9IKKDt2nACmmnQhYh1p2WTNeRvVctH52hUp3HFx1qX4 KHdh4YgBxcF9kciziLSp7aAOWROw0P38ftoCMeG5RBj53L5_yB9LnVQnLQyB M8NfLRymqTK0saBh0nICV89H2zjexUkuwn_1.nqSoePO0FRYZb8FKLUyQlby 8OsiFkhM4oKWvPzKs_vI312w70XUBx7orbKU6Z3Ur.SybWovtFs4bg52LjBP emF6YYRqb42pjqDfn9c5VY3u5PHc.Ut4JvlOdrdzCaxJaytp7uVxSc3lq6gQ nsGCpd7Ne8EPFrd6nWk51e_usIQ_pVh8PV..RKnVyhjwiArpbnpFxRa4X504 VX9A1KES8h1xRo6tQrUU1B6a09ZYbBwsAW8FU.o8LG7bEtx2csp78xPQN X-Yahoo-SMTP: .9oIUzyswBANsYgUm_5uPui0skTnzGJXJQ-- Received: from [10.0.1.4] (david_jencks@98.246.196.64 with plain) by smtp108.prem.mail.sp1.yahoo.com with SMTP; 11 Oct 2011 00:14:39 -0700 PDT From: David Jencks Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-4-707659965 Subject: Re: About collecting the LICENSE and NOTICE files in Geronimo plugins Date: Tue, 11 Oct 2011 00:14:36 -0700 In-Reply-To: To: dev@geronimo.apache.org References: Message-Id: X-Mailer: Apple Mail (2.1084) --Apple-Mail-4-707659965 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii You are looking for the maven-remote-resources plugin. It takes a = remote resources "bundle" that contains templates for the LICENSE, = NOTICE, and DEPENDENCIES files. This plugin does not work all that well = for non-jar files, so some projects like wars and the geronimo = assemblies may need other means to install the required legal files. We also use the "ianal" (I am not a lawyer) plugin Jason Dillon wrote = that checks that each jar has LICENSE and NOTICE files in the META-INF = directory. Hope this helps. david jencks On Oct 10, 2011, at 8:37 PM, Yi Xiao wrote: > Some complementarity here, take geronimo-aries for example. > The src/main/resources just contains a directory named OSGI-INF and = does not include LICENSE and NOTICE. > The pom.xml files does not use any maven plugin to copy the LICENSE, = NOTICE to the target/classes/META-INF, actually, when build complete, = the files are copied into it. I guess a maven plugin do some copy job, = but I don't know which one<330.gif> >=20 >=20 > On Tue, Oct 11, 2011 at 11:10 AM, Yi Xiao = wrote: >=20 > Hi devs, >=20 > I'm very confused about how the geronimo collect the LICENSE and = NOTICE files for each plugins, I could not find the these files in some = plugins,such as geronimo-aries, however, the classes/META-INF directory = contains the files. > I just find the maven-war-plugin mentions the LICENSE and NOTICE, but = I don't think it's a right way. > Could any one can help me figure it out? Thank you very much! > --=20 > Best regards! >=20 > = John Xiao >=20 >=20 >=20 >=20 > --=20 > Best regards! >=20 > = John Xiao >=20 --Apple-Mail-4-707659965 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii You = are looking for the maven-remote-resources plugin.  It takes a = remote resources "bundle" that contains templates for the LICENSE, = NOTICE, and DEPENDENCIES files.  This plugin does not work all that = well for non-jar files, so some projects like wars and the geronimo = assemblies may need other means to install the required legal = files.

We also use the "ianal" (I am not a lawyer) = plugin Jason Dillon wrote that checks that each jar has LICENSE and = NOTICE files in the META-INF directory.

Hope = this helps.

david = jencks

On Oct 10, 2011, at 8:37 PM, Yi Xiao = wrote:

Some complementarity here, take geronimo-aries for example.
The = src/main/resources just contains a directory named OSGI-INF and does not = include LICENSE and NOTICE.
The pom.xml files does not use any maven plugin to copy the = LICENSE, NOTICE to the target/classes/META-INF, actually, when build = complete, the files are copied into it. I guess a maven plugin do some = copy job, but I don't know which one<330.gif>





-- =
Best regards!

         =                     =                     =                     =                     =    John Xiao


= --Apple-Mail-4-707659965--