neo4j-contrib / spatial

Neo4j Spatial is a library of utilities for Neo4j that faciliates the enabling of spatial operations on data. In particular you can add spatial indexes to already located data, and perform spatial operations on the data like searching for data within specified regions or within a specified distance of a point of interest. In addition classes are provided to expose the data to geotools and thereby to geotools enabled applications like geoserver and uDig.
http://neo4j-contrib.github.io/spatial
Other
777 stars 191 forks source link

build not working. #370

Closed ghost closed 4 years ago

ghost commented 4 years ago

When I clone the repo to /plugins, and run mvn clean install I get the following error:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  13.226 s
[INFO] Finished at: 2020-05-18T11:00:47+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project neo4j-spatial: Could not resolve dependencies for project org.neo4j:neo4j-spatial:jar:0.26.2-neo4j-3.5.2: Failed to collect dependencies at org.neo4j.spatial:osm-test-data:jar:20100819: Failed to read artifact descriptor for org.neo4j.spatial:osm-test-data:jar:20100819: Could not transfer artifact org.neo4j.spatial:osm-test-data:pom:20100819 from/to boundlessgeo (http://repo.boundlessgeo.com): Transfer failed for http://repo.boundlessgeo.com/org/neo4j/spatial/osm-test-data/20100819/osm-test-data-20100819.pom: Unknown host repo.boundlessgeo.com: nodename nor servname provided, or not known -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
craigtaverner commented 4 years ago

It seems like boundless.org has been archived. It is a pity as we have been hosting some test data there for a decade now. I think we need to find a new location to host the test data, or we need to check the data into github as part of the repo. As a temporary fix you could comment out the lines in pom.xml and disable the tests that use this data.

mprins commented 4 years ago

http://repo.boundlessgeo.com was replaced with https://repo.osgeo.org/ though it doesn't seem to host that file: https://repo.osgeo.org/#browse/search=keyword%3Dosm-test-data

craigtaverner commented 3 years ago

This might fix the problem - https://github.com/neo4j-contrib/spatial/commit/9015639dbb49ff8f43045f855808a585cb803e79