Return-Path: X-Original-To: apmail-groovy-users-archive@minotaur.apache.org Delivered-To: apmail-groovy-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 321EF18FE3 for ; Wed, 9 Dec 2015 22:18:42 +0000 (UTC) Received: (qmail 16467 invoked by uid 500); 9 Dec 2015 22:18:42 -0000 Delivered-To: apmail-groovy-users-archive@groovy.apache.org Received: (qmail 16433 invoked by uid 500); 9 Dec 2015 22:18:42 -0000 Mailing-List: contact users-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@groovy.apache.org Delivered-To: mailing list users@groovy.apache.org Received: (qmail 16423 invoked by uid 99); 9 Dec 2015 22:18:41 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2015 22:18:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 8653EC9C7C for ; Wed, 9 Dec 2015 22:18:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3 X-Spam-Level: *** X-Spam-Status: No, score=3 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=duncan-dickinson-name.20150623.gappssmtp.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 0Io8kcvVFhux for ; Wed, 9 Dec 2015 22:18:33 +0000 (UTC) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com [209.85.217.175]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 7707342B82 for ; Wed, 9 Dec 2015 22:18:33 +0000 (UTC) Received: by lbbkw15 with SMTP id kw15so39012120lbb.0 for ; Wed, 09 Dec 2015 14:18:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=duncan-dickinson-name.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=oB+WM26IZN36/5fmHakYLXAXk1r52HYDznkoa6rxHD8=; b=v/y4lDKhIkTBmBaMa8Gk7bwqj7SnpwKy/HGtEBjgTcltmtB40y0KWUQrtfLD5VOKry 6IceK/uxp371z4dVOsTg6J6fBGO0d1haUZkVvxfr9+nveqjmWrhswPCmnQvI1XZOJ8kq 7U7/T4UaeF5klH6L58Ba4e/JeLS10jfd4ncK6icVVdtOCTcIxaPrnB/+WKDRcRtHasRD RR1PtbO/rE4yCq30SgnFcmdAKe9oke5Wg80CYMLYYT+zWKko0RXkYn0M6EWFsyQckh4Q RVRM4YOoHgWDIRGFfEyYZhBw5XSs9OoFBY5MKuJfQAEDlMG31MotS8MDQa/jRiEzpK2+ khAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=oB+WM26IZN36/5fmHakYLXAXk1r52HYDznkoa6rxHD8=; b=lbDQuUe0sdpohAxd/w/FUE0XquK2nomrc4M+2Ppk/DICqiz9Mhram6O9HH19RLN+4/ rmYMw6wur3UyWVgFb7Fo7F0yDMHb9T/w02JCHMNbssm3CA6NBACsufYQH438cYPrPs0f ghGtBA5yjHjd9DBzcKdoUhLiyud6JfHWqkrCdvCGCRmR/QRhQqv71+svjhlVa7S2h14P 84ky9NBfdaSfNTYb+pj43v3RXiUecu42zjrRG/vFlBi1G7xXVqRsOa3Wmx9bYWAVis7N 3LNp8KpxOoC5nrek1WGs1/kMZmReGf8bSlv40Hth3kjMz5GPK36fPVn4FaKN8cAh3XPO CfAg== X-Gm-Message-State: ALoCoQnKJJH6DUtlHWX76m//t5RQ5ZkMsgbRNbPAdgid8PUaaF0rMWRS9pKGcjmZg+QFi2h0WRkMue/gjrU7lGcS1RyFeaZQEQ== MIME-Version: 1.0 X-Received: by 10.112.159.102 with SMTP id xb6mr3746174lbb.105.1449699505592; Wed, 09 Dec 2015 14:18:25 -0800 (PST) Sender: me@duncan.dickinson.name Received: by 10.112.34.9 with HTTP; Wed, 9 Dec 2015 14:18:25 -0800 (PST) X-Originating-IP: [132.234.28.81] In-Reply-To: References: Date: Thu, 10 Dec 2015 08:18:25 +1000 X-Google-Sender-Auth: D7YPAdnYRpT0unA-Q7HUW5oVouY Message-ID: Subject: Re: Force @Grab to look only at local maven From: Duncan Dickinson To: users@groovy.apache.org Content-Type: multipart/alternative; boundary=001a11c243320ff54705267e78a0 --001a11c243320ff54705267e78a0 Content-Type: text/plain; charset=UTF-8 Hi, I'm not sure about pointing Grape at your local Maven repo but you can add artifacts to your Grape repo: http://www.groovy-lang.org/grape.html#Grape-CommandLineTool. Your other option is to look at Gradle and use mavenLocal() in the repositories config. Cheers, Duncan On Tue, Dec 8, 2015 at 8:53 PM, Balachandran Sivakumar wrote: > Hi, > > On Sat, Dec 5, 2015 at 2:06 PM, Balachandran Sivakumar < > benignbala@gmail.com> wrote: > >> Hi, >> I have a groovy script that uses a modified version of a jar. The jar >> is in the local maven and I want @Grab to pick it up instead. Is there a >> way I can do that ? >> >> Also, apart from @Grab, is there a way by which I can make a groovy >> script look for jars in the local maven ? Thanks >> >> > Can someone please help with this ? Thanks. > >> > > > -- > Thank you > Balachandran Sivakumar > > --001a11c243320ff54705267e78a0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I'm not sure abou= t pointing Grape at your local Maven repo but you can add artifacts to your= Grape repo: http://www.groovy-lang.org/grape.html#Grape-CommandLineTool. =

Your other option is to look at Gradle and use mavenLocal() i= n the repositories config.

Cheers,

Duncan


On Tue, Dec 8, 2015 at 8:53 PM, Balachandran Sivakuma= r <benignbala@gmail.com> wrote:
Hi,

On Sat, Dec 5, 2015 at 2:06 PM, Balachand= ran Sivakumar <benignbala@gmail.com> wrote:
Hi,
=C2=A0=C2=A0= =C2=A0 I have a groovy script that uses a modified version of a jar. The ja= r is in the local maven and I want @Grab to pick it up instead. Is there a = way I can do that ?

Also, apart from @Grab, is there a way by = which I can make a groovy script look for jars in the local maven ? Thanks<= span>


=C2=A0= =C2=A0=C2=A0 Can someone please help with this ? Thanks.



--
T= hank you
Balachandran Sivakumar


--001a11c243320ff54705267e78a0--