Unify pom L4J section
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dmitry Isaenko 2023-03-21 17:33:08 +03:00
parent 2bee159eb9
commit 6a93a73a63

16
pom.xml
View file

@ -126,7 +126,7 @@
<artifactId>launch4j-maven-plugin</artifactId> <artifactId>launch4j-maven-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<id>l4j-Tihwin</id> <id>l4j-${project.name}</id>
<phase>package</phase> <phase>package</phase>
<goals> <goals>
<goal>launch4j</goal> <goal>launch4j</goal>
@ -134,9 +134,9 @@
<configuration> <configuration>
<headerType>gui</headerType> <headerType>gui</headerType>
<icon>tw_icon.ico</icon> <icon>tw_icon.ico</icon>
<outfile>target/Tihwin-${project.version}-${maven.build.timestamp}.exe</outfile> <outfile>target/${project.name}-${project.version}-${maven.build.timestamp}.exe</outfile>
<jar>target/${project.artifactId}-${project.version}-${maven.build.timestamp}.jar</jar> <jar>target/${project.artifactId}-${project.version}-${maven.build.timestamp}.jar</jar>
<errTitle>Tihwin</errTitle> <errTitle>${project.name} launching error</errTitle>
<classPath> <classPath>
<mainClass>tihwin.Main</mainClass> <mainClass>tihwin.Main</mainClass>
<addDependencies>false</addDependencies> <addDependencies>false</addDependencies>
@ -144,13 +144,13 @@
</classPath> </classPath>
<jre> <jre>
<minVersion>1.8.0</minVersion> <minVersion>1.8.0</minVersion>
<path>%JAVA_HOME%;%PATH%</path> <path>%PWD%/jdk;%JAVA_HOME%;%PATH%</path>
</jre> </jre>
<versionInfo> <versionInfo>
<fileVersion>${project.version}.0.0</fileVersion> <fileVersion>${project.version}.0.0</fileVersion>
<txtFileVersion>${project.version}</txtFileVersion> <txtFileVersion>${project.version}</txtFileVersion>
<fileDescription>ul.cfg utility</fileDescription> <fileDescription>ul.cfg utility</fileDescription>
<copyright>GNU General Public License v3, 2022 ${project.organization.name}, Russia</copyright> <copyright>GNU General Public License v3, ${project.inceptionYear} ${project.organization.name}, Russia</copyright>
<productVersion>${project.version}.0.0</productVersion> <productVersion>${project.version}.0.0</productVersion>
<txtProductVersion>${project.version}</txtProductVersion> <txtProductVersion>${project.version}</txtProductVersion>
<companyName>${project.organization.name}</companyName> <companyName>${project.organization.name}</companyName>
@ -158,6 +158,12 @@
<internalName>${project.name}</internalName> <internalName>${project.name}</internalName>
<originalFilename>${project.name}.exe</originalFilename> <originalFilename>${project.name}.exe</originalFilename>
</versionInfo> </versionInfo>
<messages>
<startupErr>Startup error</startupErr>
<jreNotFoundErr>JDK not found</jreNotFoundErr>
<jreVersionErr>JDK Version mismatch</jreVersionErr>
<launcherErr>Launcher Error</launcherErr>
</messages>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>