mirror of
https://github.com/cfpwastaken/planetiler-openmaptiles.git
synced 2026-02-04 12:31:10 +00:00
Require minimum java 17 (#72)
This commit is contained in:
5
.github/workflows/maven.yml
vendored
5
.github/workflows/maven.yml
vendored
@@ -35,13 +35,10 @@ jobs:
|
|||||||
os: [ ubuntu-latest, macos-latest, windows-latest ]
|
os: [ ubuntu-latest, macos-latest, windows-latest ]
|
||||||
jdk: [ 17 ]
|
jdk: [ 17 ]
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
|
||||||
jdk: 16
|
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
jdk: 18
|
jdk: 18
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
jdk: 17
|
jdk: 19
|
||||||
args: "-DargLine='-Duser.language=fr -Duser.country=FR'"
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ Using pre-built docker image:
|
|||||||
docker run -v "$(pwd)/data":/data openmaptiles/planetiler-openmaptiles:latest --force --download --area=monaco
|
docker run -v "$(pwd)/data":/data openmaptiles/planetiler-openmaptiles:latest --force --download --area=monaco
|
||||||
```
|
```
|
||||||
|
|
||||||
Or to build from source, after [installing Java 16+](https://adoptium.net/installation.html):
|
Or to build from source, after [installing Java 17+](https://adoptium.net/installation.html):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Build the project (use mvnw.cmd on windows):
|
# Build the project (use mvnw.cmd on windows):
|
||||||
|
|||||||
8
pom.xml
8
pom.xml
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven.compiler.source>16</maven.compiler.source>
|
<maven.compiler.source>17</maven.compiler.source>
|
||||||
<maven.compiler.target>16</maven.compiler.target>
|
<maven.compiler.target>17</maven.compiler.target>
|
||||||
<planetiler.version>0.6-SNAPSHOT</planetiler.version>
|
<planetiler.version>0.6-SNAPSHOT</planetiler.version>
|
||||||
<junit.version>5.9.2</junit.version>
|
<junit.version>5.9.2</junit.version>
|
||||||
|
|
||||||
@@ -140,7 +140,7 @@
|
|||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<!-- require building with jdk 16 -->
|
<!-- require building with jdk 17 -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
@@ -154,7 +154,7 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<rules>
|
<rules>
|
||||||
<requireJavaVersion>
|
<requireJavaVersion>
|
||||||
<version>16</version>
|
<version>17</version>
|
||||||
</requireJavaVersion>
|
</requireJavaVersion>
|
||||||
</rules>
|
</rules>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|||||||
Reference in New Issue
Block a user