Re: Force @Grab to look only at local maven

2015-12-09 Thread Balachandran Sivakumar
Hi Duncan, On Thu, Dec 10, 2015 at 3:48 AM, Duncan Dickinson 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 t

Re: Force @Grab to look only at local maven

2015-12-09 Thread Duncan Dickinson
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

Re: Sql cacheConnection/withTransaction always closes connection

2015-12-09 Thread John Wagenleitner
On Wed, Dec 9, 2015 at 6:20 AM, Alexander Holand Salgado < alexander.salg...@otrum.com> wrote: > Hi, > > > It seems that groovy.sql.Sql's cacheConnection {} and withTransaction {} > both close the used connection on returning, regardless of the > surrounding context, and if using a data source the

Sql cacheConnection/withTransaction always closes connection

2015-12-09 Thread Alexander Holand Salgado
Hi, It seems that groovy.sql.Sql's cacheConnection {} and withTransaction {} both close the used connection on returning, regardless of the surrounding context, and if using a data source the currently used connection is set to NULL. E.g. if you do: sql.cacheConnection { cc -> sql.withTrans

Re: Custom Plugin,which configures and executes maven-publisher

2015-12-09 Thread Schalk Cronjé
Hi Stefean, This seems to be a Gradle question, but better to be asked on the Gradle forum -> https://discuss.gradle.org Regards On 09/12/2015 14:04, stefan.rademac...@tk.de wrote: Hi all, I am new to the mailing list (and to groovy plugin development) and have question, which which wasn'

Custom Plugin,which configures and executes maven-publisher

2015-12-09 Thread Stefan.Rademacher
Hi all, I am new to the mailing list (and to groovy plugin development) and have question, which which wasn't answered by any of the "groovy plugin development"-tutorials, that I found. I have a custom groovy plugin, which defines a task and provides an extension. public void apply(Proj