Upgrade Groovy

18 views
Skip to first unread message

jericks

unread,
Apr 30, 2012, 11:12:10 PM4/30/12
to geos...@googlegroups.com
Hi all!

I have been developing against a really old version of Groovy (1.7.10).  Does any one object if I upgrade to the most recent version (1.8.6)?  Justin, I noticed that the GeoScript scripting module is also using 1.7.10.  Do you have any objections to upgrading to the latest and greatest also?  I already made all of the changes necessary to get geoscript groovy compiling and tests passing with 1.8.6.  All of these changes also worked with 1.7.10.

Thanks!
Jared

Justin Deoliveira

unread,
May 1, 2012, 1:28:06 PM5/1/12
to geos...@googlegroups.com
Hey Jared,

Nope, no objection, i just grabbed the same version as geoscript-groovy for the geoserver extension, ideally they match up. Or better yet the geoserver groovy module depends on geoscript-groovy via maven and pulls in the underlying groovy dependency transitively.

-Justin

--
You received this message because you are subscribed to the GeoScript mailing list.
To post to this group, send email to geos...@googlegroups.com
To unsubscribe from this group, send email to geoscript+...@googlegroups.com
Visit this group at http://groups.google.com/group/geoscript or see http://geoscript.org



--
Justin Deoliveira
Enterprise support for open source geospatial.

Jared Erickson

unread,
May 1, 2012, 3:08:26 PM5/1/12
to geos...@googlegroups.com
Hi Justin!

Cool.  I will upgrade geoscript groovy's groovy version tonight to 1.8.6.  You anticipated my next question :)  I would like to get geoscript groovy into a Maven repository.  It could go into OpenGeo's repo or it could go into the main repo.  Either way is fine with me.

Thanks again,
Jared

Justin Deoliveira

unread,
May 1, 2012, 3:46:11 PM5/1/12
to geos...@googlegroups.com
Hey Jared,

On Tue, May 1, 2012 at 7:08 PM, Jared Erickson <jared.e...@gmail.com> wrote:
Hi Justin!

Cool.  I will upgrade geoscript groovy's groovy version tonight to 1.8.6.  You anticipated my next question :)  I would like to get geoscript groovy into a Maven repository.  It could go into OpenGeo's repo or it could go into the main repo.  Either way is fine with me.

Either is fine with me... ideally both. My main repo do you mean maven central? I can turn on deploy in the geoscript-groovy job on the build server. If you add a distribution management section to the geoscript-groovy pom it should work if we add a deploy task to the build job. Just let me know when its there and I will try it out on the build server.

jericks

unread,
May 1, 2012, 10:59:42 PM5/1/12
to geos...@googlegroups.com
Thanks Justin!

Ok, I upgrade to Groovy 1.8.6, changed my groupId to org.geoscript (to match js and scala), and added the same distribution management section that Tim has for js.  Yea, I did mean Maven central.   So Hudson can publish to Maven repositories automatically?  Neat!

Thanks again,
Jared


On Tuesday, May 1, 2012 12:46:11 PM UTC-7, Justin Deoliveira wrote:
Hey Jared,

On Tue, May 1, 2012 at 7:08 PM, Jared Erickson <jared.e...@gmail.com> wrote:
Hi Justin!

Cool.  I will upgrade geoscript groovy's groovy version tonight to 1.8.6.  You anticipated my next question :)  I would like to get geoscript groovy into a Maven repository.  It could go into OpenGeo's repo or it could go into the main repo.  Either way is fine with me.

Either is fine with me... ideally both. My main repo do you mean maven central? I can turn on deploy in the geoscript-groovy job on the build server. If you add a distribution management section to the geoscript-groovy pom it should work if we add a deploy task to the build job. Just let me know when its there and I will try it out on the build server.

Thanks again,
Jared


On Tue, May 1, 2012 at 10:28 AM, Justin Deoliveira <jdeo...@opengeo.org> wrote:
Hey Jared,

Nope, no objection, i just grabbed the same version as geoscript-groovy for the geoserver extension, ideally they match up. Or better yet the geoserver groovy module depends on geoscript-groovy via maven and pulls in the underlying groovy dependency transitively.

-Justin

On Tue, May 1, 2012 at 3:12 AM, jericks <jared.e...@gmail.com> wrote:
Hi all!

I have been developing against a really old version of Groovy (1.7.10).  Does any one object if I upgrade to the most recent version (1.8.6)?  Justin, I noticed that the GeoScript scripting module is also using 1.7.10.  Do you have any objections to upgrading to the latest and greatest also?  I already made all of the changes necessary to get geoscript groovy compiling and tests passing with 1.8.6.  All of these changes also worked with 1.7.10.

Thanks!
Jared

--
You received this message because you are subscribed to the GeoScript mailing list.
To post to this group, send email to geos...@googlegroups.com
To unsubscribe from this group, send email to geoscript+unsubscribe@googlegroups.com
--
Justin Deoliveira
Enterprise support for open source geospatial.

--
You received this message because you are subscribed to the GeoScript mailing list.
To post to this group, send email to geos...@googlegroups.com
To unsubscribe from this group, send email to geoscript+unsubscribe@googlegroups.com

--
You received this message because you are subscribed to the GeoScript mailing list.
To post to this group, send email to geos...@googlegroups.com
To unsubscribe from this group, send email to geoscript+unsubscribe@googlegroups.com

Justin Deoliveira

unread,
May 2, 2012, 11:45:48 AM5/2/12
to geos...@googlegroups.com
Hey Jared,

Yeah, maven can push into any repository that you have credentials setup for. Its handy. So geoscript-groovy is now being pushed to repo.opengeo.org.


For major releases you may want to also push it elsewhere like maven central, etc... 

-Justin

To unsubscribe from this group, send email to geoscript+...@googlegroups.com

jericks

unread,
May 3, 2012, 10:36:07 PM5/3/12
to geos...@googlegroups.com
Thank you Justin!  Having GeoScript Groovy in a Maven repository is really a big deal (for me at least).

I think there might be a problem with the sha1 signatures though.  Ivy (through Groovy's @Grab annotation) is complaining that the http://repo.opengeo.org/org/geoscript/geoscript-groovy/0.98-SNAPSHOT/geoscript-groovy-0.98-SNAPSHOT.pom url has an invalid sha1. 


while the actual sha1 value of http://repo.opengeo.org/org/geoscript/geoscript-groovy/0.98-SNAPSHOT/geoscript-groovy-0.98-SNAPSHOT.pom[1] is 9718c1090bf192662fe1224e5483c98a2a7dc2a3.

Thanks,
Jared

Tim Schaub

unread,
May 3, 2012, 11:42:05 PM5/3/12
to geos...@googlegroups.com
This problem is not restricted to the Groovy artifacts - so at least
you've got company.
>>>>>>> geoscript+...@googlegroups.com
>>>>>>> Visit this group at http://groups.google.com/group/geoscript or see
>>>>>>> http://geoscript.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Justin Deoliveira
>>>>>> OpenGeo - http://opengeo.org
>>>>>> Enterprise support for open source geospatial.
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the GeoScript
>>>>>> mailing list.
>>>>>> To post to this group, send email to geos...@googlegroups.com
>>>>>> To unsubscribe from this group, send email to
>>>>>> geoscript+...@googlegroups.com
>>>>>> Visit this group at http://groups.google.com/group/geoscript or see
>>>>>> http://geoscript.org
>>>>>
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the GeoScript
>>>>> mailing list.
>>>>> To post to this group, send email to geos...@googlegroups.com
>>>>> To unsubscribe from this group, send email to
>>>>> geoscript+...@googlegroups.com
>>>>> Visit this group at http://groups.google.com/group/geoscript or see
>>>>> http://geoscript.org
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Justin Deoliveira
>>>> OpenGeo - http://opengeo.org
>>>> Enterprise support for open source geospatial.
>>>>
>>> --
>>> You received this message because you are subscribed to the GeoScript
>>> mailing list.
>>> To post to this group, send email to geos...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> geoscript+...@googlegroups.com
>>> Visit this group at http://groups.google.com/group/geoscript or see
>>> http://geoscript.org
>>
>>
>>
>>
>> --
>> Justin Deoliveira
>> OpenGeo - http://opengeo.org
>> Enterprise support for open source geospatial.
>>
> --
> You received this message because you are subscribed to the GeoScript
> mailing list.
> To post to this group, send email to geos...@googlegroups.com
> To unsubscribe from this group, send email to
> geoscript+...@googlegroups.com

Justin Deoliveira

unread,
May 4, 2012, 11:19:16 AM5/4/12
to geos...@googlegroups.com
Yeah, a common problem. I really have no idea why that happens on that server but i am just going to have to breakdown and write a cronjob that regenerates all the sha1 and md5 sum files on that server to see if that fixes the issue.
Reply all
Reply to author
Forward
0 new messages