update dependencies

This commit is contained in:
2026-02-25 21:41:14 +01:00
parent 1866782111
commit 71c79575c8
3 changed files with 18 additions and 15 deletions

View File

@ -4,8 +4,8 @@ Simple POS (Point of Sale) system for small to medium-sized events with receipt
## Requirements
- Java JDK 17+
- Maven 3.6+
- Java JDK 21+
- Maven 3.9+
- Display >= 1366x768
## Video Tutorials (German | Deutsch)
@ -18,7 +18,7 @@ Simple POS (Point of Sale) system for small to medium-sized events with receipt
### 1. Install dependencies
```bash
sudo zypper install java-17-openjdk-devel maven
sudo zypper install java-21-openjdk java-21-openjdk-devel maven
```
### 2. Install VSCode extensions

24
pom.xml
View File

@ -8,16 +8,17 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<javafx.version>21.0.5</javafx.version>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<maven.compiler.release>21</maven.compiler.release>
<javafx.version>23.0.1</javafx.version>
</properties>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.11.4</version>
<version>6.0.3</version>
<scope>test</scope>
</dependency>
@ -42,7 +43,7 @@
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.47.1.0</version>
<version>3.51.2.0</version>
</dependency>
</dependencies>
@ -52,10 +53,11 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<version>3.15.0</version>
<configuration>
<source>17</source>
<target>17</target>
<source>21</source>
<target>21</target>
<release>21</release>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
</configuration>
@ -64,7 +66,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.5.0</version>
<version>3.6.3</version>
<executions>
<execution>
<goals>
@ -80,7 +82,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.0</version>
<version>3.6.1</version>
<configuration>
<finalName>jFxKasse</finalName>
<shadedArtifactAttached>true</shadedArtifactAttached>
@ -111,4 +113,4 @@
</plugins>
</build>
</project>
</project>

View File

@ -416,7 +416,8 @@ public class MainWindowController {
desktop.open(file);
}
else {
Runtime.getRuntime().exec("xdg-open " + Main.filepath);
ProcessBuilder pb = new ProcessBuilder("xdg-open ".split("\\s+"));
pb.start();
}
}