Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/setup-jdk/action.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: "Setups JDK"
description: "Setups JDK 17"
description: "Setups JDK 21"
runs:
using: "composite"
steps:
- name: Setup Java JDK
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: adopt
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<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.26.5</neo4j.version>
<java.version>17</java.version>
<neo4j.version>2025.06.0</neo4j.version>
<java.version>21</java.version>
<geotools.version>32.2</geotools.version>
<spatial.test.osm.version>20100819</spatial.test.osm.version>
<spatial.test.shp.version>20100819</spatial.test.shp.version>
Expand All @@ -16,7 +16,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>neo4j-spatial</artifactId>
<groupId>org.neo4j</groupId>
<version>5.26.1-SNAPSHOT</version>
<version>2025.06-SNAPSHOT</version>
<name>Neo4j - Spatial Components</name>
<description>Spatial utilities and components for Neo4j</description>
<url>https://neo4j.com/labs/neo4j-spatial/5/</url>
Expand Down
24 changes: 22 additions & 2 deletions server-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,27 @@
<parent>
<groupId>org.neo4j</groupId>
<artifactId>neo4j-spatial</artifactId>
<version>5.26.1-SNAPSHOT</version>
<version>2025.06-SNAPSHOT</version>
</parent>

<artifactId>neo4j-spatial-server-plugin</artifactId>

<properties>
<maven.compiler.release>21</maven.compiler.release>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.10.3</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -113,10 +129,14 @@
</dependency>

<!-- The JUnit-Hamcrest-Mockito combo -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.11.3</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
import org.neo4j.kernel.impl.api.security.RestrictedAccessMode;
import org.neo4j.kernel.internal.GraphDatabaseAPI;

import static org.neo4j.internal.kernel.api.security.StaticAccessMode.SCHEMA;

public class IndexManager {

private final GraphDatabaseAPI db;
Expand All @@ -44,7 +46,7 @@ public static SecurityContext withIndexCreate(SecurityContext securityContext) {
}

private IndexAccessMode(SecurityContext securityContext) {
super(securityContext.mode(), Static.SCHEMA);
super(securityContext.mode(), SCHEMA);
}

@Override
Expand Down