mirror of
https://github.com/PCSX2/hifumi.git
synced 2026-01-31 01:25:17 +01:00
168 lines
7.3 KiB
XML
168 lines
7.3 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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>net.pcsx2</groupId>
|
|
<artifactId>HifumiBot</artifactId>
|
|
<version>4.9.1</version>
|
|
<properties>
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
<maven.compiler.target>21</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<!-- Dependency Versions -->
|
|
<jda.version>6.1.0</jda.version> <!-- https://central.sonatype.com/artifact/net.dv8tion/JDA -->
|
|
<slf4j.version>2.0.17</slf4j.version> <!-- https://central.sonatype.com/artifact/org.slf4j/slf4j-api -->
|
|
<jsoup.version>1.21.2</jsoup.version> <!-- https://central.sonatype.com/artifact/org.jsoup/jsoup -->
|
|
<commonslang.version>3.20.0</commonslang.version> <!-- https://central.sonatype.com/artifact/org.apache.commons/commons-lang3 -->
|
|
<commonstext.version>1.14.0</commonstext.version> <!-- https://central.sonatype.com/artifact/org.apache.commons/commons-text -->
|
|
<gson.version>2.13.2</gson.version> <!-- https://central.sonatype.com/artifact/com.google.code.gson/gson -->
|
|
<snakeyaml.version>2.5</snakeyaml.version> <!-- https://central.sonatype.com/artifact/org.yaml/snakeyaml -->
|
|
<deepl.version>1.12.0</deepl.version> <!-- https://central.sonatype.com/artifact/com.deepl.api/deepl-java -->
|
|
<sqlite.version>3.51.0.0</sqlite.version> <!-- https://central.sonatype.com/artifact/org.xerial/sqlite-jdbc -->
|
|
<jfreechart.version>1.5.6</jfreechart.version> <!-- https://central.sonatype.com/artifact/org.jfree/jfreechart -->
|
|
<ini4j.version>0.5.4</ini4j.version> <!-- https://central.sonatype.com/artifact/org.ini4j/ini4j -->
|
|
|
|
<!-- Maven Plugin Versions -->
|
|
<maven-dependency-plugin.version>3.9.0</maven-dependency-plugin.version> <!-- https://central.sonatype.com/artifact/org.apache.maven.plugins/maven-dependency-plugin -->
|
|
<maven-jar-plugin.version>3.5.0</maven-jar-plugin.version> <!-- https://central.sonatype.com/artifact/org.apache.maven.plugins/maven-jar-plugin -->
|
|
<maven-shade-plugin.version>3.6.1</maven-shade-plugin.version> <!-- https://central.sonatype.com/artifact/org.apache.maven.plugins/maven-shade-plugin -->
|
|
</properties>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>${maven-dependency-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>sources</goal>
|
|
<goal>resolve</goal>
|
|
</goals>
|
|
<configuration>
|
|
<classifier>javadoc</classifier>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- Handles Manifest -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>${maven-jar-plugin.version}</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<addClasspath>true</addClasspath>
|
|
<mainClass>net.pcsx2.hifumi.HifumiBot</mainClass>
|
|
<!-- Allows version info from here to be put into MANIFEST.mf. -->
|
|
<!-- Allows code to later look up the version. -->
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Makes a shaded jar with internalized dependencies -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>${maven-shade-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>net.dv8tion</groupId>
|
|
<artifactId>JDA</artifactId>
|
|
<version>${jda.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>club.minnced</groupId>
|
|
<artifactId>opus-java</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- JDA uses internally for its logging -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-simple</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.jsoup</groupId>
|
|
<artifactId>jsoup</artifactId>
|
|
<version>${jsoup.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>${commonslang.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-text</artifactId>
|
|
<version>${commonstext.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>${gson.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.yaml</groupId>
|
|
<artifactId>snakeyaml</artifactId>
|
|
<version>${snakeyaml.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.deepl.api</groupId>
|
|
<artifactId>deepl-java</artifactId>
|
|
<version>${deepl.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.xerial</groupId>
|
|
<artifactId>sqlite-jdbc</artifactId>
|
|
<version>${sqlite.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.jfree</groupId>
|
|
<artifactId>jfreechart</artifactId>
|
|
<version>${jfreechart.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.ini4j</groupId>
|
|
<artifactId>ini4j</artifactId>
|
|
<version>${ini4j.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
|
|
</project>
|