You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by js...@apache.org on 2020/04/24 14:02:29 UTC
[sis] 01/01: feat(JavaFx): build for java 11, add maven dependencies
This is an automated email from the ASF dual-hosted git repository.
jsorel pushed a commit to branch feat/javafx-on-11
in repository https://gitbox.apache.org/repos/asf/sis.git
commit 2b50ed594f4bc1483040f04ebdc6360efbc8b62d
Author: jsorel <jo...@geomatys.com>
AuthorDate: Fri Apr 24 16:01:54 2020 +0200
feat(JavaFx): build for java 11, add maven dependencies
---
application/sis-javafx/pom.xml | 33 ++++++++++++++++++++++++++++-----
1 file changed, 28 insertions(+), 5 deletions(-)
diff --git a/application/sis-javafx/pom.xml b/application/sis-javafx/pom.xml
index d64e62d..cdcddd9 100644
--- a/application/sis-javafx/pom.xml
+++ b/application/sis-javafx/pom.xml
@@ -92,11 +92,8 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <release>13</release>
- <compilerArgs>
- <arg>--module-path</arg> <arg>${env.PATH_TO_FX}</arg>
- <arg>--add-modules</arg> <arg>javafx.graphics,javafx.controls</arg>
- </compilerArgs>
+ <!-- 11 is the minimum supported by javafx 13.0.2 -->
+ <release>11</release>
</configuration>
</plugin>
@@ -166,6 +163,32 @@
<type>test-jar</type>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.openjfx</groupId>
+ <artifactId>javafx-graphics</artifactId>
+ <version>13.0.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.openjfx</groupId>
+ <artifactId>javafx-controls</artifactId>
+ <version>13.0.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.openjfx</groupId>
+ <artifactId>javafx-swing</artifactId>
+ <version>13.0.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.openjfx</groupId>
+ <artifactId>javafx-fxml</artifactId>
+ <version>13.0.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.openjfx</groupId>
+ <artifactId>javafx-web</artifactId>
+ <version>13.0.2</version>
+ </dependency>
+
</dependencies>
</project>