Skip to content

Commit 15d768c

Browse files
committed
5.14 Commit
Updated pom.xml to address multiple jars. Addressed specific for Neo4j 5.14
1 parent 9403f3c commit 15d768c

File tree

4 files changed

+26
-14
lines changed

4 files changed

+26
-14
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
# CHANGELOG - Neo4jH3
1+
# CHANGELOG - 5.14 - 2023-12-12
2+
* [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.
3+
4+
If you are using Neo4j 5.14, please use the 5.14 version of the Neo4jH3 plugin.
5+
6+
# CHANGELOG - 5.13 - 2023-11-20
27
* [ Added ] Tested through Neo4j 5.13
38
* [ Added ] Updated README.md to mention that /tmp directory needs to have execute privileges.
49
* [ Fixed ] Ensure the version value returned is correct.

pom.xml

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
<groupId>com.neo4jh3</groupId>
88
<artifactId>neo4jh3</artifactId>
9-
<version>5.13.0</version>
9+
<version>5.14.0</version>
1010

1111
<properties>
12-
<neo4j.version>5.13.0</neo4j.version>
12+
<neo4j.version>5.14.0</neo4j.version>
1313
<csv.version>1.2</csv.version>
1414
<lang3.version>3.13.0</lang3.version>
1515
<uber.version>4.1.1</uber.version>
@@ -20,7 +20,8 @@
2020
<maven-shade-plugin.version>3.4.1</maven-shade-plugin.version>
2121
<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
2222
<assertj.version>3.22.0</assertj.version>
23-
<maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
23+
<maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
24+
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
2425
</properties>
2526

2627
<dependencies>
@@ -36,13 +37,13 @@
3637
<version>${neo4j.version}</version>
3738
<scope>provided</scope>
3839
</dependency>
39-
40+
<!--
4041
<dependency>
4142
<groupId>org.apache.commons</groupId>
4243
<artifactId>commons-lang3</artifactId>
4344
<version>${lang3.version}</version>
4445
</dependency>
45-
46+
-->
4647
<dependency>
4748
<groupId>org.apache.commons</groupId>
4849
<artifactId>commons-math3</artifactId>
@@ -122,12 +123,6 @@
122123
<snapshots><enabled>false</enabled></snapshots>
123124
<releases><enabled>true</enabled></releases>
124125
</repository>
125-
<!--
126-
<repository>
127-
<id>maven-repository</id>
128-
<url>file:////Users/davidfauth/.m2/repository/com/uber/h3/4.1.2-SNAPSHOT</url>
129-
</repository>
130-
-->
131126
</repositories>
132127

133128
<build>
@@ -160,6 +155,18 @@
160155
<artifactId>maven-surefire-plugin</artifactId>
161156
<version>${maven-surefire-plugin.version}</version>
162157
</plugin>
158+
<plugin>
159+
<groupId>org.apache.maven.plugins</groupId>
160+
<artifactId>maven-jar-plugin</artifactId>
161+
<version>${maven-jar-plugin.version}</version>
162+
<configuration>
163+
<archive>
164+
<manifestEntries>
165+
<Multi-Release>true</Multi-Release>
166+
</manifestEntries>
167+
</archive>
168+
</configuration>
169+
</plugin>
163170
<plugin>
164171
<!-- This generates a jar-file with our procedure code,
165172
plus any dependencies marked as `compile` scope.

src/main/java/com/neo4jh3/uber/Uberh3.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class Uberh3 {
2828
public Transaction tx;
2929

3030
private final static int DEFAULT_H3_RESOLUTION = 9;
31-
private final static String NEO4J_H3_VERSION = "5.13.0";
31+
private final static String NEO4J_H3_VERSION = "5.14.0";
3232

3333
private static H3Core h3 = null;
3434

src/test/java/com/neo4jh3/Neo4jH3Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public void should_return_hex_address() throws InterruptedException {
122122
}
123123

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

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

0 commit comments

Comments
 (0)