Skip to content

Commit

Permalink
Update pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
md5sha256 committed Oct 9, 2020
1 parent b9eb00b commit 8d2105a
Showing 1 changed file with 39 additions and 21 deletions.
60 changes: 39 additions & 21 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,19 @@
<modelVersion>4.0.0</modelVersion>
<groupId>InventoryRollback</groupId>
<artifactId>InventoryRollback</artifactId>
<version>1.4.0</version>
<version>1.5.0</version>
<name>InventoryRollback</name>

<description>Allows server moderators to restore player items and data from backups.
</description>

<organization>
<name>danjono</name>
</organization>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
</properties>

<repositories>
Expand All @@ -24,22 +28,35 @@
<id>CodeMC</id>
<url>https://repo.codemc.org/repository/maven-public</url>
</repository>
<repository>
<id>papermc</id>
<url>https://papermc.io/repo/repository/maven-public/</url>
</repository>
</repositories>

<dependencies>
<!-- Spigot API -->
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.9-R0.1-SNAPSHOT</version>
<version>1.9.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>

<!-- bStats API -->
<dependency>
<groupId>org.bstats</groupId>
<artifactId>bstats-bukkit</artifactId>
<version>1.4</version>
<version>1.6</version>
<scope>compile</scope>
</dependency>

<!-- PaperLib -->
<dependency>
<groupId>io.papermc</groupId>
<artifactId>paperlib</artifactId>
<version>1.0.5</version>
<scope>compile</scope>
</dependency>
</dependencies>

Expand All @@ -58,42 +75,43 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>${java.version}</source>
<target>${java.version}</target>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4</version>
<configuration>
<artifactSet>
<includes>
<include>org.bstats:*</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>org.bstats</pattern>
<shadedPattern>me.danjono.inventoryrollback</shadedPattern>
</relocation>
</relocations>
</configuration>
<version>3.2.4</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<relocations>
<!-- Bstats -->
<relocation>
<pattern>org.bstats</pattern>
<shadedPattern>me.danjono.inventoryrollback</shadedPattern>
</relocation>
<!-- PaperLib -->
<relocation>
<pattern>io.papermc.lib</pattern>
<shadedPattern>me.danjono.inventoryrollback.paper
</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>

</plugins>
</build>
<description>Allows server moderators to restore player items and data from backups.</description>
</project>

0 comments on commit 8d2105a

Please sign in to comment.