Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 40632 invoked from network); 5 Nov 2010 21:51:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Nov 2010 21:51:02 -0000 Received: (qmail 14325 invoked by uid 500); 5 Nov 2010 21:51:31 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 14260 invoked by uid 500); 5 Nov 2010 21:51:31 -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 14252 invoked by uid 99); 5 Nov 2010 21:51:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 21:51:31 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=MIME_QP_LONG_LINE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [198.203.175.175] (HELO mail16.uhc.com) (198.203.175.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 21:51:25 +0000 X-IronPort-AV: E=Sophos;i="4.58,305,1286168400"; d="scan'208";a="33275878" Received: from irmply29.uhc.com (HELO mail16.uhc.com) ([10.114.170.67]) by mail18.uhc.com with ESMTP; 05 Nov 2010 16:51:03 -0500 X-IronPort-AV: E=Sophos;i="4.58,305,1286168400"; d="scan'208";a="33275871" X-CONF-FOOTER: True Received: from apse0232.uhc.com (HELO APSE0232.ms.ds.uhc.com) ([10.114.160.68]) by mail16.uhc.com with ESMTP; 05 Nov 2010 16:51:03 -0500 Received: from APSW0639EVS.ms.ds.uhc.com ([10.177.72.89]) by APSE0232.ms.ds.uhc.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 5 Nov 2010 16:51:02 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: The joys of dependencies Date: Fri, 5 Nov 2010 16:50:11 -0500 Message-ID: <2007E972E904A240B02B1C0E754EE5BD0AB8D682@APSW0639EVS.ms.ds.uhc.com> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: The joys of dependencies Thread-Index: Act9L2W+RKo7ASl4Qd2O20BnaNcBQQAA6RSA References: From: "Yanko, Curtis" To: "Maven Users List" X-OriginalArrivalTime: 05 Nov 2010 21:51:02.0982 (UTC) FILETIME=[8A737E60:01CB7D33] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-IP-VFilter-R: R But in a CI system, the latest B is always built. In fact, in our Build Man= agement system we use push style dependencies instead of pull. So, instead = of a build of A seeing in B needs to be built, When B builds it tells A. In= this way, any change will ultimately trigger all of the dependent apps. -----Original Message----- From: Phillip Hellewell [mailto:sshock@gmail.com]=20 Sent: Friday, November 05, 2010 5:20 PM To: Maven Users List Subject: Re: The joys of dependencies On Fri, Nov 5, 2010 at 3:13 PM, Jon Paynter wrote: > On Fri, Nov 5, 2010 at 1:57 PM, Phillip Hellewell wrot= e: >> In many of my cases, yes A actually does need C to compile. >> > In that case - my suggestion wont work for you. > > Also - after re-reading this thread it seems your assuming something=20 > very simmilar to what I assumed when starting with maven: =A0namely ive=20 > I have changed B while working on A, and I build from within project=20 > A, maven will also pickup the changes from B -- this is not true. =A0 > What will actually happen is A will be compiled based on the last=20 > installed version of B. =A0IMO the better option is to Always build from=20 > the top level of your project, then changes across modules are always=20 > built together with dependencies in the right order. Actually, we don't use multi-module projects at all. All our project/compo= nents live in their own source trees in SVN and depend on each other using = transitive dependencies. So yeah, building A can't possibly pick up a new = version of B until B is built and installed/deployed. Phillip --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org