icf300/pom.xml

185 lines
7.4 KiB
XML
Raw Normal View History

2023-08-10 00:59:08 +03:00
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>guru.dead</groupId>
<artifactId>icf320</artifactId>
<version>1.0-SNAPSHOT</version>
<name>icf320</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<junit.version>5.9.2</junit.version>
</properties>
<dependencies>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>18.0.2</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>18.0.2</version>
</dependency>
<dependency>
<groupId>org.controlsfx</groupId>
<artifactId>controlsfx</artifactId>
<version>11.1.2</version>
</dependency>
<dependency>
<groupId>com.dlsc.formsfx</groupId>
<artifactId>formsfx-core</artifactId>
<version>11.6.0</version>
<exclusions>
<exclusion>
<groupId>org.openjfx</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fazecast</groupId>
<artifactId>jSerialComm</artifactId>
<version>[2.0.0,3.0.0)</version>
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>RELEASE</version>
<scope>compile</scope>
</dependency>
2023-08-10 23:48:22 +03:00
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>32.1.2-jre</version>
</dependency>
2023-08-10 00:59:08 +03:00
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<source>18</source>
<target>18</target>
</configuration>
</plugin>
2023-08-10 17:35:30 +03:00
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
2023-08-14 17:20:58 +03:00
<mainClass>guru.dead.icf320.Launcher</mainClass>
2023-08-10 17:35:30 +03:00
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-assembly</id> <!-- this is used for inheritance merges -->
<phase>package</phase> <!-- bind to the packaging phase -->
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<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}/lib</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
2023-08-14 17:20:58 +03:00
<mainClass>guru.dead.icf320.Launcher</mainClass>
2023-08-10 17:35:30 +03:00
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.panteleyev</groupId>
<artifactId>jpackage-maven-plugin</artifactId>
<version>1.6.0</version>
<configuration>
<name>icf320</name>
<appVersion>1.0.0</appVersion>
<vendor>guru.dead</vendor>
<input>target/dependency</input>
<destination>target/dist</destination>
2023-08-14 17:20:58 +03:00
<mainClass>guru.dead.icf320.Launcher</mainClass>
2023-08-10 17:35:30 +03:00
<mainJar>../icf320-1.0-SNAPSHOT-jar-with-dependencies.jar</mainJar>
<runtimeImage>target/icf320</runtimeImage>
<linuxShortcut>true</linuxShortcut>
<linuxPackageName>icf320</linuxPackageName>
<linuxAppCategory>Utilities</linuxAppCategory>
<linuxMenuGroup>Utilities</linuxMenuGroup>
<javaOptions>
<option>-Dfile.encoding=UTF-8</option>
</javaOptions>
</configuration>
</plugin>
2023-08-10 00:59:08 +03:00
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>0.0.8</version>
<executions>
<execution>
<!-- Default configuration for running with: mvn clean javafx:run -->
<id>default-cli</id>
<configuration>
2023-08-14 17:20:58 +03:00
<mainClass>guru.dead.icf320.Launcher</mainClass>
2023-08-10 17:35:30 +03:00
<launcher>icf320</launcher>
<jlinkZipName>icf320</jlinkZipName>
<jlinkImageName>icf320</jlinkImageName>
2023-08-10 00:59:08 +03:00
<noManPages>true</noManPages>
<stripDebug>true</stripDebug>
2023-08-14 17:20:58 +03:00
<compress>2</compress>
2023-08-10 00:59:08 +03:00
<noHeaderFiles>true</noHeaderFiles>
2023-08-14 17:20:58 +03:00
<options>-cp ../lib</options>
2023-08-10 00:59:08 +03:00
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>