77ae860396
Hotfix within adding DarkMatterCore/nxdumptool support: fix 'Stop' button functionality Update NxdtUsbAbi1.java Rename method isInvalidCommand() -> isInvalidCommand() A bit more renames and debug things More refactoring Typos fixes He just told me that 'NXDT_COMMAND_HEADER_SIZE was added to reflect the UsbCommandHeader struct from my codebase. No received command should ever be smaller than this. NXDT_COMMAND_SIZE was renamed to NXDT_MAX_COMMAND_SIZE for this reason.' Some bug fixes With debug Few more fixes Copy-paste Windows10 workaround fix Add NXDT_FILE_PROPERTIES_MAX_NAME_LENGTH validation Fix NXDT_FILE_PROPERTIES_MAX_NAME_LENGTH validation If fileSize == 0 only one success reply sent Add debug rewrite timeouts One more rewrite timeouts
239 lines
No EOL
9.2 KiB
XML
239 lines
No EOL
9.2 KiB
XML
<?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>
|
|
|
|
<artifactId>ns-usbloader</artifactId>
|
|
<version>3.0-SNAPSHOT</version>
|
|
|
|
<url>https://github.com/developersu/ns-usbloader/</url>
|
|
<description>
|
|
NSP USB loader for TinFoil (USB and Network) and GoldLeaf
|
|
</description>
|
|
<inceptionYear>2019</inceptionYear>
|
|
<organization>
|
|
<name>Dmitry Isaenko</name>
|
|
<url>https://developersu.blogspot.com/</url>
|
|
</organization>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>GNU General Public License v3</name>
|
|
<url>http://www.gnu.org/licenses/gpl.txt</url>
|
|
<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>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
<issueManagement>
|
|
<system>GitHub</system>
|
|
<url>https://github.com/developer_su/${project.artifactId}/issues</url>
|
|
</issueManagement>
|
|
<!-- openJFX Linux -->
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-controls</artifactId>
|
|
<version>11</version>
|
|
<classifier>linux</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-media</artifactId>
|
|
<version>11</version>
|
|
<classifier>linux</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-fxml</artifactId>
|
|
<version>11</version>
|
|
<classifier>linux</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-graphics</artifactId>
|
|
<version>11</version>
|
|
<classifier>linux</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!-- openJFX Windows -->
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-controls</artifactId>
|
|
<version>11</version>
|
|
<classifier>win</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-media</artifactId>
|
|
<version>11</version>
|
|
<classifier>win</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-fxml</artifactId>
|
|
<version>11</version>
|
|
<classifier>win</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-graphics</artifactId>
|
|
<version>11</version>
|
|
<classifier>win</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!-- openJFX MAC -->
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-controls</artifactId>
|
|
<version>11</version>
|
|
<classifier>mac</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-media</artifactId>
|
|
<version>11</version>
|
|
<classifier>mac</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-fxml</artifactId>
|
|
<version>11</version>
|
|
<classifier>mac</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-graphics</artifactId>
|
|
<version>11</version>
|
|
<classifier>mac</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.usb4java/usb4java -->
|
|
<dependency>
|
|
<groupId>org.usb4java</groupId>
|
|
<artifactId>usb4java</artifactId>
|
|
<version>1.3.0</version> <!-- Must be 1.2.0 for macOS lower than Mojave -->
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- Don't generate default JAR without dependencies -->
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<executions>
|
|
<execution>
|
|
<id>default-jar</id>
|
|
<phase>none</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- Generate JAR with dependencies -->
|
|
<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>
|
|
</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>
|
|
<!-- Launch4j
|
|
<plugin>
|
|
<groupId>com.akathist.maven.plugins.launch4j</groupId>
|
|
<version>1.7.25</version>
|
|
<artifactId>launch4j-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>l4j-NS-USBloader</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>launch4j</goal>
|
|
</goals>
|
|
<configuration>
|
|
<headerType>gui</headerType>
|
|
<icon>appicon.ico</icon>
|
|
<outfile>target/NS-USBloader-${project.version}.exe</outfile>
|
|
<jar>target/ns-usbloader-${project.version}-jar-with-dependencies.jar</jar>
|
|
<errTitle>NS-USBloader</errTitle>
|
|
<classPath>
|
|
<mainClass>nsusbloader.Main</mainClass>
|
|
<addDependencies>false</addDependencies>
|
|
<preCp>anything</preCp>
|
|
</classPath>
|
|
<jre>
|
|
<minVersion>1.8</minVersion>
|
|
</jre>
|
|
<versionInfo>
|
|
<fileVersion>1.0.0.0</fileVersion>
|
|
<txtFileVersion>${project.version}</txtFileVersion>
|
|
<fileDescription>TinFoil and GoldLeaf installer for your NS</fileDescription>
|
|
<copyright>GNU General Public License v3, 2019 ${project.organization.name}. Russia/LPR.</copyright>
|
|
<productVersion>1.0.0.0</productVersion>
|
|
<txtProductVersion>${project.version}</txtProductVersion>
|
|
<companyName>${project.organization.name}</companyName>
|
|
<productName>${project.name}</productName>
|
|
<internalName>${project.name}</internalName>
|
|
<originalFilename>${project.name}.exe</originalFilename>
|
|
</versionInfo>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
-->
|
|
</plugins>
|
|
</build>
|
|
</project> |