mirror of
https://github.com/developersu/ns-usbloader.git
synced 2025-06-05 17:24:23 -04:00
Switch to Java 11. Add win installer
This commit is contained in:
parent
ffa9c6903f
commit
c408f70b79
12 changed files with 1301 additions and 25 deletions
45
pom.xml
45
pom.xml
|
@ -8,13 +8,11 @@
|
|||
<name>NS-USBloader</name>
|
||||
|
||||
<artifactId>ns-usbloader</artifactId>
|
||||
<version>7.0</version>
|
||||
<version>7.0</version> <!-- linked via script to NSIS system. Should have format of 2 blocks of numbers. May have end on '-SNAPSHOT' -->
|
||||
|
||||
<url>https://redrise.ru</url>
|
||||
<description>
|
||||
NS multi tool
|
||||
</description>
|
||||
<inceptionYear>2019.0.2.1</inceptionYear>
|
||||
<description>NS multi-tool</description>
|
||||
<inceptionYear>2019</inceptionYear>
|
||||
<organization>
|
||||
<name>Dmitry Isaenko</name>
|
||||
<url>https://developersu.blogspot.com/</url>
|
||||
|
@ -243,10 +241,10 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.1</version>
|
||||
<version>3.10.1</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<source>11</source>
|
||||
<target>11</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- Don't generate default JAR without dependencies -->
|
||||
|
@ -293,7 +291,7 @@
|
|||
<artifactId>launch4j-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>l4j-NS-USBloader</id>
|
||||
<id>l4j-ns-usbloader</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>launch4j</goal>
|
||||
|
@ -301,30 +299,33 @@
|
|||
<configuration>
|
||||
<headerType>gui</headerType>
|
||||
<icon>appicon.ico</icon>
|
||||
<outfile>target/NS-USBloader-${project.version}-${maven.build.timestamp}.exe</outfile>
|
||||
<outfile>target/${project.name}.exe</outfile>
|
||||
<jar>target/${project.artifactId}-${project.version}-${maven.build.timestamp}.jar</jar>
|
||||
<errTitle>NS-USBloader</errTitle>
|
||||
<classPath>
|
||||
<mainClass>nsusbloader.Main</mainClass>
|
||||
<addDependencies>false</addDependencies>
|
||||
<preCp>anything</preCp>
|
||||
</classPath>
|
||||
<!-- <downloadUrl>https://download.oracle.com/java/17/archive/jdk-17.0.1_windows-x64_bin.msi</downloadUrl> -->
|
||||
<errTitle>Launching error</errTitle>
|
||||
<!-- <dontWrapJar>true</dontWrapJar> -->
|
||||
<jre>
|
||||
<minVersion>1.8.0</minVersion>
|
||||
<path>%JAVA_HOME%;%PATH%</path>
|
||||
<path>%PWD%/jdk</path>
|
||||
<minVersion>11.0.0</minVersion>
|
||||
</jre>
|
||||
<versionInfo>
|
||||
<fileVersion>1.0.0.0</fileVersion>
|
||||
<fileVersion>${project.version}.0.0</fileVersion>
|
||||
<txtFileVersion>${project.version}</txtFileVersion>
|
||||
<fileDescription>NS multi tool</fileDescription>
|
||||
<copyright>GNU General Public License v3, 2019.0.2.1 ${project.organization.name}, Russia.</copyright>
|
||||
<productVersion>1.0.0.0</productVersion>
|
||||
<fileDescription>NS multi-tool</fileDescription>
|
||||
<copyright>GNU General Public License v3, ${project.inceptionYear} ${project.organization.name}, Russia.</copyright>
|
||||
<productVersion>${project.version}.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>
|
||||
<messages>
|
||||
<startupErr>Startup error</startupErr>
|
||||
<jreNotFoundErr>JDK not found</jreNotFoundErr>
|
||||
<jreVersionErr>JDK Version mismatch</jreVersionErr>
|
||||
<launcherErr>Launcher Error</launcherErr>
|
||||
</messages>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue