pom.xml (4540B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4 <modelVersion>4.0.0</modelVersion> 5 <parent> 6 <groupId>org.springframework.boot</groupId> 7 <artifactId>spring-boot-starter-parent</artifactId> 8 <version>3.3.0</version> 9 <relativePath/> <!-- lookup parent from repository --> 10 </parent> 11 <groupId>com.wimdupont</groupId> 12 <artifactId>sxcybot</artifactId> 13 <version>0.0.1-SNAPSHOT</version> 14 <name>sxcybot</name> 15 <description>OSRS oriented Discord Bot</description> 16 17 <properties> 18 <java.version>21</java.version> 19 <jda-utilities-commons.version>3.0.5</jda-utilities-commons.version> 20 <dv8ation.jda.version>4.4.0_350</dv8ation.jda.version> 21 </properties> 22 23 <dependencies> 24 <dependency> 25 <groupId>org.springframework.boot</groupId> 26 <artifactId>spring-boot-starter-data-jpa</artifactId> 27 </dependency> 28 <dependency> 29 <groupId>org.springframework.boot</groupId> 30 <artifactId>spring-boot-starter-web</artifactId> 31 </dependency> 32 <dependency> 33 <groupId>org.springframework.boot</groupId> 34 <artifactId>spring-boot-starter-test</artifactId> 35 <scope>test</scope> 36 </dependency> 37 <dependency> 38 <groupId>org.mariadb.jdbc</groupId> 39 <artifactId>mariadb-java-client</artifactId> 40 </dependency> 41 <dependency> 42 <groupId>org.eclipse.angus</groupId> 43 <artifactId>jakarta.mail</artifactId> 44 </dependency> 45 <dependency> 46 <groupId>com.jagrosh</groupId> 47 <artifactId>jda-utilities-commons</artifactId> 48 <version>${jda-utilities-commons.version}</version> 49 </dependency> 50 <dependency> 51 <groupId>net.dv8tion</groupId> 52 <artifactId>JDA</artifactId> 53 <version>${dv8ation.jda.version}</version> 54 </dependency> 55 <dependency> 56 <groupId>org.flywaydb</groupId> 57 <artifactId>flyway-core</artifactId> 58 </dependency> 59 <dependency> 60 <groupId>org.flywaydb</groupId> 61 <artifactId>flyway-mysql</artifactId> 62 </dependency> 63 </dependencies> 64 65 <build> 66 <plugins> 67 <plugin> 68 <groupId>org.springframework.boot</groupId> 69 <artifactId>spring-boot-maven-plugin</artifactId> 70 </plugin> 71 <plugin> 72 <groupId>org.flywaydb</groupId> 73 <artifactId>flyway-maven-plugin</artifactId> 74 </plugin> 75 <plugin> 76 <groupId>org.apache.maven.plugins</groupId> 77 <artifactId>maven-compiler-plugin</artifactId> 78 </plugin> 79 </plugins> 80 </build> 81 <repositories> 82 <repository> 83 <id>central</id> 84 <name>bintray</name> 85 <url>https://jcenter.bintray.com</url> 86 </repository> 87 <repository> 88 <id>dv8tion</id> 89 <name>m2-dv8tion</name> 90 <url>https://m2.dv8tion.net/releases</url> 91 </repository> 92 <repository> 93 <id>maven_central</id> 94 <name>Maven Central</name> 95 <url>https://repo.maven.apache.org/maven2/</url> 96 </repository> 97 </repositories> 98 <profiles> 99 <profile> 100 <id>dev</id> 101 <activation> 102 <activeByDefault>true</activeByDefault> 103 </activation> 104 <properties> 105 <spring.profiles.active>dev</spring.profiles.active> 106 <flyway.configFiles>src/main/resources/application-dev.properties</flyway.configFiles> 107 </properties> 108 </profile> 109 <profile> 110 <id>tst</id> 111 <properties> 112 <spring.profiles.active>tst</spring.profiles.active> 113 <flyway.configFiles>src/main/resources/application-tst.properties</flyway.configFiles> 114 </properties> 115 </profile> 116 <profile> 117 <id>prd</id> 118 <properties> 119 <spring.profiles.active>prd</spring.profiles.active> 120 <flyway.configFiles>src/main/resources/application-prd.properties</flyway.configFiles> 121 </properties> 122 </profile> 123 </profiles> 124 </project>