Files
MCdiscord_bot/pom.xml
2024-04-15 23:18:28 +12:00

108 lines
3.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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
<artifactId>minecraft-chatbot</artifactId>
<version>1.0</version>
<packaging>jar</packaging> <!-- Specify the correct packaging type here -->
<properties>
<!-- Specify Java version -->
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
</properties>
<repositories>
<repository>
<id>spigot-repo</id>
<name>spigot-1.20.4</name>
<url>https://repo.rosewooddev.io/repository/public/</url>
</repository>
</repositories>
<dependencies>
<!-- Spigot API dependency -->
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.20.4</version>
<scope>provided</scope>
</dependency>
<!--(Java Discord API) with JFlac and Tritonus-dsp -->
<dependency>
<!-- https://mvnrepository.com/artifact/net.dv8tion/JDA -->
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
<version>5.0.0-alpha.4</version><!-- Update version to the latest stable version -->
<exclusions>
<exclusion>
<groupId>jflac</groupId>
<artifactId>jflac</artifactId>
</exclusion>
<exclusion>
<groupId>tritonus</groupId>
<artifactId>tritonus-dsp</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Logging-->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.23.1</version> <!-- Use the latest STABLE version -->
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.23.1</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<type>maven-plugin</type>
</dependency>
<!-- Add other dependencies as needed -->
<dependency>
<groupId>net.katsstuff</groupId>
<artifactId>ackcord-data_sjs1_2.13</artifactId>
<version>2.0.0.0-M1</version>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Maven Compiler Plugin configuration -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version> <!-- Use the appropriate version -->
<executions>
<execution>
<configuration>
<rules>
<requireMavenVersion>
<version>3.0</version>
</requireMavenVersion>
</rules>
<source>21</source> <!-- Update to the Java version you're using -->
<target>21</target> <!-- Update to the Java version you're using -->
<compilerArgs>
<arg>--enable-preview</arg> <!-- Enable preview features -->
</compilerArgs>
</configuration>
</execution>
</executions>
</plugin>
<!-- Add other plugins as needed -->
</plugins>
</build>
</project>