Skip to content

Commit d2602d8

Browse files
committed
Various improvements and changes
1 parent bd370a1 commit d2602d8

2 files changed

Lines changed: 199 additions & 109 deletions

File tree

pom.xml

Lines changed: 42 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,26 @@
2525
<scope>provided</scope>
2626
</dependency>
2727
<dependency>
28-
<groupId>me.clip</groupId>
29-
<artifactId>PlaceholderAPI</artifactId>
30-
<version>LATEST</version>
31-
<scope>provided</scope>
32-
<exclusions>
33-
<exclusion>
34-
<groupId>me.rayzr522</groupId>
35-
<artifactId>jsonmessage</artifactId>
36-
</exclusion>
37-
<exclusion>
38-
<groupId>org.bstats</groupId>
39-
<artifactId>bstats-bukkit</artifactId>
40-
</exclusion>
41-
</exclusions>
28+
<groupId>me.clip</groupId>
29+
<artifactId>placeholderapi</artifactId>
30+
<version>2.10.9</version>
31+
<scope>provided</scope>
32+
<exclusions>
33+
<exclusion>
34+
<groupId>me.rayzr522</groupId>
35+
<artifactId>jsonmessage</artifactId>
36+
</exclusion>
37+
<exclusion>
38+
<groupId>org.bstats</groupId>
39+
<artifactId>bstats-bukkit</artifactId>
40+
</exclusion>
41+
</exclusions>
42+
</dependency>
43+
<dependency>
44+
<groupId>com.github.ben-manes.caffeine</groupId>
45+
<artifactId>caffeine</artifactId>
46+
<version>1.3.3</version>
47+
<scope>compile</scope>
4248
</dependency>
4349
</dependencies>
4450

@@ -69,6 +75,28 @@
6975
<useIncrementalCompilation>false</useIncrementalCompilation>
7076
</configuration>
7177
</plugin>
78+
<plugin>
79+
<groupId>org.apache.maven.plugins</groupId>
80+
<artifactId>maven-shade-plugin</artifactId>
81+
<version>3.2.4</version>
82+
<configuration>
83+
<minimizeJar>true</minimizeJar>
84+
<relocations>
85+
<relocation>
86+
<pattern>com.github.benmanes.caffeine</pattern>
87+
<shadedPattern>com.extendedclip.papi.expansion.server.caffeine</shadedPattern>
88+
</relocation>
89+
</relocations>
90+
</configuration>
91+
<executions>
92+
<execution>
93+
<phase>package</phase>
94+
<goals>
95+
<goal>shade</goal>
96+
</goals>
97+
</execution>
98+
</executions>
99+
</plugin>
72100
</plugins>
73101
</build>
74102
</project>

0 commit comments

Comments
 (0)