--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>de.diejungsvondertanke.tankstelle</groupId>
+ <artifactId>tankstelle</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>3.1.0</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <mainClass>${main.Class}</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>3.5.0</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <filters>
+ <filter>
+ <artifact>*:*</artifact>
+ <excludes>
+ <exclude>META-INF/*.SF</exclude>
+ <exclude>META-INF/*.DSA</exclude>
+ <exclude>META-INF/*.RSA</exclude>
+ </excludes>
+ </filter>
+ </filters>
+ <transformers>
+ <transformer>
+ <mainClass>${main.Class}</mainClass>
+ </transformer>
+ </transformers>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.8.0</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.ow2.asm</groupId>
+ <artifactId>asm</artifactId>
+ <version>6.2.1</version>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <release>${java.version}</release>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.moditect</groupId>
+ <artifactId>moditect-maven-plugin</artifactId>
+ <version>1.0.0.Beta2</version>
+ <executions>
+ <execution>
+ <id>create-runtime-image</id>
+ <phase>package</phase>
+ <goals>
+ <goal>create-runtime-image</goal>
+ </goals>
+ <configuration>
+ <modulePath>
+ <path>${project.build.directory}/modules</path>
+ </modulePath>
+ <modules>
+ <module>${project.groupId}</module>
+ </modules>
+ <launcher>
+ <name>${project.groupId}</name>
+ </launcher>
+ <compression>2</compression>
+ <stripDebug>true</stripDebug>
+ <outputDirectory>${project.build.directory}/jlink-image</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-dependencies</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.directory}/modules</outputDirectory>
+ <includeScope>runtime</includeScope>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.11.0</version>
+ <configuration>
+ <source>${java.version}</source>
+ <target>${java.version}</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>3.1.0</version>
+ <configuration>
+ <mainClass>${main.Class}</mainClass>
+ <commandlineArgs>--module-path
+ ${java.home}/lib
+ --add-modules=javafx.controls,javafx.fxml</commandlineArgs>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.openjfx</groupId>
+ <artifactId>javafx-maven-plugin</artifactId>
+ <version>${javafx.version}</version>
+ <executions>
+ <execution>
+ <id>default-cli</id>
+ <configuration>
+ <mainClass>${main.Class}</mainClass>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <properties>
+ <maven.compiler.target>25</maven.compiler.target>
+ <java.version>25</java.version>
+ <maven.compiler.source>25</maven.compiler.source>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <classifier>win</classifier>
+ <javafx.version>23.0.2</javafx.version>
+ <main.Class>de.diejungsvondertanke.tankstelle.ui.JFX</main.Class>
+ </properties>
+</project>
<build>
<plugins>
<!-- Adds the mainClass to the jar so it will run outside -->
- <plugin>
+ <!-- <plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<configuration>
</archive>
</configuration>
</plugin>
-
- <!-- sets up the version of Java you are running -->
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>3.5.0</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <filters>
+ <filter>
+ <artifact>*:*</artifact>
+ <excludes>
+ <exclude>META-INF/*.SF</exclude>
+ <exclude>META-INF/*.DSA</exclude>
+ <exclude>META-INF/*.RSA</exclude>
+ </excludes>
+ </filter>
+ </filters>
+ <transformers>
+ <transformer
+ implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+ <mainClass>${main.Class}</mainClass>
+ </transformer>
+ </transformers>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin> -->
+ <!-- sets up the version of Java you are running -->
+ <!-- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<version>6.2.1</version>
</dependency>
</dependencies>
+ </plugin> -->
+
+ <!-- Makes the jLink setup so you can give it to your friends -->
+ <plugin>
+ <groupId>org.moditect</groupId>
+ <artifactId>moditect-maven-plugin</artifactId>
+ <version>1.0.0.Beta2</version>
+ <executions>
+ <execution>
+ <id>create-runtime-image</id>
+ <phase>package</phase>
+ <goals>
+ <goal>create-runtime-image</goal>
+ </goals>
+ <configuration>
+ <modulePath>
+ <path>${project.build.directory}/modules</path>
+ </modulePath>
+ <modules>
+ <module>${project.groupId}</module>
+ </modules>
+ <launcher>
+ <name>${project.groupId}</name>
+
+ </launcher>
+ <compression>2</compression>
+ <stripDebug>true</stripDebug>
+ <outputDirectory>${project.build.directory}/jlink-image</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
<!-- Copies the depend FX files to your program -->
</commandlineArgs>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.openjfx</groupId>
+ <artifactId>javafx-maven-plugin</artifactId>
+ <version>${javafx.version}</version>
+ <executions>
+ <execution>
+ <id>default-cli</id>
+ <configuration>
+ <mainClass>${main.Class}</mainClass>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+
</plugins>
+
+
</build>
<properties>
<maven.compiler.target>25</maven.compiler.target>
<java.version>25</java.version>
<javafx.version>23.0.2</javafx.version>
+ <classifier>win</classifier>
<main.Class>de.diejungsvondertanke.tankstelle.ui.JFX</main.Class>
</properties>
<dependencies>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>${javafx.version}</version>
+ <!-- <classifier>${classifier}</classifier> -->
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>${javafx.version}</version>
+ <!-- <classifier>${classifier}</classifier> -->
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<version>${javafx.version}</version>
+ <!-- <classifier>${classifier}</classifier> -->
</dependency>
<!-- Optional: if you use TableView + properties -->
<groupId>org.openjfx</groupId>
<artifactId>javafx-base</artifactId>
<version>${javafx.version}</version>
+ <!-- <classifier>${classifier}</classifier> -->
</dependency>
</dependencies>