Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 95150 invoked from network); 29 Mar 2007 19:03:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Mar 2007 19:03:46 -0000 Received: (qmail 2418 invoked by uid 500); 29 Mar 2007 19:03:52 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 2372 invoked by uid 500); 29 Mar 2007 19:03:52 -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 2353 invoked by uid 99); 29 Mar 2007 19:03:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Mar 2007 12:03:52 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jason.dillon@gmail.com designates 64.233.166.177 as permitted sender) Received: from [64.233.166.177] (HELO py-out-1112.google.com) (64.233.166.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Mar 2007 12:03:43 -0700 Received: by py-out-1112.google.com with SMTP id f47so114243pye for ; Thu, 29 Mar 2007 12:03:22 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=KL2bmkG/j8YfVnCLCjjfqtuaAmR3v/5wGOx9eDs62RbUjyQ8kedekQrAGf55d3YrU75jc7vJWxkt3DM/anCh+k6LVuFF61cP7fKwdNcE96FkXH5VfW59IdyHdl9exshJKbcfkWodi3g9MZglAgHlZxn3eX1H0t5mvhEnVo/T3Ug= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=cRPoeTB0mkRYcoFyStZ6rSuQynZ49h/d5qHglGjHMo8mDKyeuSznxZFl4gbFkUVSDjHnUkxCh6CPYQJ+3QRRxbEBgkK0XlpIoQKQ38PybnYCe3Sbwb82lIgUO+Ep36Bum0taLqHDzeNhLYkP4mNggghijF1NxBtvmncvEqyzeqA= Received: by 10.35.57.5 with SMTP id j5mr1715391pyk.1175195002108; Thu, 29 Mar 2007 12:03:22 -0700 (PDT) Received: from ?10.0.1.2? ( [24.7.69.241]) by mx.google.com with ESMTP id y78sm1778890pyg.2007.03.29.12.03.19; Thu, 29 Mar 2007 12:03:21 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <7CFA00A0-1E14-434D-8AEA-AA6F6EC8F25A@yahoo.com> References: <6B45DA13-914E-4465-8C49-89672419883C@planet57.com> <7CFA00A0-1E14-434D-8AEA-AA6F6EC8F25A@yahoo.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7EF6A1C4-1309-4F07-A6A6-3835B2B21FA1@planet57.com> Content-Transfer-Encoding: 7bit From: Jason Dillon Subject: Re: What is the deal with geronimo-javaee-deployment_1.1MR3_spec Date: Thu, 29 Mar 2007 12:03:12 -0700 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.752.3) Sender: Jason Dillon X-Virus-Checked: Checked by ClamAV on apache.org > This is not our version, its the version of the spec. Its still a version number in an artifactId... regardless of who's version it is. The problem with this is that when you go to change versions you have to go update a bunch of poms to fix their artifactId instead of simply updating one dependency in a dependencyManagement section. Because we put version numbers in artifactIds we've given ourselves a lot more maintenance work when it comes time to rev specs and because of this we have made it far to easy to missing them and get modules out of sync. > IIRC we had a big discussion about the best spec naming convention > and decided this was it. So because of that its not something that can be changed? I really disagree with this practice. It really only make *more* maintenance work and increases the chances of something getting out of sync. Its far to easy to end up with several different versions of the same spec in a project because the normal maven version resolution can't figure out which one to use because of the version information encoded in artifact ids. > Despite our best intentions, we often end up releasing corrections > to spec jars we've published. Can you suggest a different naming > convention that will clearly and unambiguously show both the spec > version and the geronimo version of a spec jar? Or do you think > one of these is unnecessary? I think that all relevant information can be encoded in the artifacts version. And I think that the geronimo version is mostly irrelevant, its basically a revision of the sun version, so I would just put a counter on the end of the sun version: - 1.0-1 This helps do away with inconsistencies which we have now, with picking 1.1 or 2.0 or 1.0m2 or whatever... just keep incrementing the revision when there are changes. Some real examples: ---> (w/o version in artifactId): geronimo-j2ee-management_1.1_spec-1.0-M1.jar -> geronimo-j2ee- management-spec-1.1-1.jar geronimo-j2ee-management_1.0_spec-1.0.jar -> geronimo-j2ee-management- spec-1.0-1.jar geronimo-j2ee-management_1.0_spec-1.0.1.jar -> geronimo-j2ee- management-spec-1.0-2.jar geronimo-j2ee-management_1.0_spec-1.1.jar -> geronimo-j2ee-management- spec-1.0-3.jar > As you can probably tell, I think this is a very good practice. I > hate it when someone says they depend on "servlet.jar" and I have > to open the spec jar up and try to figure out if whoever generated > it bothered to include any information at all about which spec > version they implemented. Well, lucky for you w/maven the version information is encoded in the jar file names by default. So its quite easy to just use the "version" of an artifact to contain all of the versioning details and you will end up with an artifact with that information in the filename. --jason