chore(pom): 更新打包设置

This commit is contained in:
octopus_yan 2024-08-22 17:50:51 +08:00
parent e6d98a991e
commit eadff7408f

17
pom.xml
View File

@ -169,9 +169,8 @@
<plugin> <plugin>
<groupId>io.github.fvarrui</groupId> <groupId>io.github.fvarrui</groupId>
<artifactId>javapackager</artifactId> <artifactId>javapackager</artifactId>
<version>1.7.5</version> <version>1.7.6</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>
@ -183,6 +182,20 @@
<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>