Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 81328 invoked from network); 9 Feb 2009 04:44:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Feb 2009 04:44:05 -0000 Received: (qmail 80997 invoked by uid 500); 9 Feb 2009 04:44:04 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 80963 invoked by uid 500); 9 Feb 2009 04:44:04 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 80952 invoked by uid 99); 9 Feb 2009 04:44:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Feb 2009 20:44:04 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mcculls@gmail.com designates 64.233.170.187 as permitted sender) Received: from [64.233.170.187] (HELO rn-out-0910.google.com) (64.233.170.187) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2009 04:43:58 +0000 Received: by rn-out-0910.google.com with SMTP id k45so1658418rnd.6 for ; Sun, 08 Feb 2009 20:43:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=JitFzw+uZ1E+f+R5euLtsw06jrie8M9JunGaNhMVDR0=; b=f7ZNGRgSiTOMcDLgHe3aE7bZgWpwOvvcBhWQcEJIpM3ZsN1silhO1raAvE3k8lyf8/ YJMpa5n3p8+nw+zOfORlHyzcgWy2pZl7Zfgvt0gxIDDvPxiRaSWL/nwv5+9I7k/5EUKR cG6A1ISH4gfSuLK0HxaED5uO1hn4DQv9nIJY0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=JsR1e80h6drxqKMak73/3GvtR2nh22dDcMBO3J96B2AFjbD7FWT6w2HWLzkg78Xjku S39hgWuuR0xDcnELC6Iw4/ZQlUI5J/mDtL5Z6OIZYkUJd3MKsgbwmC1/fpWKBSCBrGGb S0Q97e+9gF88lJFaooIwwkAFaB13Pk2e6iJoY= MIME-Version: 1.0 Received: by 10.151.49.8 with SMTP id b8mr2430071ybk.135.1234154616903; Sun, 08 Feb 2009 20:43:36 -0800 (PST) In-Reply-To: <498F68EC.7080203@ungoverned.org> References: <0D895ADFFD742E4EBFED863DF669A55947D4910BB4@GVW1087EXB.americas.hpqcorp.net> <498B341B.7010201@ungoverned.org> <0D895ADFFD742E4EBFED863DF669A55947D50EA7BB@GVW1087EXB.americas.hpqcorp.net> <487a994c0902081343w6a50c9bfw9ca8056d4b84fdb8@mail.gmail.com> <0D895ADFFD742E4EBFED863DF669A55947D50EA7DA@GVW1087EXB.americas.hpqcorp.net> <498F68EC.7080203@ungoverned.org> Date: Mon, 9 Feb 2009 12:43:36 +0800 Message-ID: <81f0d9c0902082043y2b90c60csa9fb77b30b385d84@mail.gmail.com> Subject: Re: Deploying Felix source jars to Maven central repository From: Stuart McCulloch To: dev@felix.apache.org Content-Type: multipart/alternative; boundary=0015174c0e8c89da000462750388 X-Virus-Checked: Checked by ClamAV on apache.org --0015174c0e8c89da000462750388 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 2009/2/9 Richard S. Hall > Does anyone know/remember why we may have disabled the default Maven > release profile? It seems this makes it so we don't publish our source or > JavaDoc. > the subversion logs show this has always been there since Carsten added the release profile to the main Felix pom: svn diff -r604235:r604236 pom/pom.xml perhaps it was disabled because we define our own release profile? Carsten may have wanted to avoid potential conflicts between our profile and the default Maven profile - if that's the case then we could always just add the source and javadoc plugin entries to our release profile... I certainly have no idea. > hopefully Carsten can explain the reasoning behind it :) > -> richard > > Juhos, Pavol wrote: > >> Karl, Richard, >> >> I've looked at Felix POM files and found the reason why the source-jars >> and javadoc-jars are not included in your releases. As mentioned before >> these artifacts are created by _default_ Maven release lifecycle, however >> the default Maven release profile is disabled in your master POM file >> (trunk/pom/pom.xml). It there some specific reason for this? >> I'm attaching a trivial patch that basically removes the following line >> from the POM: >> >> false >> >> If you are not sure what the default profile is doing here is the relevant >> excerpt from the Maven super-pom (implicit root of all POMs): >> >> >> release-profile >> >> >> >> performRelease >> true >> >> >> >> >> >> >> true >> org.apache.maven.plugins >> maven-source-plugin >> >> >> attach-sources >> >> jar >> >> >> >> >> >> true >> org.apache.maven.plugins >> maven-javadoc-plugin >> >> >> attach-javadocs >> >> jar >> >> >> >> >> >> true >> org.apache.maven.plugins >> maven-deploy-plugin >> >> true >> >> >> >> >> >> See >> http://svn.apache.org/repos/asf/maven/components/tags/maven-2.0.9/maven-project/src/main/resources/org/apache/maven/project/pom-4.0.0.xmlfor reference. >> >> Another potential solution might be to use the default release profile >> only for selected modules. I.e. "override" the maven-release-plugin >> configuration by including the following piece into the modules' POMs: >> >> >> org.apache.maven.plugins >> maven-release-plugin >> >> true >> >> >> >> What are your thoughts on this? >> Kind regards, >> >> >> Pavol Juhos >> Hewlett-Packard Company >> pjuhos@hp.com >> >> P.S.: If this level of technical detail is not appropriate for this >> mailing list please let me know and we can take this discussion "offline" or >> to the devel list. >> >> >> -----Original Message----- >> From: Karl Pauls [mailto:karlpauls@gmail.com] Sent: Sunday, February 08, >> 2009 10:44 PM >> To: users@felix.apache.org >> Subject: Re: Deploying Felix source jars to Maven central repository >> >> I do upload what is produced by maven. If we are missing some >> configuration that would make that better please do provide a patch! >> >> regards, >> >> Karl >> >> On Sun, Feb 8, 2009 at 10:30 PM, Juhos, Pavol wrote: >> >> >>> Hello Richard, >>> >>> Yes you are right, the Maven release lifecycle produces the source-jars >>> by default. It is just a matter of uploading these source-jar artifacts to >>> the repository. Also no less important than source-jars are the javadoc jars >>> (also produced by maven-release-plugin by default) -- especially in the >>> current situation when Felix JavaDoc documentation is not available online >>> (at least not to my knowledge). >>> >>> In case you would need any help with the Maven configuration just let me >>> know. I would be happy to assist. >>> >>> Best regards, >>> >>> >>> Pavol Juhos >>> Hewlett-Packard Company >>> pjuhos@hp.com >>> >>> -----Original Message----- >>> From: Richard S. Hall [mailto:heavy@ungoverned.org] >>> Sent: Thursday, February 05, 2009 7:47 PM >>> To: users@felix.apache.org >>> Subject: Re: Deploying Felix source jars to Maven central repository >>> >>> We are using Maven to create the releases and it generates a source >>> release archive too. Is it just a matter of uploading its source >>> release? If so, it should be do-able I would guess. >>> >>> -> richard >>> >>> Juhos, Pavol wrote: >>> >>> >>>> Hello Felix team, >>>> >>>> It would be very helpful if you could also deploy JAR files containing >>>> the source code to the Maven repositories. It really helps to have the >>>> source code around when developing in IDEs like Eclipse. To give you a >>>> better picture, M2eclipse (= Eclipse Maven Integration) allows you to >>>> download sources for any of your Maven dependencies in one click if they are >>>> properly deployed in the repository. Generally I think deploying source jars >>>> is becoming a good practice for open-source projects using Maven. Thank you. >>>> >>>> Best regards, >>>> >>>> >>>> Pavol Juhos >>>> Enterprise Software >>>> Consultant, System Integration >>>> Hewlett-Packard Company >>>> >>>> pjuhos@hp.com >>>> www.hp.com/go/exstream >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org >>>> For additional commands, e-mail: users-help@felix.apache.org >>>> >>>> >>>> >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org >>> For additional commands, e-mail: users-help@felix.apache.org >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org >>> For additional commands, e-mail: users-help@felix.apache.org >>> >>> >>> >>> >> >> >> >> ------------------------------------------------------------------------ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org >> For additional commands, e-mail: users-help@felix.apache.org >> > -- Cheers, Stuart --0015174c0e8c89da000462750388--