66 lines
2.4 KiB
XML
66 lines
2.4 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>
|
|
|
|
<properties>
|
|
<!-- Specify Java version -->
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
<maven.compiler.target>21</maven.compiler.target>
|
|
</properties>
|
|
|
|
<repositories>
|
|
<!-- This adds the Spigot Maven repository to the build -->
|
|
<repository>
|
|
<id>spigot-repo</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<!-- Spigot API dependency -->
|
|
<dependency>
|
|
<groupId>org.spigotmc</groupId>
|
|
<artifactId>spigot-api</artifactId>
|
|
<version>1.20.4-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- Google / YouTube dependencies -->
|
|
<dependency>
|
|
<groupId>com.google.api-client</groupId>
|
|
<artifactId>google-api-client</artifactId>
|
|
<version>2.4.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.apis</groupId>
|
|
<artifactId>google-api-services-youtube</artifactId>
|
|
<version>v3-rev222-1.25.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<!-- Maven Compiler Plugin configuration -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version> <!-- Use the appropriate version -->
|
|
<configuration>
|
|
<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>
|
|
</plugin>
|
|
<!-- Add other plugins as needed -->
|
|
</plugins>
|
|
</build>
|
|
</project>
|