2018-08-16 05:23:38 +02:00
<?xml version="1.0" encoding="UTF-8"?>
2018-04-15 07:30:04 +02:00
<project xmlns= "http://maven.apache.org/POM/4.0.0"
2021-03-07 19:40:34 +01:00
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>
2018-08-16 05:23:38 +02:00
2021-03-07 19:40:34 +01:00
<groupId > world.bentobox</groupId>
<artifactId > challenges</artifactId>
<version > ${revision}</version>
2018-08-16 05:23:38 +02:00
2021-03-07 19:40:34 +01:00
<name > Challenges</name>
<description > Challenges is an add-on for BentoBox, an expandable Minecraft Bukkit plugin for island-type games like SkyBlock, AcidIsland or CaveBlock.</description>
<url > https://github.com/BentoBoxWorld/Challenges</url>
<inceptionYear > 2018</inceptionYear>
2018-08-16 05:23:38 +02:00
2021-03-07 19:40:34 +01:00
<scm >
<connection > scm:git:https://github.com/BentoBoxWorld/Challenges.git</connection>
<developerConnection > scm:git:git@github.com:BentoBoxWorld/Challenges.git</developerConnection>
<url > https://github.com/BentoBoxWorld/Challenges</url>
</scm>
2018-08-16 05:23:38 +02:00
2021-03-07 19:40:34 +01:00
<ciManagement >
<system > jenkins</system>
<url > http://ci.codemc.org/job/BentoBoxWorld/job/Challenges</url>
</ciManagement>
2018-12-30 14:46:04 +01:00
2021-03-07 19:40:34 +01:00
<issueManagement >
<system > GitHub</system>
<url > https://github.com/BentoBoxWorld/Challenges/issues</url>
</issueManagement>
2018-08-16 05:23:38 +02:00
2021-03-07 19:40:34 +01:00
<properties >
<project.build.sourceEncoding > UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding > UTF-8</project.reporting.outputEncoding>
2023-04-02 13:47:10 +02:00
<java.version > 17</java.version>
2021-06-27 20:10:49 +02:00
<powermock.version > 2.0.9</powermock.version>
2021-03-07 19:40:34 +01:00
<!-- More visible way how to change dependency versions -->
2021-09-24 07:09:34 +02:00
<spigot.version > 1.17.1-R0.1-SNAPSHOT</spigot.version>
2021-08-14 20:42:45 +02:00
<spigot-annotations.version > 1.2.3-SNAPSHOT</spigot-annotations.version>
2023-01-05 20:39:03 +01:00
<bentobox.version > 1.21.0</bentobox.version>
2021-06-27 20:10:49 +02:00
<level.version > 2.6.3</level.version>
2021-03-07 19:40:34 +01:00
<vault.version > 1.7</vault.version>
2023-01-05 20:39:03 +01:00
<panelutils.version > 1.1.0</panelutils.version>
2021-03-07 19:40:34 +01:00
<!-- Revision variable removes warning about dynamic version -->
<revision > ${build.version}-SNAPSHOT</revision>
<!-- This allows to change between versions and snapshots. -->
2023-01-05 20:49:39 +01:00
<build.version > 1.2.0</build.version>
2021-03-07 19:40:34 +01:00
<build.number > -LOCAL</build.number>
<!-- Sonar Cloud -->
<sonar.projectKey > BentoBoxWorld_Challenges</sonar.projectKey>
<sonar.organization > bentobox-world</sonar.organization>
<sonar.host.url > https://sonarcloud.io</sonar.host.url>
</properties>
2017-11-26 03:17:16 +01:00
2021-03-07 19:40:34 +01:00
<profiles >
<profile >
<id > ci</id>
<activation >
<property >
<name > env.BUILD_NUMBER</name>
</property>
</activation>
<properties >
<!-- Override only if necessary -->
<build.number > -b${env.BUILD_NUMBER}</build.number>
<!-- GIT_BRANCH -->
</properties>
</profile>
<profile >
<id > master</id>
<activation >
<property >
<name > env.GIT_BRANCH</name>
<value > origin/master</value>
</property>
</activation>
<properties >
<!-- Override only if necessary -->
<revision > ${build.version}</revision>
<!-- Empties build number variable. -->
<build.number > </build.number>
</properties>
</profile>
</profiles>
2019-03-05 09:30:19 +01:00
2021-03-07 19:40:34 +01:00
<distributionManagement >
<snapshotRepository >
<id > codemc-snapshots</id>
<url > https://repo.codemc.org/repository/maven-snapshots</url>
</snapshotRepository>
<repository >
<id > codemc-releases</id>
<url > https://repo.codemc.org/repository/maven-releases</url>
</repository>
</distributionManagement>
2018-12-30 14:46:04 +01:00
2021-09-24 02:08:12 +02:00
<pluginRepositories >
<pluginRepository >
<id > apache.snapshots</id>
<url > https://repository.apache.org/snapshots/</url>
</pluginRepository>
</pluginRepositories>
2021-03-07 19:40:34 +01:00
<repositories >
2021-09-18 12:04:14 +02:00
<!-- Spigot Repo -->
2021-03-07 19:40:34 +01:00
<repository >
<id > spigot-repo</id>
<url > https://hub.spigotmc.org/nexus/content/repositories/snapshots</url>
</repository>
2021-09-18 12:04:14 +02:00
<!-- CodeMC Repo for BentoBox -->
2021-03-07 19:40:34 +01:00
<repository >
<id > codemc-repo</id>
2021-09-18 12:04:14 +02:00
<url > https://repo.codemc.io/repository/maven-public</url>
2021-03-07 19:40:34 +01:00
</repository>
2021-09-18 12:04:14 +02:00
<!-- Minecraft Lib Repo -->
2021-03-07 19:40:34 +01:00
<repository >
2021-09-18 12:04:14 +02:00
<id > minecraft-repo</id>
<url > https://libraries.minecraft.net/</url>
2021-03-07 19:40:34 +01:00
</repository>
</repositories>
2018-08-16 05:23:38 +02:00
2021-03-07 19:40:34 +01:00
<dependencies >
2021-08-14 20:48:20 +02:00
<!-- Spigot API -->
2021-03-07 19:40:34 +01:00
<dependency >
<groupId > org.spigotmc</groupId>
<artifactId > spigot-api</artifactId>
<version > ${spigot.version}</version>
<scope > provided</scope>
</dependency>
2019-10-30 07:44:26 +01:00
<dependency >
2021-09-18 12:04:14 +02:00
<groupId > org.spigotmc</groupId>
<artifactId > plugin-annotations</artifactId>
<version > 1.2.3-SNAPSHOT</version>
2021-10-02 13:04:30 +02:00
<scope > provided</scope>
2019-10-30 07:44:26 +01:00
</dependency>
2021-09-18 12:04:14 +02:00
<!-- Vault API -->
2019-10-30 07:44:26 +01:00
<dependency >
2021-09-18 12:04:14 +02:00
<groupId > net.milkbowl.vault</groupId>
<artifactId > VaultAPI</artifactId>
<version > ${vault.version}</version>
<scope > provided</scope>
2019-10-30 07:44:26 +01:00
</dependency>
2021-09-24 02:08:12 +02:00
<!-- BentoBox dependencies. -->
2021-03-07 19:40:34 +01:00
<dependency >
<groupId > world.bentobox</groupId>
<artifactId > bentobox</artifactId>
<version > ${bentobox.version}</version>
<scope > provided</scope>
</dependency>
<dependency >
<groupId > world.bentobox</groupId>
<artifactId > level</artifactId>
<version > ${level.version}</version>
<scope > provided</scope>
</dependency>
2021-10-02 13:04:30 +02:00
<!-- PanelUtils -->
<dependency >
<groupId > lv.id.bonne</groupId>
<artifactId > panelutils</artifactId>
<version > ${panelutils.version}</version>
<scope > compile</scope>
</dependency>
2021-09-18 12:04:14 +02:00
<!-- Annotations -->
2021-03-07 19:40:34 +01:00
<dependency >
2021-09-18 12:04:14 +02:00
<groupId > org.jetbrains</groupId>
<artifactId > annotations</artifactId>
2021-10-02 13:04:30 +02:00
<version > 22.0.0</version>
<scope > provided</scope>
2021-03-07 19:40:34 +01:00
</dependency>
2021-09-18 12:04:14 +02:00
<!-- Mockito (Unit testing) -->
2021-06-28 02:26:16 +02:00
<dependency >
2021-09-18 12:04:14 +02:00
<groupId > org.mockito</groupId>
<artifactId > mockito-core</artifactId>
<version > 3.11.2</version>
<scope > test</scope>
</dependency>
<dependency >
<groupId > org.powermock</groupId>
<artifactId > powermock-module-junit4</artifactId>
<version > ${powermock.version}</version>
<scope > test</scope>
</dependency>
<dependency >
<groupId > org.powermock</groupId>
<artifactId > powermock-api-mockito2</artifactId>
<version > ${powermock.version}</version>
<scope > test</scope>
2021-06-28 02:26:16 +02:00
</dependency>
2021-09-24 02:08:12 +02:00
<!-- Mojang Auth -->
<dependency >
<groupId > com.mojang</groupId>
<artifactId > authlib</artifactId>
<version > 1.5.21</version>
<scope > provided</scope>
</dependency>
2021-03-07 19:40:34 +01:00
</dependencies>
2018-08-16 05:23:38 +02:00
2021-03-07 19:40:34 +01:00
<build >
<!-- By default ${revision} is ${build.version} - SNAPSHOT -->
<!-- If GIT_BRANCH variable is set to origin/master, then it will
be only ${build.version}. -->
2019-06-12 21:59:38 +02:00
2021-03-07 19:40:34 +01:00
<!-- By default ${build.number} is - LOCAL. -->
<!-- If the BUILD_NUMBER variable is set, then it will be - b[number]. -->
<!-- If GIT_BRANCH variable is set to origin/master, then it will
be the empty string. -->
<finalName > ${project.name}-${revision}${build.number}</finalName>
2019-06-12 21:59:38 +02:00
2021-03-07 19:40:34 +01:00
<defaultGoal > clean package</defaultGoal>
<resources >
<resource >
<directory > src/main/resources</directory>
<filtering > true</filtering>
</resource>
<resource >
<directory > src/main/resources/locales</directory>
<targetPath > ./locales</targetPath>
<filtering > false</filtering>
<includes >
<include > *.yml</include>
<include > *.json</include>
</includes>
</resource>
</resources>
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-clean-plugin</artifactId>
<version > 3.1.0</version>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-resources-plugin</artifactId>
<version > 3.1.0</version>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-compiler-plugin</artifactId>
2021-06-27 20:10:49 +02:00
<version > 3.7.0</version>
2021-03-07 19:40:34 +01:00
<configuration >
2021-10-02 13:04:30 +02:00
<source > ${java.version}</source>
<target > ${java.version}</target>
2021-06-27 20:10:49 +02:00
<release > ${java.version}</release>
2021-03-07 19:40:34 +01:00
</configuration>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-surefire-plugin</artifactId>
2021-06-27 20:10:49 +02:00
<version > 3.0.0-M5</version>
<configuration >
<argLine >
2023-02-10 00:14:35 +01:00
${argLine}
2021-09-24 04:39:33 +02:00
--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.base/java.math=ALL-UNNAMED
--add-opens java.base/java.io=ALL-UNNAMED
--add-opens java.base/java.util=ALL-UNNAMED
--add-opens
java.base/java.util.stream=ALL-UNNAMED
--add-opens java.base/java.text=ALL-UNNAMED
--add-opens
java.base/java.util.regex=ALL-UNNAMED
--add-opens
java.base/java.nio.channels.spi=ALL-UNNAMED
--add-opens java.base/sun.nio.ch=ALL-UNNAMED
--add-opens java.base/java.net=ALL-UNNAMED
--add-opens
java.base/java.util.concurrent=ALL-UNNAMED
--add-opens java.base/sun.nio.fs=ALL-UNNAMED
--add-opens java.base/sun.nio.cs=ALL-UNNAMED
--add-opens java.base/java.nio.file=ALL-UNNAMED
--add-opens
java.base/java.nio.charset=ALL-UNNAMED
--add-opens
java.base/java.lang.reflect=ALL-UNNAMED
--add-opens
java.logging/java.util.logging=ALL-UNNAMED
--add-opens java.base/java.lang.ref=ALL-UNNAMED
--add-opens java.base/java.util.jar=ALL-UNNAMED
--add-opens java.base/java.util.zip=ALL-UNNAMED
2021-06-27 20:10:49 +02:00
</argLine>
2021-09-24 04:39:33 +02:00
2021-06-27 20:10:49 +02:00
</configuration>
2021-03-07 19:40:34 +01:00
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-jar-plugin</artifactId>
2021-03-07 20:00:20 +01:00
<version > 3.2.0</version>
2021-03-07 19:40:34 +01:00
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-javadoc-plugin</artifactId>
2021-03-07 20:00:20 +01:00
<version > 3.1.1</version>
2021-03-07 19:40:34 +01:00
<configuration >
<show > public</show>
<failOnError > false</failOnError>
<additionalJOption > -Xdoclint:none</additionalJOption>
2021-06-27 20:10:49 +02:00
<javadocExecutable > ${java.home}/bin/javadoc</javadocExecutable>
2021-03-07 19:40:34 +01:00
</configuration>
<executions >
<execution >
<id > attach-javadocs</id>
<goals >
<goal > jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-source-plugin</artifactId>
<version > 3.0.1</version>
<executions >
<execution >
<id > attach-sources</id>
<goals >
<goal > jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-install-plugin</artifactId>
<version > 2.5.2</version>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-deploy-plugin</artifactId>
<version > 2.8.2</version>
</plugin>
<plugin >
<groupId > org.jacoco</groupId>
<artifactId > jacoco-maven-plugin</artifactId>
2021-03-07 20:00:20 +01:00
<version > 0.8.4</version>
2021-03-07 19:40:34 +01:00
<configuration >
<append > true</append>
2021-03-07 20:00:20 +01:00
<excludes >
<!-- This is required to prevent Jacoco from adding
synthetic fields to a JavaBean class (causes errors in testing) -->
<exclude > **/*Names*</exclude>
</excludes>
2021-03-07 19:40:34 +01:00
</configuration>
<executions >
<execution >
<id > pre-unit-test</id>
<goals >
<goal > prepare-agent</goal>
</goals>
</execution>
<execution >
<id > post-unit-test</id>
<goals >
<goal > report</goal>
</goals>
</execution>
</executions>
</plugin>
2021-10-02 13:04:30 +02:00
<plugin >
2023-02-10 19:50:41 +01:00
<groupId > org.jacoco</groupId>
<artifactId > jacoco-maven-plugin</artifactId>
<version > 0.8.7</version>
2021-10-02 13:04:30 +02:00
<configuration >
2023-02-10 19:50:41 +01:00
<append > true</append>
<excludes >
<!-- This is required to prevent Jacoco from adding
synthetic fields to a JavaBean class (causes errors in testing) -->
<exclude > **/*Names*</exclude>
</excludes>
2021-10-02 13:04:30 +02:00
</configuration>
<executions >
<execution >
2023-02-10 19:50:41 +01:00
<id > prepare-agent</id>
2021-10-02 13:04:30 +02:00
<goals >
2023-02-10 19:50:41 +01:00
<goal > prepare-agent</goal>
</goals>
</execution>
<execution >
<id > report</id>
<goals >
<goal > report</goal>
2021-10-02 13:04:30 +02:00
</goals>
2023-02-10 19:50:41 +01:00
<configuration >
<formats >
<format > XML</format>
</formats>
</configuration>
2021-10-02 13:04:30 +02:00
</execution>
</executions>
</plugin>
2021-03-07 19:40:34 +01:00
</plugins>
</build>
2018-08-16 05:23:38 +02:00
2019-02-13 15:49:01 +01:00
</project>