Skip to content

Commit

Permalink
neo4j-2025.01: update to OpenJDK 21 to fix compilation error
Browse files Browse the repository at this point in the history
Namely:

```
$ mvn package '-DskipTests=true' -T14C -q '-Doverwrite=true'
Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
[ERROR] scalac error: '21' is not a valid choice for '-target'
[ERROR] scalac error: bad option: '-target:jvm-21'
[ERROR] scalac error: '21' is not a valid choice for '-target'
[ERROR] scalac error: bad option: '-target:jvm-21'
[ERROR] exception compilation error occurred!!!
```
  • Loading branch information
OddBloke committed Mar 3, 2025
1 parent ffa97c6 commit bcf847d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions neo4j-2025.01.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package:
dependencies:
runtime:
- bash
- openjdk-17-jre
- openjdk-21-jre
provides:
- neo4j=${{package.full-version}}

Expand All @@ -20,7 +20,7 @@ environment:
- ca-certificates-bundle
- curl
- maven
- openjdk-17-default-jdk
- openjdk-21-default-jdk
- wolfi-base
- wolfi-baselayout

Expand Down Expand Up @@ -94,7 +94,7 @@ test:
environment:
contents:
packages:
- openjdk-17-default-jvm
- openjdk-21-default-jvm
- wait-for-it
pipeline:
- runs: |
Expand Down

0 comments on commit bcf847d

Please sign in to comment.