Return-Path: X-Original-To: apmail-oodt-dev-archive@www.apache.org Delivered-To: apmail-oodt-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 7110618851 for ; Thu, 6 Aug 2015 16:58:20 +0000 (UTC) Received: (qmail 95856 invoked by uid 500); 6 Aug 2015 16:58:20 -0000 Delivered-To: apmail-oodt-dev-archive@oodt.apache.org Received: (qmail 95825 invoked by uid 500); 6 Aug 2015 16:58:20 -0000 Mailing-List: contact dev-help@oodt.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@oodt.apache.org Delivered-To: mailing list dev@oodt.apache.org Received: (qmail 95814 invoked by uid 99); 6 Aug 2015 16:58:20 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2015 16:58:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A7D041A9904 for ; Thu, 6 Aug 2015 16:58:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.001 X-Spam-Level: **** X-Spam-Status: No, score=4.001 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id luF1mv-xKsSH for ; Thu, 6 Aug 2015 16:58:05 +0000 (UTC) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 6B9EC24B15 for ; Thu, 6 Aug 2015 16:58:04 +0000 (UTC) Received: by lbbyj8 with SMTP id yj8so46477346lbb.0 for ; Thu, 06 Aug 2015 09:57:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=NIy2Xbm8iZtluVn41Ba+bsLHX27q2S/1/qycHRxvTyw=; b=VjPe5djJxe8HWry+WiXW6mjSS+s4NW4zTTRnhLzyFHJkXoT2vGNkl7fNdZccy5MLbv Tbbhsmfen5jzchhTIaVRt6wMhjIExWfE/EaRIguRocpNFCOPr7X/R6EdnRq4+G19B0xD xa4188cy7y2jYi/9O35Dl3TZ/OUY05Y7oFrHbF9dw8HBxZnPT9o7MK2EBu9nbMfEvRd7 5ZJ0l7moNMjbFxWYTx40Is8luxhAylticuz/Fo+S8fu3IvN1Ro73xfFPfSGEgOfkr6eS 1HkZN7MOTZ6BNCq3VzRu2x9xCMcctvRmfRv1FDnymkjD8y5qn3QxEzE/NO95WVPwZuGd zePw== X-Gm-Message-State: ALoCoQmzY0V2d3Jcs7ydP9OObvxloacY1S2i7mPNUId/a6oxHj86CJNbbCOXr73cMjCma0Ar+pVz MIME-Version: 1.0 X-Received: by 10.112.85.3 with SMTP id d3mr3327250lbz.33.1438880278294; Thu, 06 Aug 2015 09:57:58 -0700 (PDT) Received: by 10.25.216.220 with HTTP; Thu, 6 Aug 2015 09:57:58 -0700 (PDT) Received: by 10.25.216.220 with HTTP; Thu, 6 Aug 2015 09:57:58 -0700 (PDT) In-Reply-To: References: <725117AB-230B-41E3-BC85-41E527A81132@jpl.nasa.gov> Date: Thu, 6 Aug 2015 17:57:58 +0100 Message-ID: Subject: Re: Organising the Poms From: Tom Barber To: dev@oodt.apache.org Content-Type: multipart/alternative; boundary=001a1134946cdccad5051ca76b66 --001a1134946cdccad5051ca76b66 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Test away. My understanding is a top level pom can contain everything in maven central if you want. It would depend on how you do it I believe. No one would include oodt core as a dependency would they? On 6 Aug 2015 17:50, "Michael Starch" wrote: > Will just listing them as dependencies at that level cause a build error? > Or does it need to be a dependency on code that is actually built? > > I aggree with Chris, we need to test this. > > -Michael > > On Thu, Aug 6, 2015 at 9:31 AM, Mattmann, Chris A (3980) < > chris.a.mattmann@jpl.nasa.gov> wrote: > > > We can=E2=80=99t bring the streaming deps back into the build, so this > > must not do that. > > > > Can this be checked? > > > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > Chris Mattmann, Ph.D. > > Chief Architect > > Instrument Software and Science Data Systems Section (398) > > NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA > > Office: 168-519, Mailstop: 168-527 > > Email: chris.a.mattmann@nasa.gov > > WWW: http://sunset.usc.edu/~mattmann/ > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > Adjunct Associate Professor, Computer Science Department > > University of Southern California, Los Angeles, CA 90089 USA > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > > > > > > > > > > > -----Original Message----- > > From: on behalf of Michael Starch < > starchmd@umich.edu > > > > > Reply-To: "dev@oodt.apache.org" > > Date: Thursday, August 6, 2015 at 8:28 AM > > To: "dev@oodt.apache.org" > > Subject: Re: Organising the Poms > > > > >+1 > > >Paul R's recommendation is cleaner. This is more likely to be adopted > and > > >used. > > > > > >I do have one concern. We banished the streaming components to their > own > > >submodule to keep its dependencies from mucking with the build. Will > > >pulling these back to top level reintroduce this issue? > > > > > >Also, we should get in the habit of upgrading top level versions, as > > >overriding in a child leads to multiple versions of the jar in the > > >classpath in some situations. Thus random runtime exceptions can occur= . > > > > > >Michael > > >Nice +1 > > > > > >On Thursday, August 6, 2015, Ramirez, Paul M (398M) < > > >paul.m.ramirez@jpl.nasa.gov> wrote: > > > > > >> I see what you're saying. Below is an example of what I'm saying. Yo= u > > >>have > > >> them as a dependency in the master pom now versus just a set of > > >>properties > > >> in the master pom. Both would accomplish the same thing. I agree "mv= n > > >> dependency:tree" should not be affect on the child pom area but woul= d > > >>list > > >> all those dependencies under the master too. > > >> > > >> > > >> master pom: > > >> > > >> > > >> > > >> > 1.9.5 > > >> > > >> > > >> > > >> > > >> child pom: > > >> > > >> > > >> org.mockito > > >> mockito-all > > >> ${org.mockito.mockito-all.version} > > >> test > > >> > > >> > > >> Personal preference is this but since you created the patch already > for > > >> the other version I'm +1 on it unless the above convinces you it's > > >>better. > > >> > > >> > > >> --Paul > > >> > > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > >> Paul Ramirez, M.S. > > >> Technical Group Supervisor > > >> Computer Science for Data Intensive Applications (398M) > > >> Instrument Software and Science Data Systems Section (398) > > >> NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA > > >> Office: 158-264, Mailstop: 158-242 > > >> Email: paul.m.ramirez@jpl.nasa.gov > >> paul.m.ramirez@jpl.nasa.gov > > > >> Office: 818-354-1015 > > >> Cell: 818-395-8194 > > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > >> > > >> On Aug 6, 2015, at 7:48 AM, Tom Barber > >> >> > > >> wrote: > > >> > > >> Hi Paul > > >> > > >> I'm not at my desk so I can't check dependency:tree but I wouldn't > > >>expect > > >a > > >> different output. > > >> > > >> You also shouldn't loose track of module dependency requirements the > > >> dependency is still listed in the child pom it's just missing it's > > >>version > > >> attribute. Parameterization seems like a lot of overkill and > maintenance > > >> that would get ignored pretty quickly and gains you little. > > >> > > >> Tom > > >> On 6 Aug 2015 14:42, "Ramirez, Paul M (398M)" > > >> > >> >> > > >> wrote: > > >> > > >> Tom, > > >> > > >> An alternate approach would be to leave the dependencies as is but > > >>manage > > >> the versions as properties in the top level pom. With this patch we > lose > > >> traceability of what dependencies are required where. This alternate > > >> approach would make overrides easier for people too as it would stan= d > > >>as a > > >> placeholder for folks to substitute out a property reference with a > > >> version. > > >> > > >> With this we lose the utility of "mvn dependency:tree" > > >> > > >> I'd align the property name with the fully qualified artifact name > that > > >> way there was a clear mapping. I think this would accomplish what yo= u > > >>were > > >> looking to do. > > >> > > >> Thoughts? > > >> > > >> --Paul > > >> > > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > >> Paul Ramirez - Group Supervisor > > >> Computer Science for Data Intensive Applications > > >> Jet Propulsion Laboratory > > >> 4800 Oak Grove Dr. > > >> Pasadena, CA 91109 > > >> Office: 818-354-1015 > > >> Cell: 818-395-8194 > > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > >> > > >> Sent from my iPhone > > >> > > >> On Aug 6, 2015, at 5:18 AM, Tom Barber > >> >> wrote= : > > >> > > >> Hello folks, > > >> > > >> I sent a pull request last night but its also worth discussing on > here. > > >> > > >> When me an StarchMD were having a chat in Austin, we wanted to sort > out > > >> some of the build process and locations. > > >> > > >> Personally one of my issues when using OODT is the sheer amount of > > >> dependencies. Clearly most of these are required, but keeping track = of > > >> the > > >> versions across modules is a pain. The pull request you see here: > > >> https://github.com/apache/oodt/pull/25 addresses that by moving the > > >> versions from the sub modules up to OODT Core so when a version is > > >> changed > > >> it is changed in all the submodules. This removes a lot of the > > >> duplication > > >> and I believe it makes it easier to see which version is being used. > > >> > > >> If there is a requirement to override a specific version of a > dependency > > >> in > > >> a submodule this can still be done, but it would also be nicer, in m= y > > >> opinion, just upgrade the main dependency so that all modules rely o= n > > >>the > > >> same version which makes integration a whole lot easier. > > >> > > >> Let me know your thoughts. > > >> > > >> Thanks > > >> > > >> Tom > > >> > > >> > > >> > > > > > --001a1134946cdccad5051ca76b66--