I can confirm that 1.0.b11 fixes the issue for GeoScript!  Thank you Jody!

I also am updating GeoScript to use the new repositories.  Will we still be
able to publish GeoScript releases and snapshots to the new repo?  The
GeoTools / GeoServer Jenkins boxes had jobs that published snapshot and
release builds.

Cheers,
Jared

On Wed, Apr 8, 2020 at 3:56 PM Jody Garnett <jody.garn...@gmail.com> wrote:

> With the build switched over you should be able to update to 1.0.b11 and
> confirm the fix?
> --
> Jody Garnett
>
>
> On Mon, 6 Apr 2020 at 10:10, Jody Garnett <jody.garn...@gmail.com> wrote:
>
>> Here it is on nexus:
>> https://repo.osgeo.org/service/rest/repository/browse/geotools-releases/net/sourceforge/hatbox/hatbox/1.0.b11/
>> --
>> Jody Garnett
>>
>>
>> On Mon, 6 Apr 2020 at 10:02, Jody Garnett <jody.garn...@gmail.com> wrote:
>>
>>> For whatever reason I cannot deploy to webdav, I will add to the new
>>> nexus and the jar will be available when we transition over.
>>> --
>>> Jody Garnett
>>>
>>>
>>> On Mon, 6 Apr 2020 at 09:38, Jody Garnett <jody.garn...@gmail.com>
>>> wrote:
>>>
>>>> Okay the pom.xml was just out of date, here is a release:
>>>> https://github.com/jodygarnett/hatbox/releases/tag/1.0.b11
>>>> I also added a readme, license, credited the original project, etc...
>>>> --
>>>> Jody Garnett
>>>>
>>>>
>>>> On Mon, 6 Apr 2020 at 09:13, Jody Garnett <jody.garn...@gmail.com>
>>>> wrote:
>>>>
>>>>> Merged your change, sadly I am unable to build (unable to
>>>>> grab com.h2database:h2:jar) even after upgrading...
>>>>>
>>>>> *[ERROR] Failed to execute goal on project hatbox: Could not resolve
>>>>> dependencies for project net.sourceforge.hatbox:hatbox:jar:1.0.b11: Failed
>>>>> to collect dependencies at com.h2database:h2:jar:1.4.200: Failed to read
>>>>> artifact descriptor for com.h2database:h2:jar:1.4.200: Could not transfer
>>>>> artifact com.h2database:h2:pom:1.4.200 from/to central
>>>>> (http://repo1.maven.org/maven2 <http://repo1.maven.org/maven2>): Failed to
>>>>> transfer file
>>>>> http://repo1.maven.org/maven2/com/h2database/h2/1.4.200/h2-1.4.200.pom
>>>>> <http://repo1.maven.org/maven2/com/h2database/h2/1.4.200/h2-1.4.200.pom>
>>>>> with status code 501 -> [Help 1]*
>>>>>
>>>>>
>>>>> It does appear to be available
>>>>> https://search.maven.org/artifact/com.h2database/h2/1.4.200/jar
>>>>>
>>>>> The project itself remains inactive
>>>>> https://sourceforge.net/projects/hatbox/
>>>>> --
>>>>> Jody Garnett
>>>>>
>>>>>
>>>>> On Mon, 6 Apr 2020 at 08:23, Jody Garnett <jody.garn...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> I did not know my fork was the official one :P Should we transfer to
>>>>>> the GeoTools GitHub?
>>>>>> --
>>>>>> Jody Garnett
>>>>>>
>>>>>>
>>>>>> On Sat, 4 Apr 2020 at 12:25, Jared Erickson <jared.erick...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> GeoScript Groovy can't connect to PostGIS when the hatbox jar is on
>>>>>>> the classpath.
>>>>>>>
>>>>>>> https://groups.google.com/forum/#!topic/geoscript/Ff2vqftzhqQ
>>>>>>>
>>>>>>> The error we get is:
>>>>>>>
>>>>>>> java.lang.SecurityException: Prohibited package name: java.sql
>>>>>>> at java.lang.ClassLoader.preDefineClass(ClassLoader.java:662)
>>>>>>> at java.lang.ClassLoader.defineClass(ClassLoader.java:761)
>>>>>>>
>>>>>>> The solution appears to be removing the hatbox java.sql package and
>>>>>>> upgrading the java compiler version to 1.6. The interfaces were only 
>>>>>>> there
>>>>>>> to support java 1.5.  I created a pull request a while back:
>>>>>>> https://github.com/jodygarnett/hatbox/issues/1
>>>>>>>
>>>>>>> I was wondering if the GeoTools project has run into this problem of
>>>>>>> if there is a way to fix it besides modifying the hatbox library,
>>>>>>>
>>>>>>> Thank you!
>>>>>>> Jared
>>>>>>> _______________________________________________
>>>>>>> GeoTools-Devel mailing list
>>>>>>> GeoTools-Devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>>>>>>
>>>>>>
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to