Commit a91a57ca authored by Kai-Holger Brassel's avatar Kai-Holger Brassel
Browse files

Migrate to Java 11

parent de9e8bfa
Pipeline #353 failed with stage
in 6 seconds
java -jar ${project.artifactId}-${project.version}.jar
\ No newline at end of file
java --module-path . -m eu.simstadt.regionchooser/eu.simstadt.regionchooser.RegionChooserFX
\ No newline at end of file
#!/bin/bash
java -jar ${project.artifactId}-${project.version}.jar
\ No newline at end of file
java --module-path . -m eu.simstadt.regionchooser/eu.simstadt.regionchooser.RegionChooserFX
\ No newline at end of file
......@@ -5,10 +5,30 @@
<groupId>eu.simstadt</groupId>
<artifactId>RegionChooser</artifactId>
<version>0.2.0-SNAPSHOT</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.release>11</maven.compiler.release>
<javafx.version>11.0.2</javafx.version>
</properties>
<dependencies>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>${javafx.version}</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>${javafx.version}</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-web</artifactId>
<version>${javafx.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/junit/junit -->
<dependency>
<groupId>junit</groupId>
......@@ -48,7 +68,7 @@
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/libs</outputDirectory>
<outputDirectory>${project.build.directory}</outputDirectory>
</configuration>
</execution>
</executions>
......@@ -76,27 +96,22 @@
</goals>
</execution>
</executions>
</plugin>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>libs/</classpathPrefix>
<mainClass>eu.simstadt.regionchooser.RegionChooserFX</mainClass>
</manifest>
</archive>
<release>${maven.compiler.release}</release>
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>0.0.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<release>${maven.compiler.release}</release>
<mainClass>eu.simstadt.regionchooser/eu.simstadt.regionchooser.RegionChooserFX</mainClass>
</configuration>
</plugin>
<plugin>
......
module eu.simstadt.regionchooser
{
exports eu.simstadt.regionchooser;
requires java.logging;
requires java.prefs;
requires javafx.base;
requires javafx.graphics;
requires javafx.web;
requires jdk.jsobject;
requires org.locationtech.jts;
requires proj4j;
requires vtd.xml;
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment