2019-02-10 04:59:54 +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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<groupId>loper</groupId>
|
|
|
|
<name>NS-USBloader</name>
|
2019-02-17 18:38:07 +03:00
|
|
|
|
|
|
|
<artifactId>ns-usbloader</artifactId>
|
2023-02-08 01:15:30 +03:00
|
|
|
<version>7.0</version> <!-- linked via script to NSIS system. Should have format of 2 blocks of numbers. May have end on '-SNAPSHOT' -->
|
2019-02-17 18:38:07 +03:00
|
|
|
|
2022-07-26 18:25:26 +03:00
|
|
|
<url>https://redrise.ru</url>
|
2023-02-08 01:15:30 +03:00
|
|
|
<description>NS multi-tool</description>
|
|
|
|
<inceptionYear>2019</inceptionYear>
|
2019-02-17 18:38:07 +03:00
|
|
|
<organization>
|
|
|
|
<name>Dmitry Isaenko</name>
|
|
|
|
<url>https://developersu.blogspot.com/</url>
|
|
|
|
</organization>
|
|
|
|
|
|
|
|
<licenses>
|
|
|
|
<license>
|
2019-08-14 05:37:58 +03:00
|
|
|
<name>GNU General Public License v3</name>
|
|
|
|
<url>http://www.gnu.org/licenses/gpl.txt</url>
|
2019-02-17 18:38:07 +03:00
|
|
|
<distribution>manual</distribution>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<id>developer.su</id>
|
|
|
|
<name>Dmitry Isaenko</name>
|
|
|
|
<roles>
|
|
|
|
<role>Developer</role>
|
|
|
|
</roles>
|
|
|
|
<timezone>+3</timezone>
|
|
|
|
<url>https://developersu.blogspot.com/</url>
|
|
|
|
</developer>
|
|
|
|
</developers>
|
|
|
|
|
2023-02-06 16:16:03 +03:00
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>redrise</id>
|
|
|
|
<name>redrise.ru repository</name>
|
2023-02-06 16:21:11 +03:00
|
|
|
<url>https://repo.redrise.ru/releases</url>
|
2023-02-06 16:16:03 +03:00
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
2019-02-10 04:59:54 +03:00
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2022-07-26 18:25:26 +03:00
|
|
|
<maven.build.timestamp.format>yyyyMMdd.HHmmss</maven.build.timestamp.format>
|
2023-02-08 17:43:38 +03:00
|
|
|
<javafx.version>19.0.2.1</javafx.version>
|
2023-02-10 03:15:58 +03:00
|
|
|
<maven.compiler.release>11</maven.compiler.release>
|
2019-02-10 04:59:54 +03:00
|
|
|
</properties>
|
2019-02-17 18:38:07 +03:00
|
|
|
|
|
|
|
<issueManagement>
|
|
|
|
<system>GitHub</system>
|
|
|
|
<url>https://github.com/developer_su/${project.artifactId}/issues</url>
|
|
|
|
</issueManagement>
|
2019-02-10 04:59:54 +03:00
|
|
|
<dependencies>
|
2020-07-06 04:08:51 +03:00
|
|
|
<!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-cli</groupId>
|
|
|
|
<artifactId>commons-cli</artifactId>
|
2022-07-26 18:25:26 +03:00
|
|
|
<version>1.5.0</version>
|
2020-07-06 04:08:51 +03:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2023-02-08 17:43:38 +03:00
|
|
|
<!-- openJFX Linux -->
|
2023-02-09 17:22:22 +03:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjfx</groupId>
|
|
|
|
<artifactId>javafx-graphics</artifactId>
|
|
|
|
<version>${javafx.version}</version>
|
|
|
|
<classifier>linux</classifier>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2019-02-10 04:59:54 +03:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjfx</groupId>
|
|
|
|
<artifactId>javafx-controls</artifactId>
|
2023-02-08 17:43:38 +03:00
|
|
|
<version>${javafx.version}</version>
|
2019-02-20 16:39:30 +03:00
|
|
|
<classifier>linux</classifier>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjfx</groupId>
|
|
|
|
<artifactId>javafx-fxml</artifactId>
|
2023-02-08 17:43:38 +03:00
|
|
|
<version>${javafx.version}</version>
|
2019-02-20 16:39:30 +03:00
|
|
|
<classifier>linux</classifier>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- openJFX Windows -->
|
2023-02-09 17:22:22 +03:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjfx</groupId>
|
|
|
|
<artifactId>javafx-graphics</artifactId>
|
|
|
|
<version>${javafx.version}</version>
|
|
|
|
<classifier>win</classifier>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2019-02-20 16:39:30 +03:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjfx</groupId>
|
|
|
|
<artifactId>javafx-controls</artifactId>
|
2023-02-08 17:43:38 +03:00
|
|
|
<version>${javafx.version}</version>
|
2019-02-20 16:39:30 +03:00
|
|
|
<classifier>win</classifier>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjfx</groupId>
|
|
|
|
<artifactId>javafx-fxml</artifactId>
|
2023-02-08 17:43:38 +03:00
|
|
|
<version>${javafx.version}</version>
|
2019-02-20 16:39:30 +03:00
|
|
|
<classifier>win</classifier>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- openJFX MAC -->
|
2023-02-09 17:22:22 +03:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjfx</groupId>
|
|
|
|
<artifactId>javafx-graphics</artifactId>
|
|
|
|
<version>${javafx.version}</version>
|
|
|
|
<classifier>mac</classifier>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2019-02-20 16:39:30 +03:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjfx</groupId>
|
|
|
|
<artifactId>javafx-controls</artifactId>
|
2023-02-08 17:43:38 +03:00
|
|
|
<version>${javafx.version}</version>
|
2019-02-20 16:39:30 +03:00
|
|
|
<classifier>mac</classifier>
|
2019-02-10 04:59:54 +03:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjfx</groupId>
|
|
|
|
<artifactId>javafx-fxml</artifactId>
|
2023-02-08 17:43:38 +03:00
|
|
|
<version>${javafx.version}</version>
|
2019-02-20 16:39:30 +03:00
|
|
|
<classifier>mac</classifier>
|
2019-02-10 04:59:54 +03:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.usb4java/usb4java -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.usb4java</groupId>
|
|
|
|
<artifactId>usb4java</artifactId>
|
2020-02-18 16:02:33 +03:00
|
|
|
<version>1.3.0</version> <!-- Must be 1.2.0 for macOS lower than Mojave -->
|
2019-02-10 04:59:54 +03:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2020-10-27 00:22:26 +03:00
|
|
|
<!-- Junit5 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
2022-09-25 00:28:58 +03:00
|
|
|
<version>5.9.0</version>
|
2020-10-27 00:22:26 +03:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-api</artifactId>
|
2022-09-25 00:28:58 +03:00
|
|
|
<version>5.9.0</version>
|
2020-10-27 00:22:26 +03:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-params</artifactId>
|
2022-09-25 00:28:58 +03:00
|
|
|
<version>5.9.0</version>
|
2020-10-27 00:22:26 +03:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2023-02-06 16:16:03 +03:00
|
|
|
<!-- redrise repository -->
|
2022-12-23 07:08:22 +03:00
|
|
|
<dependency>
|
|
|
|
<groupId>ru.redrise</groupId>
|
|
|
|
<artifactId>libKonogonka</artifactId>
|
2023-02-06 16:16:03 +03:00
|
|
|
<version>0.1</version>
|
2022-12-23 07:08:22 +03:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2019-02-10 04:59:54 +03:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
2022-07-26 18:25:26 +03:00
|
|
|
<finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources-filtered</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
2019-02-10 04:59:54 +03:00
|
|
|
<plugins>
|
2023-02-09 17:22:22 +03:00
|
|
|
<!--OpenJFX for Java9+
|
2023-02-08 17:43:38 +03:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.openjfx</groupId>
|
|
|
|
<artifactId>javafx-maven-plugin</artifactId>
|
|
|
|
<version>0.0.8</version>
|
|
|
|
<configuration>
|
|
|
|
<mainClass>nsusbloader.NSLMain</mainClass>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2023-02-09 17:22:22 +03:00
|
|
|
-->
|
2020-10-27 18:15:52 +03:00
|
|
|
<!-- Junit5 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>2.22.2</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<version>2.22.2</version>
|
|
|
|
</plugin>
|
2019-02-10 04:59:54 +03:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2023-02-08 01:15:30 +03:00
|
|
|
<version>3.10.1</version>
|
2019-02-10 04:59:54 +03:00
|
|
|
<configuration>
|
2023-02-10 03:15:58 +03:00
|
|
|
<release>11</release>
|
2019-02-10 04:59:54 +03:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-03-13 17:04:14 +03:00
|
|
|
<!-- Don't generate default JAR without dependencies -->
|
|
|
|
<plugin>
|
2022-09-25 00:28:58 +03:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2019-03-13 17:04:14 +03:00
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2023-02-08 17:43:38 +03:00
|
|
|
<version>3.1.2</version>
|
2023-02-09 17:22:22 +03:00
|
|
|
<!--
|
2023-02-08 17:43:38 +03:00
|
|
|
<configuration>
|
|
|
|
<manifestEntries>
|
|
|
|
<Automatic-Module-Name>nsusbloader</Automatic-Module-Name>
|
|
|
|
</manifestEntries>
|
|
|
|
</configuration>
|
2023-02-09 17:22:22 +03:00
|
|
|
-->
|
2019-03-13 17:04:14 +03:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-jar</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<!-- Generate JAR with dependencies -->
|
2019-02-10 04:59:54 +03:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>nsusbloader.Main</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
<descriptorRefs>
|
|
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
|
</descriptorRefs>
|
2022-07-26 18:25:26 +03:00
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
2019-02-10 04:59:54 +03:00
|
|
|
</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>
|
2019-08-14 05:37:58 +03:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.akathist.maven.plugins.launch4j</groupId>
|
2022-12-23 07:08:22 +03:00
|
|
|
<version>2.2.0</version>
|
2019-08-14 05:37:58 +03:00
|
|
|
<artifactId>launch4j-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2023-02-08 01:15:30 +03:00
|
|
|
<id>l4j-ns-usbloader</id>
|
2019-08-14 05:37:58 +03:00
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>launch4j</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<headerType>gui</headerType>
|
|
|
|
<icon>appicon.ico</icon>
|
2023-02-08 01:15:30 +03:00
|
|
|
<outfile>target/${project.name}.exe</outfile>
|
2022-12-23 07:08:22 +03:00
|
|
|
<jar>target/${project.artifactId}-${project.version}-${maven.build.timestamp}.jar</jar>
|
2023-02-08 01:15:30 +03:00
|
|
|
<!-- <downloadUrl>https://download.oracle.com/java/17/archive/jdk-17.0.1_windows-x64_bin.msi</downloadUrl> -->
|
|
|
|
<errTitle>Launching error</errTitle>
|
|
|
|
<!-- <dontWrapJar>true</dontWrapJar> -->
|
2019-08-14 05:37:58 +03:00
|
|
|
<jre>
|
2023-02-08 01:15:30 +03:00
|
|
|
<path>%PWD%/jdk</path>
|
|
|
|
<minVersion>11.0.0</minVersion>
|
2019-08-14 05:37:58 +03:00
|
|
|
</jre>
|
|
|
|
<versionInfo>
|
2023-02-08 01:15:30 +03:00
|
|
|
<fileVersion>${project.version}.0.0</fileVersion>
|
2019-08-14 05:37:58 +03:00
|
|
|
<txtFileVersion>${project.version}</txtFileVersion>
|
2023-02-08 01:15:30 +03:00
|
|
|
<fileDescription>NS multi-tool</fileDescription>
|
|
|
|
<copyright>GNU General Public License v3, ${project.inceptionYear} ${project.organization.name}, Russia.</copyright>
|
|
|
|
<productVersion>${project.version}.0.0</productVersion>
|
2019-08-14 05:37:58 +03:00
|
|
|
<txtProductVersion>${project.version}</txtProductVersion>
|
2020-01-13 23:31:12 +03:00
|
|
|
<companyName>${project.organization.name}</companyName>
|
2019-08-14 05:37:58 +03:00
|
|
|
<productName>${project.name}</productName>
|
|
|
|
<internalName>${project.name}</internalName>
|
|
|
|
<originalFilename>${project.name}.exe</originalFilename>
|
|
|
|
</versionInfo>
|
2023-02-08 01:15:30 +03:00
|
|
|
<messages>
|
|
|
|
<startupErr>Startup error</startupErr>
|
|
|
|
<jreNotFoundErr>JDK not found</jreNotFoundErr>
|
|
|
|
<jreVersionErr>JDK Version mismatch</jreVersionErr>
|
|
|
|
<launcherErr>Launcher Error</launcherErr>
|
|
|
|
</messages>
|
2019-08-14 05:37:58 +03:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-02-10 04:59:54 +03:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|