sorted all errors and made first Jar file
version 1.0
This commit is contained in:
58
pom.xml
58
pom.xml
@@ -3,10 +3,11 @@
|
||||
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 -->
|
||||
@@ -14,19 +15,28 @@
|
||||
<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-api</artifactId>
|
||||
<version>1.20.4-R0.1-SNAPSHOT</version>
|
||||
<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>1.2.2_139</version> <!-- Update version to the latest stable version -->
|
||||
<version>5.0.0-alpha.4</version><!-- Update version to the latest stable version -->
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>jflac</groupId>
|
||||
@@ -38,15 +48,34 @@
|
||||
</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>
|
||||
|
||||
<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>
|
||||
@@ -55,14 +84,23 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version> <!-- Use the appropriate version -->
|
||||
<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>
|
||||
|
Reference in New Issue
Block a user