178 lines
5.9 KiB
XML
178 lines
5.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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>com.wiilink.bot</groupId>
|
|
<artifactId>WiiLink-Bot</artifactId>
|
|
<version>1.0</version>
|
|
|
|
<build>
|
|
<finalName>WiiLink-Bot</finalName>
|
|
<defaultGoal>clean package</defaultGoal>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.10.1</version>
|
|
<configuration>
|
|
<source>18</source>
|
|
<target>18</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
|
|
<configuration>
|
|
<finalName>WiiLink-Bot</finalName>
|
|
<filters>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>META-INF/*.SF</exclude>
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
|
|
<transformers>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<mainClass>com.wiilink24.bot.WiiLinkBot</mainClass>
|
|
</transformer>
|
|
</transformers>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<properties>
|
|
<maven.compiler.source>18</maven.compiler.source>
|
|
<maven.compiler.target>18</maven.compiler.target>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.google.cloud</groupId>
|
|
<artifactId>libraries-bom</artifactId>
|
|
<version>26.1.1</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>central</id>
|
|
<name>bintray</name>
|
|
<url>https://jcenter.bintray.com</url>
|
|
</repository>
|
|
<repository>
|
|
<id>dv8tion</id>
|
|
<name>m2-dv8tion</name>
|
|
<url>https://m2.dv8tion.net/releases</url>
|
|
</repository>
|
|
<repository>
|
|
<id>maven_central</id>
|
|
<name>Maven Central</name>
|
|
<url>https://repo.maven.apache.org/maven2</url>
|
|
</repository>
|
|
<repository>
|
|
<id>jitpack.io</id>
|
|
<name>JitPack</name>
|
|
<url>https://jitpack.io</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<!-- JDA -->
|
|
<dependency>
|
|
<groupId>net.dv8tion</groupId>
|
|
<artifactId>JDA</artifactId>
|
|
<version>5.0.0-alpha.18</version>
|
|
</dependency>
|
|
|
|
<!-- JSON library -->
|
|
<dependency>
|
|
<groupId>org.json</groupId>
|
|
<artifactId>json</artifactId>
|
|
<version>20220320</version>
|
|
</dependency>
|
|
|
|
<!-- jsoup HTML parser library @ https://jsoup.org/ -->
|
|
<dependency>
|
|
<groupId>org.jsoup</groupId>
|
|
<artifactId>jsoup</artifactId>
|
|
<version>1.15.3</version>
|
|
</dependency>
|
|
|
|
<!-- .env library -->
|
|
<dependency>
|
|
<groupId>io.github.cdimascio</groupId>
|
|
<artifactId>dotenv-java</artifactId>
|
|
<version>2.2.4</version>
|
|
</dependency>
|
|
|
|
<!-- OCR -->
|
|
<dependency>
|
|
<groupId>com.google.cloud</groupId>
|
|
<artifactId>google-cloud-vision</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Sentry -->
|
|
<dependency>
|
|
<groupId>io.sentry</groupId>
|
|
<artifactId>sentry</artifactId>
|
|
<version>6.4.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
<artifactId>groovy-jsr223</artifactId>
|
|
<version>3.0.12</version>
|
|
</dependency>
|
|
|
|
<!-- Database handling -->
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>42.5.0</version>
|
|
</dependency>
|
|
|
|
<!-- https://jdbc.postgresql.org/documentation/head/ds-ds.html
|
|
recommends to use DBCP instead of itself -->
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-dbcp2</artifactId>
|
|
<version>2.9.0</version>
|
|
</dependency>
|
|
|
|
<!-- HTTP requests -->
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
<version>4.5.13</version>
|
|
</dependency>
|
|
|
|
<!-- Dev file uploading -->
|
|
<dependency>
|
|
<groupId>com.github.spotlightishere</groupId>
|
|
<artifactId>owo.java</artifactId>
|
|
<version>8a05397f3e</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|