[Geoserver-devel] Maven build error in WFS module

Hi Geoserver dev’s,

I sat down for a hack on GeoServer this evening and am running up against a brick wall while attempting to build with maven.

I am following http://docs.geoserver.org/stable/en/developer/quickstart/index.html
yet when a ‘mvn clean install’ from geoserver/src is attempted, I am getting a failure in
geoserver/src/wfs/src/main/java/org/geoserver/wfs/kvp/BBoxKvpParser.java with an
Unknown Symbol error on class ReferencedEnvelope3D from package org.geotools.geometry.jts

I’m wondering if there’s a missing geotools maven dependency?

Only other thing I can think of is I’m using maven 3.x rather then 2.1.x

Is someone able to test and/or give me a hint?

Cheers,
Sev


“We are dreamers, shapers, singers and makers…”

That class was recently added to geotools master; try and force a refresh or build geotools locally.


Jody Garnett

On 20/08/2012, at 10:40 PM, “Severin (aka Cliff)” <djseverin@anonymised.com> wrote:

Hi Geoserver dev’s,

I sat down for a hack on GeoServer this evening and am running up against a brick wall while attempting to build with maven.

I am following http://docs.geoserver.org/stable/en/developer/quickstart/index.html
yet when a ‘mvn clean install’ from geoserver/src is attempted, I am getting a failure in
geoserver/src/wfs/src/main/java/org/geoserver/wfs/kvp/BBoxKvpParser.java with an
Unknown Symbol error on class ReferencedEnvelope3D from package org.geotools.geometry.jts

I’m wondering if there’s a missing geotools maven dependency?

Only other thing I can think of is I’m using maven 3.x rather then 2.1.x

Is someone able to test and/or give me a hint?

Cheers,
Sev


“We are dreamers, shapers, singers and makers…”


Live Security Virtual Conference
Exclusive live event will cover all the ways today’s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

I just ran into this as well (and “forcing a refresh” via mvn -U install doesn’t resolve the issue.)

I would schedule a Hudson build to put the new jars into the maven repo, but apparently the build for geotools master is failing in Hudson right now. It looks like this error is not a problem with your local configuration though - probably we’ll have it sorted out in time for your next evening hack.

FWIW, a local ‘mvn install -DskipTests’ of GeoTools completed in a couple of minutes and got GeoServer back on track.


David Winslow
OpenGeo - http://opengeo.org/

On Mon, Aug 20, 2012 at 8:44 AM, Jody Garnett <jody.garnett@anonymised.com> wrote:

That class was recently added to geotools master; try and force a refresh or build geotools locally.


Jody Garnett

On 20/08/2012, at 10:40 PM, “Severin (aka Cliff)” <djseverin@anonymised.com> wrote:

Hi Geoserver dev’s,

I sat down for a hack on GeoServer this evening and am running up against a brick wall while attempting to build with maven.

I am following http://docs.geoserver.org/stable/en/developer/quickstart/index.html
yet when a ‘mvn clean install’ from geoserver/src is attempted, I am getting a failure in
geoserver/src/wfs/src/main/java/org/geoserver/wfs/kvp/BBoxKvpParser.java with an
Unknown Symbol error on class ReferencedEnvelope3D from package org.geotools.geometry.jts

I’m wondering if there’s a missing geotools maven dependency?

Only other thing I can think of is I’m using maven 3.x rather then 2.1.x

Is someone able to test and/or give me a hint?

Cheers,
Sev


“We are dreamers, shapers, singers and makers…”


Live Security Virtual Conference
Exclusive live event will cover all the ways today’s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Live Security Virtual Conference
Exclusive live event will cover all the ways today’s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

geotools-master was broken by an intermittent wfs-ng failure that I have seen elsewhere from time to time. This caused Niels' 3D changes to not be published to the repo.

Failed tests: testGetFeatureLockingExpire(org.geotools.data.wfs.integration.MemoryDataStoreIntegrationTest): fid-3c6d8b2_13943566ad6_-7f74 not locked

I have created a Jira issue:
https://jira.codehaus.org/browse/GEOT-4234

Kind regards,
Ben.

On 20/08/12 21:11, David Winslow wrote:

I just ran into this as well (and "forcing a refresh" via mvn -U install
doesn't resolve the issue.)

I would schedule a Hudson build to put the new jars into the maven repo,
but apparently the build for geotools master is failing in Hudson right
now. It looks like this error is not a problem with your local
configuration though - probably we'll have it sorted out in time for
your next evening hack.

FWIW, a local 'mvn install -DskipTests' of GeoTools completed in a
couple of minutes and got GeoServer back on track.

--
David Winslow
OpenGeo - http://opengeo.org/

On Mon, Aug 20, 2012 at 8:44 AM, Jody Garnett <jody.garnett@anonymised.com
<mailto:jody.garnett@anonymised.com>> wrote:

    That class was recently added to geotools master; try and force a
    refresh or build geotools locally.

    --
    Jody Garnett

    On 20/08/2012, at 10:40 PM, "Severin (aka Cliff)"
    <djseverin@anonymised.com <mailto:djseverin@anonymised.com>> wrote:

    Hi Geoserver dev's,

    I sat down for a hack on GeoServer this evening and am running up
    against a brick wall while attempting to build with maven.

    I am following
    http://docs.geoserver.org/stable/en/developer/quickstart/index.html
    yet when a 'mvn clean install' from geoserver/src is attempted, I
    am getting a failure in
    geoserver/src/wfs/src/main/java/org/geoserver/wfs/kvp/BBoxKvpParser.java
    with an
    Unknown Symbol error on class ReferencedEnvelope3D from package
    org.geotools.geometry.jts

    I'm wondering if there's a missing geotools maven dependency?

    Only other thing I can think of is I'm using maven 3.x rather then
    2.1.x

    Is someone able to test and/or give me a hint?

    Cheers,
      Sev

    --
    "We are dreamers, shapers, singers and makers..."
    ------------------------------------------------------------------------------
    Live Security Virtual Conference
    Exclusive live event will cover all the ways today's security and
    threat landscape has changed and how IT managers can respond.
    Discussions
    will include endpoint security, mobile security and the latest in
    malware
    threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
    _______________________________________________
    Geoserver-devel mailing list
    Geoserver-devel@lists.sourceforge.net
    <mailto:Geoserver-devel@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geoserver-devel

    ------------------------------------------------------------------------------
    Live Security Virtual Conference
    Exclusive live event will cover all the ways today's security and
    threat landscape has changed and how IT managers can respond.
    Discussions
    will include endpoint security, mobile security and the latest in
    malware
    threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
    _______________________________________________
    Geoserver-devel mailing list
    Geoserver-devel@lists.sourceforge.net
    <mailto:Geoserver-devel@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

And I kicked Hudson geotool-master for good measure. Once the artifacts are deployed, geoserver should build cleanly.

On 21/08/12 09:37, Ben Caradoc-Davies wrote:

geotools-master was broken by an intermittent wfs-ng failure that I have
seen elsewhere from time to time. This caused Niels' 3D changes to not
be published to the repo.

Failed tests:
testGetFeatureLockingExpire(org.geotools.data.wfs.integration.MemoryDataStoreIntegrationTest):
fid-3c6d8b2_13943566ad6_-7f74 not locked

I have created a Jira issue:
https://jira.codehaus.org/browse/GEOT-4234

Kind regards,
Ben.

On 20/08/12 21:11, David Winslow wrote:

I just ran into this as well (and "forcing a refresh" via mvn -U install
doesn't resolve the issue.)

I would schedule a Hudson build to put the new jars into the maven repo,
but apparently the build for geotools master is failing in Hudson right
now. It looks like this error is not a problem with your local
configuration though - probably we'll have it sorted out in time for
your next evening hack.

FWIW, a local 'mvn install -DskipTests' of GeoTools completed in a
couple of minutes and got GeoServer back on track.

--
David Winslow
OpenGeo - http://opengeo.org/

On Mon, Aug 20, 2012 at 8:44 AM, Jody Garnett <jody.garnett@anonymised.com
<mailto:jody.garnett@anonymised.com>> wrote:

    That class was recently added to geotools master; try and force a
    refresh or build geotools locally.

    --
    Jody Garnett

    On 20/08/2012, at 10:40 PM, "Severin (aka Cliff)"
    <djseverin@anonymised.com <mailto:djseverin@anonymised.com>> wrote:

    Hi Geoserver dev's,

    I sat down for a hack on GeoServer this evening and am running up
    against a brick wall while attempting to build with maven.

    I am following
    http://docs.geoserver.org/stable/en/developer/quickstart/index.html
    yet when a 'mvn clean install' from geoserver/src is attempted, I
    am getting a failure in

geoserver/src/wfs/src/main/java/org/geoserver/wfs/kvp/BBoxKvpParser.java
    with an
    Unknown Symbol error on class ReferencedEnvelope3D from package
    org.geotools.geometry.jts

    I'm wondering if there's a missing geotools maven dependency?

    Only other thing I can think of is I'm using maven 3.x rather then
    2.1.x

    Is someone able to test and/or give me a hint?

    Cheers,
      Sev

    --
    "We are dreamers, shapers, singers and makers..."

------------------------------------------------------------------------------

    Live Security Virtual Conference
    Exclusive live event will cover all the ways today's security and
    threat landscape has changed and how IT managers can respond.
    Discussions
    will include endpoint security, mobile security and the latest in
    malware
    threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
    _______________________________________________
    Geoserver-devel mailing list
    Geoserver-devel@lists.sourceforge.net
    <mailto:Geoserver-devel@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geoserver-devel

------------------------------------------------------------------------------

    Live Security Virtual Conference
    Exclusive live event will cover all the ways today's security and
    threat landscape has changed and how IT managers can respond.
    Discussions
    will include endpoint security, mobile security and the latest in
    malware
    threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
    _______________________________________________
    Geoserver-devel mailing list
    Geoserver-devel@lists.sourceforge.net
    <mailto:Geoserver-devel@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre