mirror of
https://github.com/octopusYan/dayz-mod-translator.git
synced 2024-11-22 04:06:42 +08:00
chore: 更新pom打包设置
This commit is contained in:
parent
eadff7408f
commit
5334dcbee1
54
pom.xml
54
pom.xml
@ -22,12 +22,11 @@
|
|||||||
<maven.compiler.target>17</maven.compiler.target>
|
<maven.compiler.target>17</maven.compiler.target>
|
||||||
<java.version>17</java.version>
|
<java.version>17</java.version>
|
||||||
|
|
||||||
<junit.version>5.10.0</junit.version>
|
<junit.version>5.11.0</junit.version>
|
||||||
<javafx.version>17.0.6</javafx.version>
|
<javafx.version>17.0.12</javafx.version>
|
||||||
<slf4j.version>2.0.12</slf4j.version>
|
<slf4j.version>2.0.16</slf4j.version>
|
||||||
<logback.version>1.4.14</logback.version>
|
<logback.version>1.5.7</logback.version>
|
||||||
<fastjson.version>2.0.46</fastjson.version>
|
<fastjson.version>2.0.52</fastjson.version>
|
||||||
<hutool.version>5.8.25</hutool.version>
|
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
@ -89,13 +88,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.commons</groupId>
|
<groupId>org.apache.commons</groupId>
|
||||||
<artifactId>commons-lang3</artifactId>
|
<artifactId>commons-lang3</artifactId>
|
||||||
<version>3.14.0</version>
|
<version>3.16.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
|
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>commons-io</groupId>
|
<groupId>commons-io</groupId>
|
||||||
<artifactId>commons-io</artifactId>
|
<artifactId>commons-io</artifactId>
|
||||||
<version>2.15.1</version>
|
<version>2.16.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-exec -->
|
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-exec -->
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -113,6 +112,21 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<pluginRepositories>
|
||||||
|
<pluginRepository>
|
||||||
|
<id>nexus</id>
|
||||||
|
<name>nexus-snapshot-repository</name>
|
||||||
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
<updatePolicy>always</updatePolicy>
|
||||||
|
</snapshots>
|
||||||
|
<releases>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</releases>
|
||||||
|
</pluginRepository>
|
||||||
|
</pluginRepositories>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
@ -125,7 +139,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.11.0</version>
|
<version>3.13.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>17</source>
|
<source>17</source>
|
||||||
<target>17</target>
|
<target>17</target>
|
||||||
@ -135,7 +149,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
<version>3.2.0</version>
|
<version>3.3.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<nonFilteredFileExtensions>
|
<nonFilteredFileExtensions>
|
||||||
<nonFilteredFileExtension>exe</nonFilteredFileExtension>
|
<nonFilteredFileExtension>exe</nonFilteredFileExtension>
|
||||||
@ -153,7 +167,8 @@
|
|||||||
<!-- Default configuration for running with: mvn clean javafx:run -->
|
<!-- Default configuration for running with: mvn clean javafx:run -->
|
||||||
<id>default-cli</id>
|
<id>default-cli</id>
|
||||||
<configuration>
|
<configuration>
|
||||||
<mainClass>cn.octopusyan.dayzmodtranslator/cn.octopusyan.dayzmodtranslator.AppLuncher
|
<mainClass>
|
||||||
|
cn.octopusyan.dayzmodtranslator/cn.octopusyan.dayzmodtranslator.AppLuncher
|
||||||
</mainClass>
|
</mainClass>
|
||||||
<launcher>launcher</launcher>
|
<launcher>launcher</launcher>
|
||||||
<jlinkZipName>app</jlinkZipName>
|
<jlinkZipName>app</jlinkZipName>
|
||||||
@ -169,8 +184,9 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.github.fvarrui</groupId>
|
<groupId>io.github.fvarrui</groupId>
|
||||||
<artifactId>javapackager</artifactId>
|
<artifactId>javapackager</artifactId>
|
||||||
<version>1.7.6</version>
|
<version>1.7.7-SNAPSHOT</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<bundleJre>true</bundleJre>
|
||||||
<mainClass>cn.octopusyan.dayzmodtranslator.AppLuncher</mainClass>
|
<mainClass>cn.octopusyan.dayzmodtranslator.AppLuncher</mainClass>
|
||||||
<generateInstaller>false</generateInstaller>
|
<generateInstaller>false</generateInstaller>
|
||||||
</configuration>
|
</configuration>
|
||||||
@ -182,20 +198,6 @@
|
|||||||
<goal>package</goal>
|
<goal>package</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<name>${project.name}-nojre_${project.version}</name>
|
|
||||||
<platform>windows</platform>
|
|
||||||
<createZipball>true</createZipball>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>bundling-for-windows-with-jre</id>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>package</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<name>${project.name}_${project.version}</name>
|
|
||||||
<bundleJre>true</bundleJre>
|
|
||||||
<platform>windows</platform>
|
<platform>windows</platform>
|
||||||
<createZipball>true</createZipball>
|
<createZipball>true</createZipball>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
Loading…
Reference in New Issue
Block a user