198 lines
8.1 KiB
XML
198 lines
8.1 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>tech.sbdevelopment</groupId>
|
|
<artifactId>ShowControl</artifactId>
|
|
<version>1.7</version>
|
|
<packaging>jar</packaging>
|
|
<name>ShowControl</name>
|
|
<url>https://sbdevelopment.tech</url>
|
|
|
|
<description>Create shows easily using this plugin!</description>
|
|
<properties>
|
|
<release>17</release>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.lombok.delombok-target>${project.build.directory}/javadoc-delombok</maven.lombok.delombok-target>
|
|
</properties>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>maven-snapshots</id>
|
|
<url>https://repository.apache.org/content/repositories/snapshots/</url>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>sbdevelopment-repo</id>
|
|
<url>https://repo.sbdevelopment.tech/releases</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
<build>
|
|
<defaultGoal>clean package</defaultGoal>
|
|
<finalName>${project.name} v${project.version}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.13.0</version>
|
|
<configuration>
|
|
<release>${release}</release>
|
|
<annotationProcessorPaths>
|
|
<path>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.36</version>
|
|
</path>
|
|
</annotationProcessorPaths>
|
|
<compilerArgs>
|
|
<arg>-parameters</arg>
|
|
</compilerArgs>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.6.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<minimizeJar>true</minimizeJar>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
<shadedArtifactAttached>false</shadedArtifactAttached>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>fr.minuskube.inv</pattern>
|
|
<shadedPattern>tech.sbdevelopment.showcontrol.libs.inv</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>fr.skytasul.guardianbeam</pattern>
|
|
<shadedPattern>tech.sbdevelopment.showcontrol.libs.guardianbeam</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>co.aikar.commands</pattern>
|
|
<shadedPattern>tech.sbdevelopment.showcontrol.libs.commands</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>co.aikar.locales</pattern>
|
|
<shadedPattern>tech.sbdevelopment.showcontrol.libs.locales</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.reflections</pattern>
|
|
<shadedPattern>tech.sbdevelopment.showcontrol.libs.reflections</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok-maven-plugin</artifactId>
|
|
<version>1.18.20.0</version>
|
|
<configuration>
|
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
|
<outputDirectory>${maven.lombok.delombok-target}</outputDirectory>
|
|
<addOutputDirectory>false</addOutputDirectory>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>delombok</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.11.2</version>
|
|
<configuration>
|
|
<release>${release}</release>
|
|
<sourcepath>${maven.lombok.delombok-target}</sourcepath>
|
|
<additionalJOption>--no-module-directories</additionalJOption> <!-- Fix for undefined in search -->
|
|
<sourceFileIncludes>
|
|
<sourceFileInclude>**/tech/sbdevelopment/showcontrol/api/**</sourceFileInclude>
|
|
</sourceFileIncludes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>spigotmc-repo</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>sonatype</id>
|
|
<url>https://oss.sonatype.org/content/groups/public/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>inventive-repo</id>
|
|
<url>https://repo.inventivetalent.org/content/groups/public/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>jitpack.io</id>
|
|
<url>https://jitpack.io</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.spigotmc</groupId>
|
|
<artifactId>spigot-api</artifactId>
|
|
<version>1.21.4-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.MinusKube</groupId>
|
|
<artifactId>SmartInvs</artifactId>
|
|
<version>9c9dbbee16</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.cryptomorin</groupId>
|
|
<artifactId>XSeries</artifactId>
|
|
<version>13.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>co.aikar</groupId>
|
|
<artifactId>acf-paper</artifactId>
|
|
<version>0.5.1-SNAPSHOT</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.SkytAsul</groupId>
|
|
<artifactId>GuardianBeam</artifactId>
|
|
<version>2.4.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.36</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.reflections</groupId>
|
|
<artifactId>reflections</artifactId>
|
|
<version>0.10.2</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|