Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 38902 invoked from network); 31 Dec 2009 14:42:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Dec 2009 14:42:42 -0000 Received: (qmail 96495 invoked by uid 500); 31 Dec 2009 14:42:39 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 96394 invoked by uid 500); 31 Dec 2009 14:42:39 -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 96264 invoked by uid 99); 31 Dec 2009 14:42:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Dec 2009 14:42:39 +0000 X-ASF-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Roland.Asmann@adesso.at designates 86.59.33.198 as permitted sender) Received: from [86.59.33.198] (HELO mail.cfc.at) (86.59.33.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Dec 2009 14:42:32 +0000 Received: from amavis by mail.cfc.at with scanned-ok (Exim 3.36 #1 (Debian)) id 1NQME6-0007qV-00 for ; Thu, 31 Dec 2009 15:42:10 +0100 Received: from mail.cfc.at ([127.0.0.1]) by localhost (mail.cfc.at [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nqpH8dxvd6lc for ; Thu, 31 Dec 2009 15:42:06 +0100 (CET) Received: from localhost ([127.0.0.1] helo=cfc.at ident=www-data) by mail.cfc.at with esmtp (Exim 3.36 #1 (Debian)) id 1NQME2-0007pV-00 for ; Thu, 31 Dec 2009 15:42:06 +0100 Received: from 85.127.78.221 (SquirrelMail authenticated user asr) by cfc.at with HTTP; Thu, 31 Dec 2009 15:42:06 +0100 (CET) Message-ID: <50320.85.127.78.221.1262270526.squirrel@cfc.at> In-Reply-To: <88c1b40912310634y1a4c774eub14a9747e69b933a@mail.gmail.com> References: <62056.85.127.78.221.1262186811.squirrel@cfc.at> <4B3B7528.30402@gmail.com> <88c1b40912300750r5dd6a099xe76c0357abc0ca4f@mail.gmail.com> <52185.85.127.78.221.1262191742.squirrel@cfc.at> <88c1b40912300854t3b96f887t41588301f453fcf9@mail.gmail.com> <50049.85.127.78.221.1262193398.squirrel@cfc.at> <52bab8690912301152x66973ca3ifaf3e083d5e5068e@mail.gmail.com> <64056.85.127.78.221.1262263633.squirrel@cfc.at> <88c1b40912310634y1a4c774eub14a9747e69b933a@mail.gmail.com> Date: Thu, 31 Dec 2009 15:42:06 +0100 (CET) Subject: Re: Plugins and their versions From: "Roland Asmann" To: "Maven Users List" User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal > 2009/12/31 Roland Asmann : >> Indeed it does! Works like a charm! >> >> Only one problem now: it reports on several SNAPSHOT plugins, which I >> actually DO want! I know it's not good practice to use snapshots, but >> let >> me explain my case here: >> >> I have a multi-module build, which is ALWAYS released in a single go. >> One >> of my modules is a plug-in that I actually need in the build, and I >> always >> want to use it in the same version as the whole project is in. >> > > That is not allowed. > > All the plugins must be resolved before the build starts. > > When you start a release, the plugin will not have been built, so will > not be available prior to setting up the build plan. > > in m3 IIRC your build will refuse to work full stop. > > You must release plugins separately from builds that consume them > > -Stephen That sucks... But in m2.0.10 it still works, so I'll keep it in for now. Roland > >> Now, during development, this would lead to a snapshot version, which at >> time of release would make it a release version (I use the property >> 'project.version' as a reference for the plug-in. >> >> Now, how can I explain to the enforcer-plugin that this single plug-in >> indeed is allowed to be a snapshot? I'm hoping for a solution that >> doesn't >> mean implementing my own enforcer-rule... But if that what it takes, >> I'll >> do that. Just wanted to check if this is already possible, because I >> think >> this is not a very unusual use-case... >> >> Roland >> >> >>>> Understood, but I'm not interested in the updates, I'm trying to track >>>> down the plugins that have no version configured. >>>> >>> >>> The enforcer plugin can help you find plugins with missing versions, >>> too. >>> >>> Wayne >>> >>> --------------------------------------------------------------------- >>> 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 >> >> > > --------------------------------------------------------------------- > 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