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 ## Requirements
- Java JDK 17+ - Java JDK 21+
- Maven 3.6+ - Maven 3.9+
- Display >= 1366x768 - Display >= 1366x768
## Video Tutorials (German | Deutsch) ## 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 ### 1. Install dependencies
```bash ```bash
sudo zypper install java-17-openjdk-devel maven sudo zypper install java-21-openjdk java-21-openjdk-devel maven
``` ```
### 2. Install VSCode extensions ### 2. Install VSCode extensions

24
pom.xml
View File

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

View File

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