Return-Path: Delivered-To: apmail-maven-dev-archive@www.apache.org Received: (qmail 93865 invoked from network); 1 Feb 2010 11:59:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2010 11:59:09 -0000 Received: (qmail 83297 invoked by uid 500); 1 Feb 2010 11:59:09 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 83209 invoked by uid 500); 1 Feb 2010 11:59:08 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 83199 invoked by uid 99); 1 Feb 2010 11:59:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 11:59:08 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [129.217.128.51] (HELO unimail.uni-dortmund.de) (129.217.128.51) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 11:58:59 +0000 Received: from [192.168.178.23] (i59F56FEE.versanet.de [89.245.111.238]) (authenticated bits=0) by unimail.uni-dortmund.de (8.14.4/8.14.4) with ESMTP id o11BwTeR027907 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 1 Feb 2010 12:58:35 +0100 (CET) Message-ID: <4B66C1C6.1080805@udo.edu> Date: Mon, 01 Feb 2010 12:57:58 +0100 From: Benjamin Bentmann User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Maven Developers List Subject: Re: Putting the archetype plugin version in the super POM References: <4B4FC7EF.5050002@udo.edu> <8EC7BFAD-A685-411D-88B4-0B4579623F3A@apache.org> <90879246-B7E6-44BE-8524-BE6622E009D3@apache.org> <14ECCCE0-C122-42F1-85F1-A984252EF00A@sonatype.com> <084C20EE-3413-4E63-BE24-C9ED24C2181D@apache.org> <37D93496-AAFD-4D30-8349-AF1E750321D6@sonatype.com> <130653AA-D8C8-40A1-82F7-87811316788F@apache.org> In-Reply-To: <130653AA-D8C8-40A1-82F7-87811316788F@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Brett Porter wrote: > I'm not that tied to the idea, it was just a thought to avoid the potential problem that had been raised by a user. Please consider that such a version lockdown is twofold: It not only saves the user from potential regressions in newer versions but also excludes him from any bugfixes/improvements made in the newer plugin versions, unless you are willing to put the update instructions on each and every doc page out there that mentions the Archetype Plugin. To give an example take the Maven Install Plugin. It's quite irritating to users that they do "mvn install:install-file" and next they observe Maven trying to download the POM for this artifact. This is due to generatePom defaulting to false in plugin version 2.2 and thanks to the version lock down in the super POM users have no easy way to use the fixed plugin version 2.3 other than giving the fully qualified goal. For reproducible builds, version lockdowns make sense but doing so for CLI plugins IMHO gives evidence of other issues. To me, locking down the Archetype Plugin version translates to that we fear a new version brings more problems than benefits. The proper fix for this would be to increase the test coverage for the plugin. The other related issue is RELEASE vs LATEST. When resolving a plugin version, Maven 2.x prefers LATEST over RELEASE, i.e. Maven 2.x potentially prefers a SNAPSHOT over a proper release. IIRC, it was an IRC discussion with Arnaud where we seemed to agree that this behavior is not really helpful to the majority of ordinary users. So this might be something to review for Maven 2.x as well. Benjamin --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org