Update pom.xml

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

124
pom.xml
View File

@@ -1,64 +1,80 @@
<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>
<artifactId>radiodj-tuna-bridge</artifactId>
<version>1.0.1-SNAPSHOT</version>
<name>RadioDJ Tuna Bridge</name>
<properties> <groupId>com.minster586</groupId>
<maven.compiler.source>17</maven.compiler.source> <artifactId>radiodj-tuna-bridge</artifactId>
<maven.compiler.target>17</maven.compiler.target> <version>1.0.1-SNAPSHOT</version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <packaging>jar</packaging>
</properties>
<dependencies> <name>RadioDJ Tuna Bridge</name>
<!-- ✅ YAML parsing -->
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>2.2</version>
</dependency>
<!-- ✅ XML support if needed --> <properties>
<dependency> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<groupId>xerces</groupId> <maven.compiler.source>17</maven.compiler.source>
<artifactId>xercesImpl</artifactId> <maven.compiler.target>17</maven.compiler.target>
<version>2.12.2</version> <javafx.version>20</javafx.version>
</dependency> </properties>
</dependencies>
<build> <dependencies>
<plugins> <!-- ✅ JavaFX modules -->
<!-- ✅ Assembly Plugin: builds JAR with dependencies --> <dependency>
<plugin> <groupId>org.openjfx</groupId>
<groupId>org.apache.maven.plugins</groupId> <artifactId>javafx-controls</artifactId>
<artifactId>maven-assembly-plugin</artifactId> <version>${javafx.version}</version>
<version>3.6.0</version> </dependency>
<configuration> <dependency>
<descriptorRefs> <groupId>org.openjfx</groupId>
<descriptorRef>jar-with-dependencies</descriptorRef> <artifactId>javafx-graphics</artifactId>
</descriptorRefs> <version>${javafx.version}</version>
<archive> </dependency>
<manifest> <dependency>
<mainClass>com.minster586.radiodjtuna.MainApp</mainClass> <groupId>org.openjfx</groupId>
</manifest> <artifactId>javafx-base</artifactId>
</archive> <version>${javafx.version}</version>
</configuration> </dependency>
<executions>
<execution> <!-- ✅ YAML parsing -->
<id>assemble-all</id> <dependency>
<phase>package</phase> <groupId>org.yaml</groupId>
<goals> <artifactId>snakeyaml</artifactId>
<goal>single</goal> <version>2.2</version>
</goals> </dependency>
</execution>
</executions> <!-- ✅ XML support -->
</plugin> <dependency>
</plugins> <groupId>xerces</groupId>
</build> <artifactId>xercesImpl</artifactId>
<version>2.12.2</version>
</dependency>
</dependencies>
<build>
<plugins>
<!-- ✅ Compiler plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<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>
<archive>
<manifest>
<mainClass>com.minster586.radiodjtuna.MainApp</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>