mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-06-28 15:24:43 +02:00
Compile with 1.8.8
This commit is contained in:
parent
40427e427c
commit
d56fc3abf7
747
pom.xml
747
pom.xml
|
@ -1,373 +1,374 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.acrobot.chestshop</groupId>
|
<groupId>com.acrobot.chestshop</groupId>
|
||||||
<artifactId>chestshop</artifactId>
|
<artifactId>chestshop</artifactId>
|
||||||
<version>3.9.1-SNAPSHOT</version>
|
<version>3.9.1-1.8.8-hotfix</version>
|
||||||
<description>Chest-and-sign shop plugin for Bukkit</description>
|
<description>Chest-and-sign shop plugin for Bukkit</description>
|
||||||
<name>ChestShop</name>
|
<name>ChestShop</name>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
<connection>scm:git:git://github.com/ChestShop-authors/ChestShop-3</connection>
|
<connection>scm:git:git://github.com/ChestShop-authors/ChestShop-3</connection>
|
||||||
<developerConnection>scm:git:ssh://git@github.com/ChestShop-authors/ChestShop-3.git</developerConnection>
|
<developerConnection>scm:git:ssh://git@github.com/ChestShop-authors/ChestShop-3.git</developerConnection>
|
||||||
<url>https://github.com/ChestShop-authors/ChestShop-3</url>
|
<url>https://github.com/ChestShop-authors/ChestShop-3</url>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>spigotmc-repo</id>
|
<id>spigotmc-repo</id>
|
||||||
<url>https://hub.spigotmc.org/nexus/content/groups/public</url>
|
<url>https://hub.spigotmc.org/nexus/content/groups/public</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>sk89q-repo</id>
|
<id>sk89q-repo</id>
|
||||||
<url>http://maven.sk89q.com/artifactory/repo/</url>
|
<url>http://maven.sk89q.com/artifactory/repo/</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>mcstats-releases</id>
|
<id>mcstats-releases</id>
|
||||||
<url>http://repo.mcstats.org/content/repositories/releases/</url>
|
<url>http://repo.mcstats.org/content/repositories/releases/</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>bstats-repo</id>
|
<id>bstats-repo</id>
|
||||||
<url>http://repo.bstats.org/content/repositories/releases/</url>
|
<url>http://repo.bstats.org/content/repositories/releases/</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>vault-repo</id>
|
<id>vault-repo</id>
|
||||||
<url>http://nexus.hc.to/content/repositories/pub_releases/</url>
|
<url>http://nexus.hc.to/content/repositories/pub_releases/</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>authme-repo</id>
|
<id>authme-repo</id>
|
||||||
<url>http://ci.xephi.fr/plugin/repository/everything/</url>
|
<url>http://ci.xephi.fr/plugin/repository/everything/</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>minebench-repo</id>
|
<id>minebench-repo</id>
|
||||||
<url>https://repo.minebench.de/</url>
|
<url>https://repo.minebench.de/</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>local_repo</id>
|
<id>local_repo</id>
|
||||||
<url>file://${project.basedir}/repo/</url>
|
<url>file://${project.basedir}/repo/</url>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
<version>4.12</version>
|
<version>4.12</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.j256.ormlite</groupId>
|
<groupId>com.j256.ormlite</groupId>
|
||||||
<artifactId>ormlite-jdbc</artifactId>
|
<artifactId>ormlite-jdbc</artifactId>
|
||||||
<version>4.48</version>
|
<version>4.48</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- Should be kept in sync with Mojang -->
|
<!-- Should be kept in sync with Mojang -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.logging.log4j</groupId>
|
<groupId>org.apache.logging.log4j</groupId>
|
||||||
<artifactId>log4j-core</artifactId>
|
<artifactId>log4j-core</artifactId>
|
||||||
<version>2.1</version>
|
<version>2.0-beta9</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.spigotmc</groupId>
|
<groupId>org.spigotmc</groupId>
|
||||||
<artifactId>spigot-api</artifactId>
|
<artifactId>spigot-api</artifactId>
|
||||||
<version>1.12-R0.1-SNAPSHOT</version>
|
<version>1.8.8-R0.1-SNAPSHOT</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.mcstats.bukkit</groupId>
|
<groupId>org.mcstats.bukkit</groupId>
|
||||||
<artifactId>metrics</artifactId>
|
<artifactId>metrics</artifactId>
|
||||||
<version>R8-SNAPSHOT</version>
|
<version>R8-SNAPSHOT</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<groupId>org.bukkit</groupId>
|
<groupId>org.bukkit</groupId>
|
||||||
<artifactId>bukkit</artifactId>
|
<artifactId>bukkit</artifactId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<groupId>org.bukkit</groupId>
|
<groupId>org.bukkit</groupId>
|
||||||
<artifactId>craftbukkit</artifactId>
|
<artifactId>craftbukkit</artifactId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.bstats</groupId>
|
<groupId>org.bstats</groupId>
|
||||||
<artifactId>bstats-bukkit-lite</artifactId>
|
<artifactId>bstats-bukkit-lite</artifactId>
|
||||||
<version>1.1</version>
|
<version>1.1</version>
|
||||||
</dependency>
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>net.milkbowl.vault</groupId>
|
<dependency>
|
||||||
<artifactId>Vault</artifactId>
|
<groupId>net.milkbowl.vault</groupId>
|
||||||
<version>1.6.6</version>
|
<artifactId>Vault</artifactId>
|
||||||
<scope>provided</scope>
|
<version>1.6.6</version>
|
||||||
<exclusions>
|
<scope>provided</scope>
|
||||||
<exclusion>
|
<exclusions>
|
||||||
<groupId>org.bukkit</groupId>
|
<exclusion>
|
||||||
<artifactId>bukkit</artifactId>
|
<groupId>org.bukkit</groupId>
|
||||||
</exclusion>
|
<artifactId>bukkit</artifactId>
|
||||||
<exclusion>
|
</exclusion>
|
||||||
<groupId>org.bukkit</groupId>
|
<exclusion>
|
||||||
<artifactId>craftbukkit</artifactId>
|
<groupId>org.bukkit</groupId>
|
||||||
</exclusion>
|
<artifactId>craftbukkit</artifactId>
|
||||||
</exclusions>
|
</exclusion>
|
||||||
</dependency>
|
</exclusions>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>info.somethingodd</groupId>
|
<dependency>
|
||||||
<artifactId>odditem</artifactId>
|
<groupId>info.somethingodd</groupId>
|
||||||
<version>0.9.5</version>
|
<artifactId>odditem</artifactId>
|
||||||
<scope>compile</scope>
|
<version>0.9.5</version>
|
||||||
<exclusions>
|
<scope>provided</scope>
|
||||||
<exclusion>
|
<exclusions>
|
||||||
<groupId>org.bukkit</groupId>
|
<exclusion>
|
||||||
<artifactId>bukkit</artifactId>
|
<groupId>org.bukkit</groupId>
|
||||||
</exclusion>
|
<artifactId>bukkit</artifactId>
|
||||||
<exclusion>
|
</exclusion>
|
||||||
<groupId>org.bukkit</groupId>
|
<exclusion>
|
||||||
<artifactId>craftbukkit</artifactId>
|
<groupId>org.bukkit</groupId>
|
||||||
</exclusion>
|
<artifactId>craftbukkit</artifactId>
|
||||||
</exclusions>
|
</exclusion>
|
||||||
</dependency>
|
</exclusions>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.herocraftonline.heroes</groupId>
|
<dependency>
|
||||||
<artifactId>Heroes</artifactId>
|
<groupId>com.herocraftonline.heroes</groupId>
|
||||||
<version>1.5.5</version>
|
<artifactId>Heroes</artifactId>
|
||||||
<scope>provided</scope>
|
<version>1.5.5</version>
|
||||||
<exclusions>
|
<scope>provided</scope>
|
||||||
<exclusion>
|
<exclusions>
|
||||||
<groupId>*</groupId>
|
<exclusion>
|
||||||
<artifactId>*</artifactId>
|
<groupId>*</groupId>
|
||||||
</exclusion>
|
<artifactId>*</artifactId>
|
||||||
</exclusions>
|
</exclusion>
|
||||||
</dependency>
|
</exclusions>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>fr.xephi</groupId>
|
<dependency>
|
||||||
<artifactId>authme</artifactId>
|
<groupId>fr.xephi</groupId>
|
||||||
<version>5.2-SNAPSHOT</version>
|
<artifactId>authme</artifactId>
|
||||||
<scope>provided</scope>
|
<version>5.2-SNAPSHOT</version>
|
||||||
<exclusions>
|
<scope>provided</scope>
|
||||||
<exclusion>
|
<exclusions>
|
||||||
<groupId>org.bukkit</groupId>
|
<exclusion>
|
||||||
<artifactId>bukkit</artifactId>
|
<groupId>org.bukkit</groupId>
|
||||||
</exclusion>
|
<artifactId>bukkit</artifactId>
|
||||||
</exclusions>
|
</exclusion>
|
||||||
</dependency>
|
</exclusions>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>com.griefcraft.lwc</groupId>
|
<dependency>
|
||||||
<artifactId>lwc</artifactId>
|
<groupId>com.griefcraft.lwc</groupId>
|
||||||
<version>4.3.1</version>
|
<artifactId>lwc</artifactId>
|
||||||
<scope>provided</scope>
|
<version>4.3.1</version>
|
||||||
<exclusions>
|
<scope>provided</scope>
|
||||||
<exclusion>
|
<exclusions>
|
||||||
<groupId>org.bukkit</groupId>
|
<exclusion>
|
||||||
<artifactId>bukkit</artifactId>
|
<groupId>org.bukkit</groupId>
|
||||||
</exclusion>
|
<artifactId>bukkit</artifactId>
|
||||||
<exclusion>
|
</exclusion>
|
||||||
<groupId>org.bukkit</groupId>
|
<exclusion>
|
||||||
<artifactId>craftbukkit</artifactId>
|
<groupId>org.bukkit</groupId>
|
||||||
</exclusion>
|
<artifactId>craftbukkit</artifactId>
|
||||||
</exclusions>
|
</exclusion>
|
||||||
</dependency>
|
</exclusions>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>com.daemitus.deadbolt</groupId>
|
<dependency>
|
||||||
<artifactId>deadbolt</artifactId>
|
<groupId>com.daemitus.deadbolt</groupId>
|
||||||
<version>2.2</version>
|
<artifactId>deadbolt</artifactId>
|
||||||
<scope>provided</scope>
|
<version>2.2</version>
|
||||||
<exclusions>
|
<scope>provided</scope>
|
||||||
<exclusion>
|
<exclusions>
|
||||||
<groupId>org.bukkit</groupId>
|
<exclusion>
|
||||||
<artifactId>bukkit</artifactId>
|
<groupId>org.bukkit</groupId>
|
||||||
</exclusion>
|
<artifactId>bukkit</artifactId>
|
||||||
<exclusion>
|
</exclusion>
|
||||||
<groupId>org.bukkit</groupId>
|
<exclusion>
|
||||||
<artifactId>craftbukkit</artifactId>
|
<groupId>org.bukkit</groupId>
|
||||||
</exclusion>
|
<artifactId>craftbukkit</artifactId>
|
||||||
</exclusions>
|
</exclusion>
|
||||||
</dependency>
|
</exclusions>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>com.sk89q</groupId>
|
<dependency>
|
||||||
<artifactId>worldguard</artifactId>
|
<groupId>com.sk89q</groupId>
|
||||||
<version>6.1.1-SNAPSHOT</version>
|
<artifactId>worldguard</artifactId>
|
||||||
<scope>provided</scope>
|
<version>6.1.1-SNAPSHOT</version>
|
||||||
<exclusions>
|
<scope>provided</scope>
|
||||||
<exclusion>
|
<exclusions>
|
||||||
<groupId>org.bukkit</groupId>
|
<exclusion>
|
||||||
<artifactId>bukkit</artifactId>
|
<groupId>org.bukkit</groupId>
|
||||||
</exclusion>
|
<artifactId>bukkit</artifactId>
|
||||||
<exclusion>
|
</exclusion>
|
||||||
<groupId>org.bukkit</groupId>
|
<exclusion>
|
||||||
<artifactId>craftbukkit</artifactId>
|
<groupId>org.bukkit</groupId>
|
||||||
</exclusion>
|
<artifactId>craftbukkit</artifactId>
|
||||||
</exclusions>
|
</exclusion>
|
||||||
</dependency>
|
</exclusions>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>com.webkonsept.bukkit.simplechestlock</groupId>
|
<dependency>
|
||||||
<artifactId>simplechestlock</artifactId>
|
<groupId>com.webkonsept.bukkit.simplechestlock</groupId>
|
||||||
<version>1.2.1</version>
|
<artifactId>simplechestlock</artifactId>
|
||||||
<scope>provided</scope>
|
<version>1.2.1</version>
|
||||||
<exclusions>
|
<scope>provided</scope>
|
||||||
<exclusion>
|
<exclusions>
|
||||||
<groupId>org.bukkit</groupId>
|
<exclusion>
|
||||||
<artifactId>bukkit</artifactId>
|
<groupId>org.bukkit</groupId>
|
||||||
</exclusion>
|
<artifactId>bukkit</artifactId>
|
||||||
<exclusion>
|
</exclusion>
|
||||||
<groupId>org.bukkit</groupId>
|
<exclusion>
|
||||||
<artifactId>craftbukkit</artifactId>
|
<groupId>org.bukkit</groupId>
|
||||||
</exclusion>
|
<artifactId>craftbukkit</artifactId>
|
||||||
</exclusions>
|
</exclusion>
|
||||||
</dependency>
|
</exclusions>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>org.yi.acru.bukkit.lockette</groupId>
|
<dependency>
|
||||||
<artifactId>lockette</artifactId>
|
<groupId>org.yi.acru.bukkit.lockette</groupId>
|
||||||
<version>1.8.14</version>
|
<artifactId>lockette</artifactId>
|
||||||
<scope>provided</scope>
|
<version>1.8.14</version>
|
||||||
<exclusions>
|
<scope>provided</scope>
|
||||||
<exclusion>
|
<exclusions>
|
||||||
<groupId>org.bukkit</groupId>
|
<exclusion>
|
||||||
<artifactId>bukkit</artifactId>
|
<groupId>org.bukkit</groupId>
|
||||||
</exclusion>
|
<artifactId>bukkit</artifactId>
|
||||||
<exclusion>
|
</exclusion>
|
||||||
<groupId>org.bukkit</groupId>
|
<exclusion>
|
||||||
<artifactId>craftbukkit</artifactId>
|
<groupId>org.bukkit</groupId>
|
||||||
</exclusion>
|
<artifactId>craftbukkit</artifactId>
|
||||||
</exclusions>
|
</exclusion>
|
||||||
</dependency>
|
</exclusions>
|
||||||
<dependency>
|
</dependency>
|
||||||
<groupId>com.bekvon.bukkit</groupId>
|
<dependency>
|
||||||
<artifactId>residence</artifactId>
|
<groupId>com.bekvon.bukkit</groupId>
|
||||||
<version>4.6.1.4</version>
|
<artifactId>residence</artifactId>
|
||||||
<scope>provided</scope>
|
<version>4.6.1.4</version>
|
||||||
<exclusions>
|
<scope>provided</scope>
|
||||||
<exclusion>
|
<exclusions>
|
||||||
<groupId>org.bukkit</groupId>
|
<exclusion>
|
||||||
<artifactId>bukkit</artifactId>
|
<groupId>org.bukkit</groupId>
|
||||||
</exclusion>
|
<artifactId>bukkit</artifactId>
|
||||||
<exclusion>
|
</exclusion>
|
||||||
<groupId>org.bukkit</groupId>
|
<exclusion>
|
||||||
<artifactId>craftbukkit</artifactId>
|
<groupId>org.bukkit</groupId>
|
||||||
</exclusion>
|
<artifactId>craftbukkit</artifactId>
|
||||||
</exclusions>
|
</exclusion>
|
||||||
</dependency>
|
</exclusions>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>de.themoep.showitem</groupId>
|
<dependency>
|
||||||
<artifactId>api</artifactId>
|
<groupId>de.themoep.showitem</groupId>
|
||||||
<version>1.2.24</version>
|
<artifactId>api</artifactId>
|
||||||
<scope>provided</scope>
|
<version>1.2.24</version>
|
||||||
</dependency>
|
<scope>provided</scope>
|
||||||
</dependencies>
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
<build>
|
|
||||||
<finalName>${project.name}</finalName>
|
<build>
|
||||||
<plugins>
|
<finalName>${project.name}-${project.version}</finalName>
|
||||||
<plugin>
|
<plugins>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<plugin>
|
||||||
<version>3.6.1</version>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<configuration>
|
<version>3.6.1</version>
|
||||||
<source>1.8</source>
|
<configuration>
|
||||||
<target>1.8</target>
|
<source>1.8</source>
|
||||||
</configuration>
|
<target>1.8</target>
|
||||||
</plugin>
|
</configuration>
|
||||||
<plugin>
|
</plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<plugin>
|
||||||
<artifactId>maven-shade-plugin</artifactId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<version>3.1.0</version>
|
<artifactId>maven-shade-plugin</artifactId>
|
||||||
<executions>
|
<version>3.1.0</version>
|
||||||
<execution>
|
<executions>
|
||||||
<phase>package</phase>
|
<execution>
|
||||||
<goals>
|
<phase>package</phase>
|
||||||
<goal>shade</goal>
|
<goals>
|
||||||
</goals>
|
<goal>shade</goal>
|
||||||
<configuration>
|
</goals>
|
||||||
<artifactSet>
|
<configuration>
|
||||||
<includes>
|
<artifactSet>
|
||||||
<include>org.mcstats.bukkit</include>
|
<includes>
|
||||||
<include>org.bstats:*</include>
|
<include>org.mcstats.bukkit</include>
|
||||||
<include>net.gravitydevelopment.updater</include>
|
<include>org.bstats:*</include>
|
||||||
<include>com.j256.ormlite</include>
|
<include>net.gravitydevelopment.updater</include>
|
||||||
<include>org.apache.logging.log4j</include>
|
<include>com.j256.ormlite</include>
|
||||||
</includes>
|
<include>org.apache.logging.log4j</include>
|
||||||
</artifactSet>
|
</includes>
|
||||||
<relocations>
|
</artifactSet>
|
||||||
<relocation>
|
<relocations>
|
||||||
<pattern>org.mcstats</pattern>
|
<relocation>
|
||||||
<shadedPattern>com.Acrobot.ChestShop.Metrics.MCStats</shadedPattern>
|
<pattern>org.mcstats</pattern>
|
||||||
</relocation>
|
<shadedPattern>com.Acrobot.ChestShop.Metrics.MCStats</shadedPattern>
|
||||||
<relocation>
|
</relocation>
|
||||||
<pattern>org.bstats</pattern>
|
<relocation>
|
||||||
<shadedPattern>com.Acrobot.ChestShop.Metrics.BStats</shadedPattern>
|
<pattern>org.bstats</pattern>
|
||||||
</relocation>
|
<shadedPattern>com.Acrobot.ChestShop.Metrics.BStats</shadedPattern>
|
||||||
<relocation>
|
</relocation>
|
||||||
<pattern>net.gravitydevelopment.updater</pattern>
|
<relocation>
|
||||||
<shadedPattern>com.Acrobot.ChestShop.Updater</shadedPattern>
|
<pattern>net.gravitydevelopment.updater</pattern>
|
||||||
</relocation>
|
<shadedPattern>com.Acrobot.ChestShop.Updater</shadedPattern>
|
||||||
<relocation>
|
</relocation>
|
||||||
<pattern>com.j256.ormlite</pattern>
|
<relocation>
|
||||||
<shadedPattern>com.Acrobot.ChestShop.ORMlite</shadedPattern>
|
<pattern>com.j256.ormlite</pattern>
|
||||||
</relocation>
|
<shadedPattern>com.Acrobot.ChestShop.ORMlite</shadedPattern>
|
||||||
</relocations>
|
</relocation>
|
||||||
</configuration>
|
</relocations>
|
||||||
</execution>
|
</configuration>
|
||||||
</executions>
|
</execution>
|
||||||
</plugin>
|
</executions>
|
||||||
</plugins>
|
</plugin>
|
||||||
|
</plugins>
|
||||||
<resources>
|
|
||||||
<resource>
|
<resources>
|
||||||
<directory>src/main/resources</directory>
|
<resource>
|
||||||
<filtering>true</filtering>
|
<directory>src/main/resources</directory>
|
||||||
</resource>
|
<filtering>true</filtering>
|
||||||
</resources>
|
</resource>
|
||||||
</build>
|
</resources>
|
||||||
|
</build>
|
||||||
<properties>
|
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<properties>
|
||||||
<build.number>${buildNumber}</build.number>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<bukkit.plugin.version>${project.version} ${buildDescription}</bukkit.plugin.version>
|
<build.number>${buildNumber}</build.number>
|
||||||
</properties>
|
<bukkit.plugin.version>${project.version} ${buildDescription}</bukkit.plugin.version>
|
||||||
|
</properties>
|
||||||
<profiles>
|
|
||||||
<profile>
|
<profiles>
|
||||||
<id>static_build_number</id>
|
<profile>
|
||||||
<activation>
|
<id>static_build_number</id>
|
||||||
<property>
|
<activation>
|
||||||
<name>!env.BUILD_NUMBER</name>
|
<property>
|
||||||
</property>
|
<name>!env.BUILD_NUMBER</name>
|
||||||
</activation>
|
</property>
|
||||||
<properties>
|
</activation>
|
||||||
<buildNumber>0</buildNumber>
|
<properties>
|
||||||
<buildDescription>(compiled at ${maven.build.timestamp})</buildDescription>
|
<buildNumber>0</buildNumber>
|
||||||
</properties>
|
<buildDescription>(compiled at ${maven.build.timestamp})</buildDescription>
|
||||||
</profile>
|
</properties>
|
||||||
<profile>
|
</profile>
|
||||||
<id>dynamic_build_number</id>
|
<profile>
|
||||||
<activation>
|
<id>dynamic_build_number</id>
|
||||||
<property>
|
<activation>
|
||||||
<name>env.BUILD_NUMBER</name>
|
<property>
|
||||||
</property>
|
<name>env.BUILD_NUMBER</name>
|
||||||
</activation>
|
</property>
|
||||||
<properties>
|
</activation>
|
||||||
<buildNumber>${env.BUILD_NUMBER}</buildNumber>
|
<properties>
|
||||||
<buildDescription>(build ${env.BUILD_NUMBER})</buildDescription>
|
<buildNumber>${env.BUILD_NUMBER}</buildNumber>
|
||||||
</properties>
|
<buildDescription>(build ${env.BUILD_NUMBER})</buildDescription>
|
||||||
</profile>
|
</properties>
|
||||||
</profiles>
|
</profile>
|
||||||
|
</profiles>
|
||||||
</project>
|
|
||||||
|
</project>
|
||||||
|
|
|
@ -14,19 +14,9 @@ import org.bukkit.inventory.ItemStack;
|
||||||
* @author Acrobot
|
* @author Acrobot
|
||||||
*/
|
*/
|
||||||
public class InventoryUtil {
|
public class InventoryUtil {
|
||||||
private static Boolean legacyContents = null;
|
|
||||||
|
|
||||||
private static ItemStack[] getStorageContents(Inventory inventory) {
|
private static ItemStack[] getStorageContents(Inventory inventory) {
|
||||||
if (legacyContents == null) {
|
return inventory.getContents();
|
||||||
try {
|
|
||||||
inventory.getStorageContents();
|
|
||||||
legacyContents = false;
|
|
||||||
} catch (NoSuchMethodError e) {
|
|
||||||
legacyContents = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return legacyContents ? inventory.getContents() : inventory.getStorageContents();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -391,10 +391,10 @@ public class MaterialUtil {
|
||||||
if (color != null) {
|
if (color != null) {
|
||||||
((Colorable) materialData).setColor(color);
|
((Colorable) materialData).setColor(color);
|
||||||
}
|
}
|
||||||
} else if (materialData instanceof Wood) {
|
} else if (materialData instanceof Tree) {
|
||||||
TreeSpecies species = new EnumParser<TreeSpecies>().parse(type, TreeSpecies.values());
|
TreeSpecies species = new EnumParser<TreeSpecies>().parse(type, TreeSpecies.values());
|
||||||
if (species != null) {
|
if (species != null) {
|
||||||
((Wood) materialData).setSpecies(species);
|
((Tree) materialData).setSpecies(species);
|
||||||
}
|
}
|
||||||
} else if (materialData instanceof SpawnEgg) {
|
} else if (materialData instanceof SpawnEgg) {
|
||||||
EntityType entityType = new EnumParser<EntityType>().parse(type, EntityType.values());
|
EntityType entityType = new EnumParser<EntityType>().parse(type, EntityType.values());
|
||||||
|
@ -435,9 +435,8 @@ public class MaterialUtil {
|
||||||
DyeColor color = ((Colorable) data).getColor();
|
DyeColor color = ((Colorable) data).getColor();
|
||||||
|
|
||||||
return (color != null ? color.name() : null);
|
return (color != null ? color.name() : null);
|
||||||
} else if (data instanceof Wood) {
|
} else if (data instanceof Tree) {
|
||||||
//TreeSpecies specie = TreeSpecies.getByData((byte) (data.getData() & 3)); //This works, but not as intended
|
TreeSpecies specie = ((Tree) data).getSpecies();
|
||||||
TreeSpecies specie = ((Wood) data).getSpecies();
|
|
||||||
return (specie != null && specie != TreeSpecies.GENERIC ? specie.name() : null);
|
return (specie != null && specie != TreeSpecies.GENERIC ? specie.name() : null);
|
||||||
} else if (data instanceof SpawnEgg) {
|
} else if (data instanceof SpawnEgg) {
|
||||||
EntityType type = ((SpawnEgg) data).getSpawnedType();
|
EntityType type = ((SpawnEgg) data).getSpawnedType();
|
||||||
|
|
|
@ -67,16 +67,6 @@ public class AdminInventory implements Inventory {
|
||||||
public void setContents(ItemStack[] itemStacks) {
|
public void setContents(ItemStack[] itemStacks) {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public ItemStack[] getStorageContents() {
|
|
||||||
return new ItemStack[0];
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void setStorageContents(ItemStack[] itemStacks) throws IllegalArgumentException {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean contains(int i) {
|
public boolean contains(int i) {
|
||||||
return true;
|
return true;
|
||||||
|
@ -216,9 +206,4 @@ public class AdminInventory implements Inventory {
|
||||||
public ListIterator<ItemStack> iterator(int i) {
|
public ListIterator<ItemStack> iterator(int i) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Location getLocation() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,7 +80,7 @@ public class PlayerInteract implements Listener {
|
||||||
|
|
||||||
if (Properties.ALLOW_AUTO_ITEM_FILL && ChatColor.stripColor(sign.getLine(ITEM_LINE)).equals(AUTOFILL_CODE)) {
|
if (Properties.ALLOW_AUTO_ITEM_FILL && ChatColor.stripColor(sign.getLine(ITEM_LINE)).equals(AUTOFILL_CODE)) {
|
||||||
if (canAccess) {
|
if (canAccess) {
|
||||||
ItemStack item = player.getInventory().getItemInMainHand();
|
ItemStack item = player.getInventory().getItemInHand();
|
||||||
if (item != null) {
|
if (item != null) {
|
||||||
String itemCode = MaterialUtil.getSignName(item);
|
String itemCode = MaterialUtil.getSignName(item);
|
||||||
String[] lines = sign.getLines();
|
String[] lines = sign.getLines();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user