Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 46201 invoked from network); 7 May 2007 03:01:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 May 2007 03:01:38 -0000 Received: (qmail 27655 invoked by uid 500); 7 May 2007 03:01:45 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 27514 invoked by uid 500); 7 May 2007 03:01:44 -0000 Mailing-List: contact open-jpa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: open-jpa-dev@incubator.apache.org Delivered-To: mailing list open-jpa-dev@incubator.apache.org Received: (qmail 27505 invoked by uid 99); 7 May 2007 03:01:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 May 2007 20:01:44 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [192.18.42.249] (HELO nwk-ea-fw-1.sun.com) (192.18.42.249) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 May 2007 20:01:36 -0700 Received: from d1-sfbay-09.sun.com ([192.18.39.119]) by nwk-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l4731FeY014352 for ; Sun, 6 May 2007 20:01:15 -0700 (PDT) Received: from conversion-daemon.d1-sfbay-09.sun.com by d1-sfbay-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0JHN00I01HPVDL00@d1-sfbay-09.sun.com> (original mail from Craig.Russell@Sun.COM) for open-jpa-dev@incubator.apache.org; Sun, 06 May 2007 20:01:15 -0700 (PDT) Received: from [192.168.0.11] (c-24-6-172-77.hsd1.ca.comcast.net [24.6.172.77]) by d1-sfbay-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0JHN00AXNHQ30810@d1-sfbay-09.sun.com> for open-jpa-dev@incubator.apache.org; Sun, 06 May 2007 20:01:15 -0700 (PDT) Date: Sun, 06 May 2007 20:01:16 -0700 From: Craig L Russell Subject: Re: [VOTE] Packaging with maven In-reply-to: Sender: Craig.Russell@Sun.COM To: open-jpa-dev@incubator.apache.org Message-id: MIME-version: 1.0 X-Mailer: Apple Mail (2.752.3) Content-type: multipart/signed; protocol="application/pkcs7-signature"; boundary=Apple-Mail-192-483697141; micalg=sha1 References: <1CCBD60F-B7DF-43D1-87F1-E89C0974B7C7@SUN.com> <72c1350f0705040655n6a01625cx983da1af9fe60ed1@mail.gmail.com> <7262f25e0705061940t33beeb57yfeee550382621f4c@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-192-483697141 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On May 6, 2007, at 7:55 PM, Marc Prud'hommeaux wrote: > > On May 6, 2007, at 7:40 PM, Patrick Linskey wrote: > >> +1 to the change. >> >> What do you think about changing dir names so that openjpa-all >> becomes >> openjpa-dist or something? > > Do you mean changing "openjpa-project" (which is the distribution) > to "openjpa-dist"? > > We could, although it wouldn't impact the artifact names. I think the important thing is the artifact names. Once we agree on the artifact names, we can choose to rename the directories to suit. Craig > > > >> -Patrick >> >> On 5/6/07, Marc Prud'hommeaux wrote: >>> >>> Poking around the ActiveMQ pom.xml files, I notice that you can have >>> a different artifactId than the module name (i.e., directory) you >>> are >>> in. I hadn't known you could do this. >>> >>> Currently, our artifacts name are: >>> >>> trunk/pom.xml: openjpa >>> trunk/openjpa-all/pom.xml: openjpa-all >>> trunk/openjpa-project/pom.xml: openjpa-project >>> >>> We could change these to: >>> >>> trunk/pom.xml: openjpa-parent >>> trunk/openjpa-all/pom.xml: openjpa >>> trunk/openjpa-project/pom.xml: apache-openjpa >>> >>> I've tested this out, and it results in the openjpa aggregate jar >>> being named "openjpa-VERSION.jar", the dependency being simply named >>> "openjpa", and the assembly is named "apache-openjpa-VERSION.zip". >>> None of the directories needed to be renamed. I've attached the >>> patch >>> that does this to https://issues.apache.org/jira/browse/OPENJPA-194 >>> >>> Since this will mess up people who currently have maven dependencies >>> on OpenJPA (i.e., people who depend on "openjpa-all" will now >>> need to >>> depend on "openjpa"), we should probably get this hammered out >>> before >>> leaving incubation. So I've gone ahead and turned the [DISCUSS] into >>> a [VOTE] to see if we should go ahead and do this. >>> >>> A vote of +1 means we should do the renaming, -1 means we should >>> not, >>> and 0 means "don't care". The vote will remain open until Wednesday >>> May 9th at 23:59 GMT. >>> >>> >>> >>> >>> On May 4, 2007, at 6:55 AM, Michael Dick wrote: >>> >>> > Some comments below >>> > >>> > On 5/4/07, Craig L Russell wrote: >>> >> >>> >> I'd like reopen the discussion on how to package and name our >>> >> artifacts. I think the current setup could be improved, to give a >>> >> better experience for users who might not be using maven for >>> >> dependency management. It's easy for us to change now before >>> >> graduation because once we graduate, people will need to >>> update their >>> >> dependencies anyway so there are no backward compatibility >>> issues. >>> >> >>> >> The name of the single jar that has all of the openjpa stuff >>> in it >>> >> except for the documentation and examples is currently called >>> >> openjpa- >>> >> all. This name is confusing because unless they RTFM, people >>> don't >>> >> really know that it's not all the code you need, just all the jpa >>> >> code. So I'd like to call this artifact openjpa. >>> > >>> > >>> > +1 >>> > >>> > But we already have a project with that name, and that project >>> builds >>> >> the distributions. So I'd rename the current openjpa to >>> openjpa-dist. >>> >> Its ultimate destination in the Apache mirror structure is under >>> >> www.apache.org/dist/openjpa once we graduate, so having dist >>> in the >>> >> project name helps understanding that this project builds the >>> >> artifacts that go into dist. Separate from the artifacts that are >>> >> published via maven. >>> > >>> > >>> > +1 >>> > >>> > Finally, the openjpa-all jar includes its subcomponents as >>> >> dependencies. I think this is wrong, since you end up with a >>> class >>> >> path with openjpa-all.jar as well as openjpa-kernel.jar and >>> all the >>> >> others. >>> > >>> > >>> > I would like to change this too. I did a little experimenting and >>> > it looks >>> > like the dependencies aren't needed in openjpa-all, but they are >>> > needed for >>> > openjpa-project (to populate the lib directory). Moving the >>> > dependencies >>> > into openjpa-project should be safe. >>> > >>> > We're also going to need to change the deploy logic to strip >>> out the >>> > -project suffix from the zip files. We've talked about it before >>> > when I was >>> > releasing 0.9.7 (and before that when Marc was working on 0.9.6), >>> > but I >>> > haven't had time to look into it. It should be fairly easy to >>> make the >>> > change. >>> > >>> > >>> > Thoughts? >>> >> >>> >> Craig >>> >> >>> >> Craig Russell >>> >> Architect, Sun Java Enterprise System http://java.sun.com/ >>> products/ >>> >> jdo >>> >> 408 276-5638 mailto:Craig.Russell@sun.com >>> >> P.S. A good JDO? O, Gasp! >>> >> >>> >> >>> >> >>> > -Michael Dick >>> >>> >> >> >> -- >> Patrick Linskey >> 202 669 5907 > Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:Craig.Russell@sun.com P.S. A good JDO? O, Gasp! --Apple-Mail-192-483697141 Content-Transfer-Encoding: base64 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGUDCCAwkw ggJyoAMCAQICECpJVMO68ii+Xfsc1O1YYFIwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA2MTIwOTE5NTEwNVoXDTA3MTIwOTE5NTEw NVowbDEQMA4GA1UEBBMHUnVzc2VsbDEUMBIGA1UEKhMLQ3JhaWcgTGFpcmQxHDAaBgNVBAMTE0Ny YWlnIExhaXJkIFJ1c3NlbGwxJDAiBgkqhkiG9w0BCQEWFUNyYWlnLlJ1c3NlbGxAU3VuLkN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