2015-09-12 18:17:41 +02:00
|
|
|
<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>at.pcgamingfreaks</groupId>
|
2016-11-23 21:06:45 +01:00
|
|
|
<artifactId>Minepacks</artifactId>
|
2019-06-16 15:14:06 +02:00
|
|
|
<version>2.0.4</version>
|
2015-09-12 18:17:41 +02:00
|
|
|
|
|
|
|
<scm>
|
2018-04-28 15:04:37 +02:00
|
|
|
<connection>scm:git:git@github.com:GeorgH93/Minepacks.git</connection>
|
|
|
|
<developerConnection>scm:git:git@github.com:GeorgH93/Minepacks.git</developerConnection>
|
|
|
|
<url>git@github.com:GeorgH93/Minepacks.git</url>
|
2015-09-12 18:17:41 +02:00
|
|
|
</scm>
|
|
|
|
<issueManagement>
|
|
|
|
<system>GitHub</system>
|
2018-04-28 15:04:37 +02:00
|
|
|
<url>https://github.com/GeorgH93/Minepacks/issues</url>
|
2015-09-12 18:17:41 +02:00
|
|
|
</issueManagement>
|
|
|
|
<ciManagement>
|
|
|
|
<system>jenkins</system>
|
2017-02-28 22:58:27 +01:00
|
|
|
<url>https://ci.pcgamingfreaks.at/job/Minepacks/</url>
|
2015-09-12 18:17:41 +02:00
|
|
|
</ciManagement>
|
|
|
|
|
2016-11-23 21:06:45 +01:00
|
|
|
<name>Minepacks</name>
|
2016-11-28 21:31:09 +01:00
|
|
|
<description>Minepacks is a backpack plugin with different backpack sizes, multi language support and SQLite and MySQL storage support.</description>
|
2015-09-12 18:17:41 +02:00
|
|
|
<inceptionYear>2014</inceptionYear>
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>GNU General Public License (GPL) v3</name>
|
|
|
|
<url>http://www.gnu.org/licenses/gpl-3.0.txt</url>
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
2018-05-18 18:38:04 +02:00
|
|
|
<properties>
|
|
|
|
<author>GeorgH93</author>
|
|
|
|
<website>https://www.spigotmc.org/resources/19286/</website>
|
2019-05-30 02:36:25 +02:00
|
|
|
<version>${project.version}</version>
|
2019-06-01 18:28:06 +02:00
|
|
|
<dependencies>depend: [ PCGF_PluginLib ]</dependencies>
|
2019-05-30 02:36:25 +02:00
|
|
|
<mainClass>${project.groupId}.${project.artifactId}.Bukkit.${project.artifactId}</mainClass>
|
2018-05-18 18:38:04 +02:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
</properties>
|
|
|
|
|
2015-09-12 18:17:41 +02:00
|
|
|
<repositories>
|
2015-09-16 13:31:39 +02:00
|
|
|
<repository>
|
|
|
|
<id>pcgf-repo</id>
|
2019-04-29 18:06:03 +02:00
|
|
|
<url>https://repo.pcgamingfreaks.at/repository/maven-everything/</url>
|
2015-09-16 13:31:39 +02:00
|
|
|
</repository>
|
2016-11-06 18:09:23 +01:00
|
|
|
<repository>
|
|
|
|
<id>spigot-nexus</id>
|
|
|
|
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
|
|
|
|
</repository>
|
2015-09-12 18:17:41 +02:00
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<dependencies>
|
2019-05-10 02:01:55 +02:00
|
|
|
<!-- Minepacks API -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>at.pcgamingfreaks</groupId>
|
|
|
|
<artifactId>Minepacks-API</artifactId>
|
|
|
|
<version>2.0</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.bukkit</groupId>
|
|
|
|
<artifactId>bukkit</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>at.pcgamingfreaks</groupId>
|
|
|
|
<artifactId>PluginLib</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<!-- Bukkit -->
|
2015-09-12 18:17:41 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.bukkit</groupId>
|
|
|
|
<artifactId>bukkit</artifactId>
|
2019-01-15 16:48:56 +01:00
|
|
|
<version>1.13.2-R0.1-SNAPSHOT</version>
|
2015-09-12 18:17:41 +02:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2019-05-10 02:01:55 +02:00
|
|
|
<!-- PCGF Plugin Lib -->
|
2015-09-16 13:31:39 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>at.pcgamingfreaks</groupId>
|
2017-01-24 23:16:26 +01:00
|
|
|
<artifactId>PluginLib</artifactId>
|
2019-06-08 14:38:27 +02:00
|
|
|
<version>1.0.13-SNAPSHOT</version>
|
2016-03-01 00:39:28 +01:00
|
|
|
</dependency>
|
2019-06-01 18:49:03 +02:00
|
|
|
<!-- BadRabbit -->
|
2016-03-01 00:39:28 +01:00
|
|
|
<dependency>
|
2019-06-01 18:49:03 +02:00
|
|
|
<groupId>at.pcgamingfreaks</groupId>
|
|
|
|
<artifactId>BadRabbit</artifactId>
|
2019-06-08 00:25:30 +02:00
|
|
|
<version>1.2.1</version>
|
|
|
|
<classifier>Bukkit</classifier>
|
2016-03-01 00:39:28 +01:00
|
|
|
</dependency>
|
2015-09-12 18:17:41 +02:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2019-05-10 02:01:55 +02:00
|
|
|
<defaultGoal>clean package</defaultGoal>
|
2015-09-12 18:17:41 +02:00
|
|
|
<sourceDirectory>src</sourceDirectory>
|
2019-05-31 16:09:22 +02:00
|
|
|
<testSourceDirectory>test/src</testSourceDirectory>
|
2015-09-12 18:17:41 +02:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</resource>
|
2018-05-18 18:33:38 +02:00
|
|
|
<resource>
|
|
|
|
<directory>./</directory>
|
|
|
|
<includes>
|
|
|
|
<include>LICENSE</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
2015-09-12 18:17:41 +02:00
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.1</version>
|
|
|
|
<configuration>
|
2017-06-10 20:30:39 +02:00
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
2015-09-12 18:17:41 +02:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-05-10 02:01:55 +02:00
|
|
|
<!-- Bundle the API into the JAR -->
|
2015-09-12 18:17:41 +02:00
|
|
|
<plugin>
|
2015-09-16 13:31:39 +02:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2019-05-10 02:01:55 +02:00
|
|
|
<version>3.2.1</version>
|
2015-09-12 18:17:41 +02:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2015-09-16 13:31:39 +02:00
|
|
|
<phase>package</phase>
|
2015-09-12 18:17:41 +02:00
|
|
|
<goals>
|
2015-09-16 13:31:39 +02:00
|
|
|
<goal>shade</goal>
|
2015-09-12 18:17:41 +02:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2015-09-16 13:31:39 +02:00
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
2019-05-10 02:01:55 +02:00
|
|
|
<minimizeJar>false</minimizeJar>
|
2015-09-16 13:31:39 +02:00
|
|
|
<artifactSet>
|
|
|
|
<includes>
|
2019-05-10 02:01:55 +02:00
|
|
|
<include>at.pcgamingfreaks:Minepacks-API</include>
|
2015-09-16 13:31:39 +02:00
|
|
|
</includes>
|
|
|
|
</artifactSet>
|
2015-09-12 18:17:41 +02:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2019-05-30 02:36:25 +02:00
|
|
|
<profiles>
|
2019-06-01 18:49:03 +02:00
|
|
|
<profile>
|
|
|
|
<id>ExcludeBadRabbit</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>3.1.2</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-jar</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>at/pcgamingfreaks/Minepacks/Bukkit/MinepacksBadRabbit.class</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2019-05-30 02:36:25 +02:00
|
|
|
<profile>
|
|
|
|
<id>Standalone</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<version>${project.version}-Standalone</version>
|
|
|
|
<dependencies/>
|
|
|
|
<mainClass>${project.groupId}.${project.artifactId}Standalone.Bukkit.${project.artifactId}</mainClass>
|
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<!-- Shades some required libs into the final jar -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<version>3.2.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2019-06-01 18:49:03 +02:00
|
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
|
|
<shadedClassifierName>Standalone</shadedClassifierName>
|
2019-05-30 02:36:25 +02:00
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
<minimizeJar>true</minimizeJar>
|
2019-06-01 18:49:03 +02:00
|
|
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
2019-05-30 02:36:25 +02:00
|
|
|
<artifactSet>
|
|
|
|
<includes>
|
|
|
|
<include>at.pcgamingfreaks:Minepacks-API</include>
|
|
|
|
<include>at.pcgamingfreaks:PluginLib</include>
|
|
|
|
</includes>
|
|
|
|
</artifactSet>
|
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>at.pcgf.libs</pattern>
|
|
|
|
<shadedPattern>at.pcgamingfreaks.MinepacksStandalone.libs</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>at.pcgamingfreaks.Minepacks</pattern>
|
|
|
|
<shadedPattern>at.pcgamingfreaks.MinepacksStandalone</shadedPattern>
|
|
|
|
<excludes>
|
|
|
|
<exclude>at.pcgamingfreaks.Minepacks.Bukkit.API.*</exclude>
|
|
|
|
</excludes>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>at.pcgamingfreaks</pattern>
|
|
|
|
<shadedPattern>at.pcgamingfreaks.MinepacksStandalone.libs.at.pcgamingfreaks</shadedPattern>
|
|
|
|
<excludes>
|
2019-06-01 00:16:24 +02:00
|
|
|
<exclude>at.pcgamingfreaks.Minepacks.Bukkit.API.Backpack</exclude>
|
|
|
|
<exclude>at.pcgamingfreaks.Minepacks.Bukkit.API.Callback</exclude>
|
|
|
|
<exclude>at.pcgamingfreaks.Minepacks.Bukkit.API.MinepacksPlugin</exclude>
|
|
|
|
<exclude>at.pcgamingfreaks.Minepacks.Bukkit.API.MinepacksCommandManager</exclude>
|
2019-05-30 02:36:25 +02:00
|
|
|
</excludes>
|
|
|
|
</relocation>
|
|
|
|
</relocations>
|
|
|
|
<filters>
|
|
|
|
<filter>
|
|
|
|
<artifact>at.pcgamingfreaks:PluginLib</artifact>
|
|
|
|
<excludes>
|
|
|
|
<exclude>*.yml</exclude>
|
|
|
|
<exclude>META-INF/*.txt</exclude>
|
|
|
|
</excludes>
|
|
|
|
</filter>
|
|
|
|
</filters>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-05-31 16:09:22 +02:00
|
|
|
<!-- Replace all the PCGF-PluginLib code with alternatives -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
|
|
<artifactId>munge-maven-plugin</artifactId>
|
2019-06-01 18:49:03 +02:00
|
|
|
<version>1.0</version>
|
2019-05-31 16:09:22 +02:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>munge</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>munge</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<symbols>STANDALONE</symbols>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-05-30 02:36:25 +02:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2019-06-01 18:49:03 +02:00
|
|
|
<profile>
|
|
|
|
<id>Release</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<version>${project.version}-Release</version>
|
|
|
|
<dependencies>softdepend: [ PCGF_PluginLib ]</dependencies>
|
|
|
|
<mainClass>${project.groupId}.${project.artifactId}.Bukkit.${project.artifactId}BadRabbit</mainClass>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>at.pcgamingfreaks</groupId>
|
|
|
|
<artifactId>Minepacks</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>Standalone</classifier>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<version>3.2.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
|
|
<shadedClassifierName>Release</shadedClassifierName>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
<minimizeJar>false</minimizeJar>
|
|
|
|
<artifactSet>
|
|
|
|
<includes>
|
|
|
|
<include>at.pcgamingfreaks:Minepacks-API</include>
|
|
|
|
<include>at.pcgamingfreaks:BadRabbit</include>
|
|
|
|
<include>at.pcgamingfreaks:Minepacks</include>
|
|
|
|
</includes>
|
|
|
|
</artifactSet>
|
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>at.pcgamingfreaks.BadRabbit</pattern>
|
|
|
|
<shadedPattern>at.pcgamingfreaks.Minepacks</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
</relocations>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2019-05-30 02:36:25 +02:00
|
|
|
</profiles>
|
|
|
|
|
2015-09-12 18:17:41 +02:00
|
|
|
<distributionManagement>
|
|
|
|
<repository>
|
|
|
|
<id>releases</id>
|
2019-04-29 18:06:03 +02:00
|
|
|
<url>https://repo.pcgamingfreaks.at/repository/maven-releases/</url>
|
2015-09-12 18:17:41 +02:00
|
|
|
</repository>
|
|
|
|
<snapshotRepository>
|
|
|
|
<id>snapshots</id>
|
2019-04-29 18:06:03 +02:00
|
|
|
<url>https://repo.pcgamingfreaks.at/repository/maven-snapshots/</url>
|
2015-09-12 18:17:41 +02:00
|
|
|
</snapshotRepository>
|
|
|
|
</distributionManagement>
|
2017-01-25 09:30:03 +01:00
|
|
|
</project>
|