Update pom.xml

This commit is contained in:
minster586
2025-07-16 04:18:32 -04:00
parent 787e7e22ce
commit c0e7e2fcb5

52
pom.xml
View File

@@ -1,21 +1,42 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
https://maven.apache.org/xsd/maven-4.0.0.xsd"> http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.minster586</groupId> <groupId>com.minster586</groupId>
<artifactId>radiodj-tuna-bridge</artifactId> <artifactId>radiodj-tuna-bridge</artifactId>
<version>1.0.1-SNAPSHOT</version> <version>1.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>RadioDJ Tuna Bridge</name> <name>RadioDJ Tuna Bridge</name>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>17</maven.compiler.source> <maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target> <maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <javafx.version>20</javafx.version>
</properties> </properties>
<dependencies> <dependencies>
<!-- ✅ JavaFX modules -->
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>${javafx.version}</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<version>${javafx.version}</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-base</artifactId>
<version>${javafx.version}</version>
</dependency>
<!-- ✅ YAML parsing --> <!-- ✅ YAML parsing -->
<dependency> <dependency>
<groupId>org.yaml</groupId> <groupId>org.yaml</groupId>
@@ -23,7 +44,7 @@
<version>2.2</version> <version>2.2</version>
</dependency> </dependency>
<!-- ✅ XML support if needed --> <!-- ✅ XML support -->
<dependency> <dependency>
<groupId>xerces</groupId> <groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId> <artifactId>xercesImpl</artifactId>
@@ -33,30 +54,25 @@
<build> <build>
<plugins> <plugins>
<!--Assembly Plugin: builds JAR with dependencies --> <!--Compiler plugin -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.6.0</version> <version>3.11.0</version>
</plugin>
<!-- ✅ Jar plugin to set Main-Class in manifest -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.2</version>
<configuration> <configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive> <archive>
<manifest> <manifest>
<mainClass>com.minster586.radiodjtuna.MainApp</mainClass> <mainClass>com.minster586.radiodjtuna.MainApp</mainClass>
</manifest> </manifest>
</archive> </archive>
</configuration> </configuration>
<executions>
<execution>
<id>assemble-all</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>