151 lines
5.8 KiB
XML
151 lines
5.8 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>net.knarcraft</groupId>
|
|
<artifactId>BooksWithoutBorders</artifactId>
|
|
<version>1.3.5-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>GNU General Public License</name>
|
|
<url>https://www.gnu.org/licenses/gpl-3.0.en.html</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<name>Books Without Borders</name>
|
|
|
|
<description>A continuation of the original Books Without Borders</description>
|
|
<properties>
|
|
<java.version>16</java.version>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>net.knarcraft.knarlib</pattern>
|
|
<shadedPattern>net.knarcraft.bookswithoutborders.lib.knarlib</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.jetbrains.annotations</pattern>
|
|
<shadedPattern>net.knarcraft.bookswithoutborders.lib.annotations</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
<filters>
|
|
<filter>
|
|
<artifact>net.knarcraft:knarlib</artifact>
|
|
<includes>
|
|
<include>net/knarcraft/knarlib/**</include>
|
|
</includes>
|
|
</filter>
|
|
<filter>
|
|
<artifact>org.jetbrains:annotations</artifact>
|
|
<includes>
|
|
<include>org/jetbrains/annotations/**</include>
|
|
</includes>
|
|
</filter>
|
|
<filter>
|
|
<excludes>
|
|
<exclude>*.MF</exclude>
|
|
<exclude>*.yml</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>knarcraft-repo</id>
|
|
<url>https://git.knarcraft.net/api/packages/EpicKnarvik97/maven</url>
|
|
</repository>
|
|
<repository>
|
|
<id>spigotmc-repo</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>jitpack.io</id>
|
|
<url>https://jitpack.io</url>
|
|
</repository>
|
|
</repositories>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>knarcraft-repo</id>
|
|
<url>https://git.knarcraft.net/api/packages/EpicKnarvik97/maven</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>knarcraft-repo</id>
|
|
<url>https://git.knarcraft.net/api/packages/EpicKnarvik97/maven</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.spigotmc</groupId>
|
|
<artifactId>spigot-api</artifactId>
|
|
<version>1.21-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.MilkBowl</groupId>
|
|
<artifactId>VaultAPI</artifactId>
|
|
<version>1.7.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.knarcraft</groupId>
|
|
<artifactId>knarlib</artifactId>
|
|
<version>1.2.6</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains</groupId>
|
|
<artifactId>annotations</artifactId>
|
|
<version>24.0.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.13.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|