Skip to content

Commit

Permalink
update dependencies (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy2003 authored May 29, 2024
1 parent 3f83c28 commit 25b5b00
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 16 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ This has meant that the spatial library needed a major refactoring to work with
The removal of this support required that all internal API's needed to include parameters
for the current transaction, and only the specific surface designed for embedded use not have that.
* The library made use of Lucene based explicit indexes in many places.
The removal of support for explicit indexes required completely new solutions in sevaral places:
The removal of support for explicit indexes required completely new solutions in several places:
* The `OSMImporter` will instead now use normal Neo4j schema indexes (introduced in 2.0).
However, these can only be created in separate index transactions.
Due to the new transaction model this requires stopping the import transaction,
Expand Down Expand Up @@ -129,7 +129,7 @@ The key concepts of this library include:
* WKT and WKB stored as properties of nodes
* Simple points as properties of nodes (two doubles, or a double[] or a native Neo4j `Point`)
* OpenStreetMap with complex geometries stored as sub-graphs to reflect the original topology of the OSM model
* Multile CoordinationReferenceSystem support using GeoTools
* Multiple CoordinationReferenceSystem support using GeoTools
* Support the concept of multiple geographic layers, each with its own CRS and Index
* Include an index capable of searching for complex geometries (in-graph RTree index)
* Support import and export in a number of known formats (e.g. Shapefile and OSM)
Expand Down Expand Up @@ -316,9 +316,9 @@ This has not been tested at all in any GeoTools enabled application, but could p
* restart geoserver
* configure a new workspace
* configure a new datasource neo4j in your workspace. Point the "The directory path of the Neo4j database:" parameter to
the relative (form the GeoServer working dir) or aboslute path to a Neo4j Spatial database with layers (
the relative (form the GeoServer working dir) or absolute path to a Neo4j Spatial database with layers (
see [Neo4j Spatial](https://github.com/neo4j/spatial))
* in Layers, do "Add new resource" and choose your Neo4j datastore to see the exisitng Neo4j Spatial layers and add
* in Layers, do "Add new resource" and choose your Neo4j datastore to see the existing Neo4j Spatial layers and add
them.

### Testing in GeoServer trunk ###
Expand Down Expand Up @@ -537,7 +537,7 @@ at [Neo4j Spatial Releases](https://github.com/neo4j-contrib/m2/tree/master/rele

## Running Neo4j spatial code from the command-line ##

Some of the classes in Neoj4-Spatial include main() methods and can be run on the command-line.
Some of the classes in Neo4j-Spatial include main() methods and can be run on the command-line.
For example there are command-line options for importing SHP and OSM data. See the main methods
in the OSMImporter and ShapefileImporter classes. Here we will describe how to set up the dependencies
for running the command-line, using the OSMImporter and the sample OSM file two-street.osm.
Expand Down
32 changes: 21 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
<properties>
<neo4j.version>5.13.0</neo4j.version>
<neo4j.version>5.19.0</neo4j.version>
<neo4j.java.version>17</neo4j.java.version>
<skinGroupId>org.neo4j.maven.skins</skinGroupId>
<skinArtifactId>default-skin</skinArtifactId>
<skinVersion>2</skinVersion>
<geotools.version>30.0</geotools.version>
<geotools.version>30.2</geotools.version>
<spatial.test.osm.version>20100819</spatial.test.osm.version>
<spatial.test.shp.version>20100819</spatial.test.shp.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<bundle.namespace>org.neo4j.gis</bundle.namespace>
<github.global.server>github</github.global.server>
<junit.version>5.10.0</junit.version>
<maven-surefire-plugin.version>3.2.1</maven-surefire-plugin.version>
<junit.version>5.10.2</junit.version>
<maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version>
</properties>

<modelVersion>4.0.0</modelVersion>
<artifactId>neo4j-spatial</artifactId>
<groupId>org.neo4j</groupId>
<version>0.30.0-neo4j-5.13.0</version>
<version>0.31.0-neo4j-5.19.0</version>
<name>Neo4j - Spatial Components</name>
<description>Spatial utilities and components for Neo4j</description>
<url>https://components.neo4j.org/${project.artifactId}/${project.version}</url>
Expand Down Expand Up @@ -287,7 +287,7 @@
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.10.1</version>
<version>2.11.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -396,17 +396,22 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>2.0.9</version>
<version>2.0.13</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.13.0</version>
<version>2.16.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.13.0</version>
<version>3.14.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.17.1</version>
</dependency>
<dependency>
<groupId>jakarta.annotation</groupId>
Expand All @@ -426,18 +431,23 @@
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>2.13.11</version>
<version>2.13.14</version>
</dependency>
<dependency>
<groupId>javax.measure</groupId>
<artifactId>unit-api</artifactId>
<version>2.1.3</version>
<version>2.1.2</version>
</dependency>
<dependency>
<groupId>org.apiguardian</groupId>
<artifactId>apiguardian-api</artifactId>
<version>1.1.2</version>
</dependency>
<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
<version>2.27.0</version>
</dependency>
</dependencies>
</dependencyManagement>
<repositories>
Expand Down

0 comments on commit 25b5b00

Please sign in to comment.