You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@groovy.apache.org by Balachandran Sivakumar <be...@gmail.com> on 2015/12/05 09:36:33 UTC
Force @Grab to look only at local maven
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
--
Thank you
Balachandran Sivakumar
Re: Force @Grab to look only at local maven
Posted by Balachandran Sivakumar <be...@gmail.com>.
Hi Duncan,
On Thu, Dec 10, 2015 at 3:48 AM, Duncan Dickinson <du...@dickinson.name>
wrote:
> 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.
>
>
Thanks! I had totally forgotten about the grape command line tool :(
That should sort it out for me.
> Your other option is to look at Gradle and use mavenLocal() in the
> repositories config.
>
>
Since this is just a simple script(About 6 lines excluding the
import statements) to test some changes, I didn't want to create an entire
gradle project for it. But the grape command line tool should work for me.
Thanks
--
Thank you
Balachandran Sivakumar
Re: Force @Grab to look only at local maven
Posted by Duncan Dickinson <du...@dickinson.name>.
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 <benignbala@gmail.com
> 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
>
>
Re: Force @Grab to look only at local maven
Posted by Balachandran Sivakumar <be...@gmail.com>.
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