EpicKnarvik97
51d79c21c2
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
159 lines
5.9 KiB
XML
159 lines
5.9 KiB
XML
<!-- Blacksmith build file -->
|
|
|
|
<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>blacksmith</artifactId>
|
|
<version>1.1.1-SNAPSHOT</version>
|
|
<name>Blacksmith</name>
|
|
<description>Blacksmith NPC for the Citizens API</description>
|
|
|
|
<!-- Properties -->
|
|
<properties>
|
|
<java.version>16</java.version>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<build.number>Unknown</build.number>
|
|
</properties>
|
|
|
|
<!-- Repositories -->
|
|
<repositories>
|
|
<repository>
|
|
<id>spigot-repo</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>citizens-repo</id>
|
|
<url>https://repo.citizensnpcs.co/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>jitpack.io</id>
|
|
<url>https://jitpack.io</url>
|
|
</repository>
|
|
<repository>
|
|
<id>knarcraft-repo</id>
|
|
<url>https://git.knarcraft.net/api/packages/EpicKnarvik97/maven</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 -->
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>net.citizensnpcs</groupId>
|
|
<artifactId>citizens-main</artifactId>
|
|
<version>2.0.33-SNAPSHOT</version>
|
|
<type>jar</type>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>*</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.spigotmc</groupId>
|
|
<artifactId>spigot-api</artifactId>
|
|
<version>1.20.6-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>org.jetbrains</groupId>
|
|
<artifactId>annotations</artifactId>
|
|
<version>24.0.1</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.knarcraft</groupId>
|
|
<artifactId>knarlib</artifactId>
|
|
<version>1.2.7</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>5.10.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<!-- Build information -->
|
|
<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.blacksmith.lib.knarlib</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.jetbrains.annotations</pattern>
|
|
<shadedPattern>net.knarcraft.blacksmith.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>
|
|
</filters>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
|
|
</project>
|