Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 1867 invoked from network); 16 May 2010 01:01:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 May 2010 01:01:15 -0000 Received: (qmail 36926 invoked by uid 500); 16 May 2010 01:01:13 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 36819 invoked by uid 500); 16 May 2010 01:01:13 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 36811 invoked by uid 99); 16 May 2010 01:01:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 May 2010 01:01:13 +0000 X-ASF-Spam-Status: No, hits=-0.4 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 209.85.221.191 is neither permitted nor denied by domain of brianf@infinity.nu) Received: from [209.85.221.191] (HELO mail-qy0-f191.google.com) (209.85.221.191) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 May 2010 01:01:07 +0000 Received: by qyk29 with SMTP id 29so5342641qyk.14 for ; Sat, 15 May 2010 18:00:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.230.211 with SMTP id jn19mr766769qcb.56.1273971644754; Sat, 15 May 2010 18:00:44 -0700 (PDT) Received: by 10.229.98.137 with HTTP; Sat, 15 May 2010 18:00:44 -0700 (PDT) In-Reply-To: References: Date: Sat, 15 May 2010 21:00:44 -0400 Message-ID: Subject: Re: Central repository, bundle-create and distribution of licenses From: Brian Fox To: Maven Users List Content-Type: text/plain; charset=ISO-8859-1 On Sat, May 15, 2010 at 4:56 PM, Benson Margulies wrote: > I think that perhaps there's an important distinction being missed > here. Central doesn't vacuum up artifacts from unsuspecting authors. > Other people put them there. If the authors of code choose to deposit > jar files on central, then it's not central who is 'distributing' them > -- it's the authors. In this case, it's people who download from > central and then repackage on their own who are responsible for > worrying about tracking down and including licenses. > > The tricky case here is the non-author publishers, as with the > recently-announced mechanism. If I take a jar of OSS from its author's > distro, and push it to central without a license file, I am probably > violating the license. It's not clear to me that Sonatype is. > > Thus, what I take from this thread is that it would be a kindness for > Sonatype to add a feature to the new publication mechanism to upload > the actual license. It could then be added to META-INF or just > published as an accompanying artifact, either way, and then no one > would have anything to complain about. > Yes, these are good ideas. We currently require that the license be specified in the pom but aren't validating that it is correct automatically. The vast majority of artifacts in Central come in over wide open rsyncs so garbage in the source repo = garbage in central. This gaping hole is slowly being closed by requiring projects to go through forges that have the proper validation procedures before getting into Central. What I meant by usually was that if someone wants to include the license text, it's done inside the archives. Take a look at any recent apache jar for example and you'll find LICENSE and NOTICE prominently included. Requiring this of all artifacts is probably a good idea. > It might be worth doing this just to avoid those voices in the wide > world who like to write alarmist postings about Maven distribution > (e.g. Saxon's author). > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org