Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 94163 invoked from network); 5 Jul 2006 10:24:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jul 2006 10:24:34 -0000 Received: (qmail 64231 invoked by uid 500); 5 Jul 2006 10:24:30 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 63959 invoked by uid 500); 5 Jul 2006 10:24:29 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 63931 invoked by uid 99); 5 Jul 2006 10:24:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 03:24:29 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of carlossg@gmail.com designates 64.233.162.207 as permitted sender) Received: from [64.233.162.207] (HELO nz-out-0102.google.com) (64.233.162.207) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 03:24:28 -0700 Received: by nz-out-0102.google.com with SMTP id l8so1236859nzf for ; Wed, 05 Jul 2006 03:24:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Uy9T1hek9zRozX3QIVa1peaEeHdKcg4xd/aWUYC2dzZAkRjLaGKLDhtn0kx7+yxj+Bt8aX3Ct85eDD4HcH3KdDfwqjHTdNtoAycJ15XNZA1Gf26iLdD9JL5jUmzUjJAeb96xJ9tqyoGq8gNnDMZ8QjJRWlj5jxjcXPkuVMSNuyg= Received: by 10.36.127.4 with SMTP id z4mr4389377nzc; Wed, 05 Jul 2006 03:24:07 -0700 (PDT) Received: by 10.36.119.13 with HTTP; Wed, 5 Jul 2006 03:24:07 -0700 (PDT) Message-ID: <1a5b6c410607050324h141ea84aocb9c918a257f7f11@mail.gmail.com> Date: Wed, 5 Jul 2006 12:24:07 +0200 From: "Carlos Sanchez" Sender: carlossg@gmail.com To: rgoers@apache.org Subject: Re: [RANT] This Maven thing is killing us.... Cc: "Maven Developers List" , dev@cocoon.apache.org In-Reply-To: <44AB5849.2030900@dslextreme.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <98e4f1cd0607040434k1c0f7ddeo8e9ddf0899c15b7e@mail.gmail.com> <1a5b6c410607040553r6c20b441j81ec638465d9f10d@mail.gmail.com> <44AAD6C3.3050107@dslextreme.com> <1a5b6c410607041722o2c9e0111g6983003db99ea937@mail.gmail.com> <44AB5849.2030900@dslextreme.com> X-Google-Sender-Auth: 6ac60fe6e3b32fbf X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 7/5/06, Ralph Goers wrote: > > > Carlos Sanchez wrote: > > > > Yes you can, it's not the best way to do it but you can, by adding > > explicitly the dependency with the versoin you want to your pom. In > > the very worst case you have to add all transitive deendencies to your > > pom, like in Maven 1. > That is so impractical as to be nonsensical. Our Configuration > Management folks require that all projects use the same dependencies > from the top to the bottom. For example, we build our base set of > frameworks with one multiproject build, then a higher level of > frameworks, and then finally the product itself. Each of these must be > built and unit tested with the same third party jars. Furthermore, the > product can consist of a war and one or more ejb's which may all be > packaged in an ear. These must also all have all the same versions of > the jars. The solution you propose makes that tedious, error prone, and > would require our CM folks to manually inspect every pom to insure > nothing is done improperly. At least with Maven 1 we can have a > build.properties that all projects share. In our case, the ideal > solution in Maven 2 would be to have a "master" pom with nothing in it > but a dependencyManagement section (with something like override="true" > set as an attribute) that all our projects would reference. so... you can do it. In m1 anybody can override the build.properties as in m2 they can put a different version. i'm not saying it's the right solution but while is not implemented you can still do it. There's a limited number of hours in the day to do all the things we want to do ;) > > Ralph > -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride