-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpom.xml
More file actions
92 lines (85 loc) · 3.43 KB
/
pom.xml
File metadata and controls
92 lines (85 loc) · 3.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?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>lq.snow</groupId>
<artifactId>BlockRacing</artifactId>
<version>3.5</version>
<properties>
<maven.compiler.release>21</maven.compiler.release>
</properties>
<repositories>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</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.11-R0.2-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.kangarko</groupId>
<artifactId>Foundation</artifactId>
<version>6.9.23</version>
</dependency>
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>24.1.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<!-- Change version to the latest one from
https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-shade-plugin -->
<version>3.6.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<artifactSet>
<includes>
<!-- Important: This will ensure only Foundation is shaded to your jar.
If you have
other dependencies that should be compiled, duplicate this line for each.
ONLY ADD THE LIBRARIES HERE YOU WANT TO BE INCLUDED IN YOUR PLUGIN.JAR
-->
<include>com.github.kangarko:Foundation*</include>
</includes>
</artifactSet>
<relocations>
<!-- This moves Foundation into your own package in "lib" subpackage to
prevent interference. -->
<relocation>
<pattern>org.mineacademy.fo</pattern>
<!--shadedPattern>your.plugin.main.package.lib</shadedPattern-->
</relocation>
</relocations>
</configuration>
</plugin>
</plugins>
</build>
</project>