Bat/pom.xml

126 lines
3.5 KiB
XML
Raw Normal View History

2024-06-23 20:37:24 +00:00
<?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>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.3.1</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>cc.fascinated</groupId>
<artifactId>Bat</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>Bat</name>
<description>Bat Bot for Discord</description>
<properties>
2024-06-24 14:51:21 +00:00
<java.version>17</java.version>
2024-06-23 20:37:24 +00:00
</properties>
<build>
2024-06-24 14:45:53 +00:00
<finalName>${project.artifactId}</finalName>
2024-06-23 20:37:24 +00:00
<plugins>
2024-06-24 14:45:53 +00:00
<!-- Used for compiling the source code with the proper Java version -->
2024-06-23 20:37:24 +00:00
<plugin>
2024-06-24 14:45:53 +00:00
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<!-- Enable incremental builds, this is reversed due to -->
<!-- a bug as seen in https://issues.apache.org/jira/browse/MCOMPILER-209 -->
<useIncrementalCompilation>false</useIncrementalCompilation>
</configuration>
</plugin>
<!-- Handles shading of dependencies in the final output jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.3</version>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Specify the apps main class -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>cc.fascinated.bat.BatApplication</mainClass>
</manifest>
</archive>
</configuration>
2024-06-23 20:37:24 +00:00
</plugin>
</plugins>
</build>
2024-06-24 14:45:53 +00:00
2024-06-23 20:37:24 +00:00
<dependencies>
2024-06-24 12:56:01 +00:00
<!-- Spring -->
2024-06-23 20:37:24 +00:00
<dependency>
<groupId>org.springframework.boot</groupId>
2024-06-24 12:56:01 +00:00
<artifactId>spring-boot-starter-web</artifactId>
2024-06-23 20:37:24 +00:00
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
2024-06-24 12:56:01 +00:00
<artifactId>spring-boot-starter-data-mongodb</artifactId>
2024-06-23 20:37:24 +00:00
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
</dependency>
2024-06-25 14:43:36 +00:00
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-cache</artifactId>
</dependency>
2024-06-23 20:37:24 +00:00
<!-- Libraries -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.32</version>
<scope>provided</scope>
</dependency>
<!-- Dependencies -->
<dependency>
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
<version>5.0.0-beta.24</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.10.1</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
<version>5.3.1</version>
</dependency>
2024-06-24 12:56:01 +00:00
<!-- Test Dependencies -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
2024-06-23 20:37:24 +00:00
</dependencies>
</project>