PCUGameManager/pom.xml

172 lines
5.0 KiB
XML

<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>se.lantz</groupId>
<artifactId>PCUGameManager</artifactId>
<version>1.7.5</version>
<name>PCUGameManager</name>
<dependencies>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.32.3.2</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.2.3</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.30</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.3</version>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.11.3</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.20</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.8.0</version>
</dependency>
<!-- <dependency>
<groupId>com.formdev</groupId>
<artifactId>flatlaf</artifactId>
<version>0.46</version>
</dependency>
<dependency>
<groupId>com.formdev</groupId>
<artifactId>flatlaf-intellij-themes</artifactId>
<version>0.46</version>
</dependency> -->
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>30.1-jre</version>
</dependency>
<dependency>
<groupId>net.sf.ucanaccess</groupId>
<artifactId>ucanaccess</artifactId>
<version>4.0.4</version>
</dependency>
<dependency>
<groupId>com.github.junrar</groupId>
<artifactId>junrar</artifactId>
<version>0.7</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<verbose>true</verbose>
<fork>true</fork>
<executable><!-- path-to-javac -->
</executable>
<compilerVersion>1.8.0</compilerVersion>
<source>14</source>
<target>14</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<archive>
<manifest>
<mainClass>
se.lantz.PCUGameManager
</mainClass>
</manifest>
<manifestEntries>
<buildVersion>
${project.version}
</buildVersion>
</manifestEntries>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.akathist.maven.plugins.launch4j</groupId>
<artifactId>launch4j-maven-plugin</artifactId>
<version>1.7.25</version>
<executions>
<execution>
<id>l4j-gui</id>
<phase>package</phase>
<goals>
<goal>launch4j</goal>
</goals>
<configuration>
<headerType>gui</headerType>
<outfile>target/PcuGameManager.exe</outfile>
<jar>target/PCUGameManager-${project.version}-jar-with-dependencies.jar</jar>
<errTitle>PcuGameManager</errTitle>
<chdir>.</chdir>
<singleInstance>
<mutexName>PcuGameManager</mutexName>
</singleInstance>
<classPath>
<mainClass>se.lantz.PCUGameManager</mainClass>
<!-- <addDependencies>true</addDependencies> -->
</classPath>
<jre>
<minVersion>14</minVersion>
<path>./JRE</path>
</jre>
<splash>
<file>target/classes/PCUGameManager.bmp</file>
<waitForWindow>true</waitForWindow>
<timeout>30</timeout>
</splash>
<icon>target/classes/Icon.ico</icon>
<versionInfo>
<fileVersion>${project.version}.1</fileVersion>
<txtFileVersion>${project.version}}</txtFileVersion>
<fileDescription>PCU Game Manager</fileDescription>
<copyright>Lantzelot</copyright>
<productVersion>${project.version}.1</productVersion>
<txtProductVersion>${project.version}</txtProductVersion>
<productName>PCU Game Manager</productName>
<internalName>pcu</internalName>
<originalFilename>PcuGameManager.exe</originalFilename>
</versionInfo>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>