Return-Path: X-Original-To: apmail-maven-dev-archive@www.apache.org Delivered-To: apmail-maven-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7685877FB for ; Wed, 9 Nov 2011 05:01:33 +0000 (UTC) Received: (qmail 68247 invoked by uid 500); 9 Nov 2011 05:01:30 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 68147 invoked by uid 500); 9 Nov 2011 05:01:29 -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 68138 invoked by uid 99); 9 Nov 2011 05:01:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2011 05:01:26 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [66.111.4.25] (HELO out1.smtp.messagingengine.com) (66.111.4.25) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2011 05:01:20 +0000 Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 4013F21438 for ; Wed, 9 Nov 2011 00:00:59 -0500 (EST) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute3.internal (MEProxy); Wed, 09 Nov 2011 00:00:59 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=tesla.io; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; s=mesmtp; bh=/LUO41WcramXHVu1fQZdvQRNB44 =; b=ZSdUaqzgpen+k/jeGNoiqc3KWDg+PnNVfF9ZCgEJs4o73trsM5I3yXS5X/4 bu31lj0kZeG8CyCqUZZ5dfwsFEeTq0yNY3icNw4xqZy+ojk3FumO33fesveL9C0h bHoGDjNM3L9Bod/BsdWG53+TOeGeAcAUuZom07YgBFJZYGds= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:mime-version:content-type:subject :date:in-reply-to:to:references:message-id; s=smtpout; bh=/LUO41 WcramXHVu1fQZdvQRNB44=; b=ttHAvJVRSfBmrnLKFrOllQwsU7enGLa6fhqBmQ SMuAvvfbrG/j75QeGSdW6sHNsL9223zfptGhewlD37D4YoJI73KMrYrQz0OkYZ/h mdIq0+QMl5havsWqlHFWCOnF7MIrpP4BKwXn3GTUeNaORlzJuHIzxI7li43kC4gz vac8Q= X-Sasl-enc: u5hPy1GcdwQw6i0hXkzkfoQT9S2n0G6Kt+wOKcTGeUMy 1320814857 Received: from [10.0.1.248] (216.112.110.4.ptr.us.xo.net [216.112.110.4]) by mail.messagingengine.com (Postfix) with ESMTPSA id 59C4A482482 for ; Wed, 9 Nov 2011 00:00:55 -0500 (EST) From: Jason van Zyl Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: multipart/alternative; boundary="Apple-Mail=_6DA33727-1333-487F-814B-7AE1CE114CCA" Subject: Re: Meta information about dependencies in a pom? Date: Tue, 8 Nov 2011 21:00:42 -0800 In-Reply-To: To: "Maven Developers List" References: <925685FD-5C8A-4093-870A-9A007E98687B@apache.org> Message-Id: X-Mailer: Apple Mail (2.1251.1) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_6DA33727-1333-487F-814B-7AE1CE114CCA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On Nov 8, 2011, at 8:00 PM, Carsten Ziegeler wrote: > 2011/11/8 Guo Du : >>> too error prone as you have to keep the plugin configuration and the >>> dependency list in sync. It doesn't sound like a hard task first, = but >> What about only configure the dependency list with additional field = as >> plugin configuration such as: >> >> >> >> foo >> bar >> x.y.z >> 1 >> >> >> >>=20 >>=20 > Yes, that's basically a variant of what we came up with, but in this > case the dependencies are not considered when maven is calculating a > build order for a multi project build, so you end up with a "wrong" > order when you are using snapshot dependencies. We had cases where the > snapshot dep was built after the assembly causing an old snapshop to > end up in the application. > And other plugins like the versions plugin don't see this either. >=20 > But today we learned about the AbstractMavenLifecycleParticipant which > hopefully allows us to use above configuration without the above > problems. Here's an example of how it works for matching the dependencies = specified from a 3rd party source to the reactor. = https://github.com/etesla/proviso/tree/master/tesla-proviso-plugin/src/mai= n/java/org/eclipse/tesla/plugins/proviso It's using JSR330, but you can pull those out and use Plexus annotations = if you need it to work in the short term. >=20 > Regards > Carsten >=20 >> -Guo >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org >> For additional commands, e-mail: dev-help@maven.apache.org >>=20 >>=20 >=20 >=20 >=20 > --=20 > Carsten Ziegeler > cziegeler@apache.org >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org >=20 Thanks, Jason ---------------------------------------------------------- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl --------------------------------------------------------- --Apple-Mail=_6DA33727-1333-487F-814B-7AE1CE114CCA--