Skip to content

Commit

Permalink
5.14 Commit
Browse files Browse the repository at this point in the history
Updated pom.xml to address multiple jars. Addressed specific for Neo4j 5.14
  • Loading branch information
davidfauth committed Dec 12, 2023
1 parent 9403f3c commit 15d768c
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 14 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# CHANGELOG - Neo4jH3
# CHANGELOG - 5.14 - 2023-12-12
* [Updated] - Updated pom.xml to add multi-release plugin. There have been some changes to Neo4j 5.14 where Neo4j 5.14 supports both Java 17 and Java 21. The multi-release ensures that Neo4j will start with the plugin installed.

If you are using Neo4j 5.14, please use the 5.14 version of the Neo4jH3 plugin.

# CHANGELOG - 5.13 - 2023-11-20
* [ Added ] Tested through Neo4j 5.13
* [ Added ] Updated README.md to mention that /tmp directory needs to have execute privileges.
* [ Fixed ] Ensure the version value returned is correct.
Expand Down
29 changes: 18 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

<groupId>com.neo4jh3</groupId>
<artifactId>neo4jh3</artifactId>
<version>5.13.0</version>
<version>5.14.0</version>

<properties>
<neo4j.version>5.13.0</neo4j.version>
<neo4j.version>5.14.0</neo4j.version>
<csv.version>1.2</csv.version>
<lang3.version>3.13.0</lang3.version>
<uber.version>4.1.1</uber.version>
Expand All @@ -20,7 +20,8 @@
<maven-shade-plugin.version>3.4.1</maven-shade-plugin.version>
<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
<assertj.version>3.22.0</assertj.version>
<maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
<maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
</properties>

<dependencies>
Expand All @@ -36,13 +37,13 @@
<version>${neo4j.version}</version>
<scope>provided</scope>
</dependency>

<!--
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${lang3.version}</version>
</dependency>

-->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-math3</artifactId>
Expand Down Expand Up @@ -122,12 +123,6 @@
<snapshots><enabled>false</enabled></snapshots>
<releases><enabled>true</enabled></releases>
</repository>
<!--
<repository>
<id>maven-repository</id>
<url>file:////Users/davidfauth/.m2/repository/com/uber/h3/4.1.2-SNAPSHOT</url>
</repository>
-->
</repositories>

<build>
Expand Down Expand Up @@ -160,6 +155,18 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<manifestEntries>
<Multi-Release>true</Multi-Release>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<!-- This generates a jar-file with our procedure code,
plus any dependencies marked as `compile` scope.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/neo4jh3/uber/Uberh3.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class Uberh3 {
public Transaction tx;

private final static int DEFAULT_H3_RESOLUTION = 9;
private final static String NEO4J_H3_VERSION = "5.13.0";
private final static String NEO4J_H3_VERSION = "5.14.0";

private static H3Core h3 = null;

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/neo4jh3/Neo4jH3Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public void should_return_hex_address() throws InterruptedException {
}

result = session.run("RETURN com.neo4jh3.version() AS value");
assertEquals("\"5.13.0\"", result.single().get("value").toString());
assertEquals("\"5.14.0\"", result.single().get("value").toString());

result = session.run("RETURN com.neo4jh3.cellToLatLngString('892830926cfffff') AS value");
assertEquals("\"37.564248,-122.325306\"", result.single().get("value").toString());
Expand Down

0 comments on commit 15d768c

Please sign in to comment.