Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eric Duminil
RegionChooser
Commits
a91a57ca
Commit
a91a57ca
authored
Dec 08, 2019
by
Kai-Holger Brassel
Browse files
Migrate to Java 11
parent
de9e8bfa
Pipeline
#353
failed with stage
in 6 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
buildConfig/start.bat
View file @
a91a57ca
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
buildConfig/start.sh
View file @
a91a57ca
#!/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
pom.xml
View file @
a91a57ca
...
...
@@ -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-
ja
r-plugin
</artifactId>
<version>
3.
2.0
</version>
<artifactId>
maven-
compile
r-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
</sourc
e>
<
target>
1.8
</target
>
<
release>
${maven.compiler.release}
</releas
e>
<
mainClass>
eu.simstadt.regionchooser/eu.simstadt.regionchooser.RegionChooserFX
</mainClass
>
</configuration>
</plugin>
<plugin>
...
...
src/main/java/module-info.java
0 → 100644
View file @
a91a57ca
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment