Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-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 2BB8B9168 for ; Mon, 23 Apr 2012 22:23:17 +0000 (UTC) Received: (qmail 80906 invoked by uid 500); 23 Apr 2012 22:23:16 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 80861 invoked by uid 500); 23 Apr 2012 22:23:16 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 80854 invoked by uid 99); 23 Apr 2012 22:23:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2012 22:23:16 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bimargulies@gmail.com designates 209.85.212.182 as permitted sender) Received: from [209.85.212.182] (HELO mail-wi0-f182.google.com) (209.85.212.182) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2012 22:23:10 +0000 Received: by wibhr14 with SMTP id hr14so31855wib.5 for ; Mon, 23 Apr 2012 15:22:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=bY9JqBAIcCZfgs/Sd6C/f7lzi3LFoW3sJItgxZ/uhdA=; b=D4TcrIqiJG/Kmg2C5JoZwZrM1Yx6fqm9Yi6t+jq1oVQWUo6y4Hu1mSIKcY7nb6BYyJ 0aaarAKO3ThRnwjjkc6e5Lz3MON1g+utKVJMQ+YjdK+IyJCeHr5ZXZF+fmzW0OySnfzn EwIcQOO7B7CHKo6BcuwQzol8lM9RXxpokLIgX+tYXcUC+vMI3WOlXnv60iOganWL8ogz +hHGzYAMjF+AR5u9LC9czhXGP5Sac0zYut7G5vr6I+nOWZ+63CmZ+JYopKXrknQh9Zeb N/2y2OmfeVVSD516GDsLpgQ9Rl7wX9U5S6kExlmKaLHDxuvJA/1KTG2N8le9KfMEmMMN XOEQ== MIME-Version: 1.0 Received: by 10.180.102.129 with SMTP id fo1mr17044945wib.6.1335219769393; Mon, 23 Apr 2012 15:22:49 -0700 (PDT) Received: by 10.180.96.33 with HTTP; Mon, 23 Apr 2012 15:22:49 -0700 (PDT) In-Reply-To: References: <008801cd2195$5daf5db0$190e1910$@thetaphi.de> <6C78E97C707B5B4C8CC61D44F87545861DD6BF@SUEX10-mbx-03.ad.syr.edu> <008c01cd2198$23677220$6a365660$@thetaphi.de> Date: Mon, 23 Apr 2012 18:22:49 -0400 Message-ID: Subject: Re: [DISCUSS] Build/deploy Maven artifacts outside of Lucene/Solr From: Benson Margulies To: dev@lucene.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Apr 23, 2012 at 6:15 PM, Robert Muir wrote: > On Mon, Apr 23, 2012 at 6:13 PM, Benson Margulies wrote: >> On Mon, Apr 23, 2012 at 5:49 PM, Robert Muir wrote: >>> On Mon, Apr 23, 2012 at 5:47 PM, Benson Margulies wrote: >>> >>>> b) Create a patching process that grabs their release package, fixes >>>> it, and builds it, renaming packages. Include the patching process in >>>> your source release. >>>> >>> I would *love* to be able to have this option available, but how will >>> the maven artifacts work? Can maven artifacts say "i depend on x.y.z >>> but i need to download its source and patch it first" ? >> >> You publish it. No one objects to the process of changing the packages >> and publishing it under a suitable descriptive name. Or, as Uwe >> pointed out, it entirely possible to use a couple of maven plugins to >> pull this off dynamically. >> > > And now you hit the nail on the head. Because your 'option 2' > (download+patch) with ivy doesnt involve 'publishing'. we just > download and patch. I think the answer to this is Uwe's suggestion. Set up Maven to do the download+patch. I can't promise 100% automation of this in a single top-level maven build for every possible complex maven-built thing you might want to patch. I can promise no worse than two steps: (1) run a script that downloads, patches, and builds the patched items, and (2) run the regular maven (or ant/ivy) build. Step (1) puts its results in your 'local repository' (~/.m2/repository) and step 2 uses them there. For many maven things, I could see how to do this with a maven plugin folded inside your build, but since I think that would fail in some cases, I don't think it is wise. > > But with maven you MUST publish. so this is really forcing us to your > option 3 (its a published fork). > > Give me an option 2 for maven that doesnt have the word 'publish' and > then its an option 2. > > -- > lucidimagination.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: dev-help@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org