[Geoserver-devel] h2database dependency

I tried to build geoserver from source for the first time a couple of weeks ago. The only problem I hit was with the org.h2database dependency in the root pom and the WMS project pom. As near as I can tell, all h2 artifacts are now posted under com.h2database rather than org.h2database. I could find version 1.1.110 under the former, but not the latter. Am I missing something obvious, or do these references need to be updated? I’ve only been working with maven for a few months, so my apologies if I’m missing something obvious. I think I must be since other people can obviously compile.

Thanks,
e

Eric Sword wrote:

I tried to build geoserver from source for the first time a couple of weeks ago. The only problem I hit was with the org.h2database dependency in the root pom and the WMS project pom. As near as I can tell, all h2 artifacts are now posted under com.h2database rather than org.h2database. I could find version 1.1.110 under the former, but not the latter. Am I missing something obvious, or do these references need to be updated? I've only been working with maven for a few months, so my apologies if I'm missing something obvious. I think I must be since other people can obviously compile.

Thanks,
e

The usual problem with Maven is that if you build multiple projects your local repository contains the union of all the depencies. So if GeoTools includes all the right repositories, and GeoServer is missing some, then no GeoServer developer is going to notice because they build GT all the time anyway.

But I've been publishing those jars to http://repo.opengeo.org/org/h2database/h2/ , and that's a repo in trunk/src/pom.xml . What version of GeoServer are you trying to build ?

-Arne

--
Arne Kepp
OpenGeo - http://opengeo.org
Expert service straight from the developers

(Please CC list)

1.7.x/src/pom.xml also has a reference to repo.opengeo.org.

Can you provide the maven traceback , including the part where it tries and fails repos for this particular jar ?

-Arne

Eric Sword wrote:

Latest from 1.7.x branch.

On Thu, Sep 24, 2009 at 3:08 AM, Arne Kepp <ak@anonymised.com <mailto:ak@anonymised.com>> wrote:

    Eric Sword wrote:

        I tried to build geoserver from source for the first time a
        couple of weeks ago. The only problem I hit was with the
        org.h2database dependency in the root pom and the WMS project
        pom. As near as I can tell, all h2 artifacts are now posted
        under com.h2database rather than org.h2database. I could find
        version 1.1.110 under the former, but not the latter. Am I
        missing something obvious, or do these references need to be
        updated? I've only been working with maven for a few months,
        so my apologies if I'm missing something obvious. I think I
        must be since other people can obviously compile.

        Thanks,
        e

    The usual problem with Maven is that if you build multiple
    projects your local repository contains the union of all the
    depencies. So if GeoTools includes all the right repositories, and
    GeoServer is missing some, then no GeoServer developer is going to
    notice because they build GT all the time anyway.

    But I've been publishing those jars to
    http://repo.opengeo.org/org/h2database/h2/ , and that's a repo in
    trunk/src/pom.xml . What version of GeoServer are you trying to
    build ?

    -Arne

    -- Arne Kepp
    OpenGeo - http://opengeo.org
    Expert service straight from the developers

--
Arne Kepp
OpenGeo - http://opengeo.org
Expert service straight from the developers

Very odd. I just noticed that I do have org.h2database:h2:1.1.116 in my local repository and it was pulled down only about 30 minutes after the com.h2database 1.1.110 version back when I did the compile on 9/6 (around 2:30 EST). So maybe there was just a temporary blip in my communications. I’m mirroring everything through a nexus server at work and I possibly didn’t have the opengeo mirror in there correctly when I first tried. Sorry for the false alarm.

One last question though - why are you posting it under org.h2database rather than com.h2database? Habit?

Thanks for the help,

e

On Thu, Sep 24, 2009 at 4:15 AM, Arne Kepp <ak@anonymised.com> wrote:

(Please CC list)

1.7.x/src/pom.xml also has a reference to repo.opengeo.org.

Can you provide the maven traceback , including the part where it tries and fails repos for this particular jar ?

-Arne

Eric Sword wrote:

Latest from 1.7.x branch.

On Thu, Sep 24, 2009 at 3:08 AM, Arne Kepp <ak@anonymised.com mailto:[ak@anonymised.com](mailto:ak@anonymised.com.1501...)> wrote:

Eric Sword wrote:

I tried to build geoserver from source for the first time a
couple of weeks ago. The only problem I hit was with the
org.h2database dependency in the root pom and the WMS project
pom. As near as I can tell, all h2 artifacts are now posted
under com.h2database rather than org.h2database. I could find
version 1.1.110 under the former, but not the latter. Am I
missing something obvious, or do these references need to be
updated? I’ve only been working with maven for a few months,
so my apologies if I’m missing something obvious. I think I
must be since other people can obviously compile.

Thanks,
e

The usual problem with Maven is that if you build multiple
projects your local repository contains the union of all the
depencies. So if GeoTools includes all the right repositories, and
GeoServer is missing some, then no GeoServer developer is going to
notice because they build GT all the time anyway.

But I’ve been publishing those jars to
http://repo.opengeo.org/org/h2database/h2/ , and that’s a repo in
trunk/src/pom.xml . What version of GeoServer are you trying to
build ?

-Arne

– Arne Kepp
OpenGeo - http://opengeo.org
Expert service straight from the developers


Arne Kepp
OpenGeo - http://opengeo.org
Expert service straight from the developers

Habit by now, and all the classes care called org.h2, so either one is inconsistent..

-Arne

Eric Sword wrote:

Very odd. I just noticed that I do have org.h2database:h2:1.1.116 in my local repository and it was pulled down only about 30 minutes after the com.h2database 1.1.110 version back when I did the compile on 9/6 (around 2:30 EST). So maybe there was just a temporary blip in my communications. I'm mirroring everything through a nexus server at work and I possibly didn't have the opengeo mirror in there correctly when I first tried. Sorry for the false alarm.

One last question though - why are you posting it under org.h2database rather than com.h2database? Habit?

Thanks for the help,

e

On Thu, Sep 24, 2009 at 4:15 AM, Arne Kepp <ak@anonymised.com <mailto:ak@anonymised.com>> wrote:

    (Please CC list)

    1.7.x/src/pom.xml also has a reference to repo.opengeo.org
    <http://repo.opengeo.org>.

    Can you provide the maven traceback , including the part where it
    tries and fails repos for this particular jar ?

    -Arne

    Eric Sword wrote:

        Latest from 1.7.x branch.

        On Thu, Sep 24, 2009 at 3:08 AM, Arne Kepp <ak@anonymised.com
        <mailto:ak@anonymised.com> <mailto:ak@anonymised.com
        <mailto:ak@anonymised.com>>> wrote:

           Eric Sword wrote:

               I tried to build geoserver from source for the first time a
               couple of weeks ago. The only problem I hit was with the
               org.h2database dependency in the root pom and the WMS
        project
               pom. As near as I can tell, all h2 artifacts are now
        posted
               under com.h2database rather than org.h2database. I
        could find
               version 1.1.110 under the former, but not the latter. Am I
               missing something obvious, or do these references need
        to be
               updated? I've only been working with maven for a few
        months,
               so my apologies if I'm missing something obvious. I
        think I
               must be since other people can obviously compile.

               Thanks,
               e

           The usual problem with Maven is that if you build multiple
           projects your local repository contains the union of all the
           depencies. So if GeoTools includes all the right
        repositories, and
           GeoServer is missing some, then no GeoServer developer is
        going to
           notice because they build GT all the time anyway.

           But I've been publishing those jars to
           http://repo.opengeo.org/org/h2database/h2/ , and that's a
        repo in
           trunk/src/pom.xml . What version of GeoServer are you trying to
           build ?

           -Arne

           -- Arne Kepp
           OpenGeo - http://opengeo.org
           Expert service straight from the developers

    -- Arne Kepp
    OpenGeo - http://opengeo.org
    Expert service straight from the developers

--
Arne Kepp
OpenGeo - http://opengeo.org
Expert service straight from the developers