1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5
+ <modelVersion >4.0.0</modelVersion >
6
+
7
+ <groupId >me.ronanplugins</groupId >
8
+ <artifactId >BetterTPA</artifactId >
9
+ <version >1.0.0</version >
10
+
11
+ <properties >
12
+ <maven .compiler.source>8</maven .compiler.source>
13
+ <maven .compiler.target>8</maven .compiler.target>
14
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
15
+ </properties >
16
+ <profiles >
17
+ <profile >
18
+ <id >dev</id >
19
+ <build >
20
+ <plugins >
21
+ <plugin >
22
+ <!-- Local Server Building -->
23
+ <groupId >org.apache.maven.plugins</groupId >
24
+ <artifactId >maven-jar-plugin</artifactId >
25
+ <version >3.2.2</version >
26
+ <configuration >
27
+ <outputDirectory >../../Java/plugins</outputDirectory >
28
+ </configuration >
29
+ </plugin >
30
+ </plugins >
31
+ </build >
32
+ </profile >
33
+ </profiles >
34
+
35
+ <build >
36
+ <resources >
37
+ <resource >
38
+ <directory >src/main/resources</directory >
39
+ <filtering >true</filtering >
40
+ </resource >
41
+ </resources >
42
+ <finalName >${project.artifactId} -${project.version} </finalName >
43
+ <plugins >
44
+ <plugin >
45
+ <groupId >org.apache.maven.plugins</groupId >
46
+ <artifactId >maven-install-plugin</artifactId >
47
+ <version >3.1.0</version >
48
+ <executions >
49
+ <execution >
50
+ <id >hack-binary</id >
51
+ <phase >clean</phase >
52
+ <configuration >
53
+ <file >${basedir} /LocalJars/Residence4.9.1.9.jar</file >
54
+ <groupId >com.bekvon.bukkit</groupId >
55
+ <artifactId >residence</artifactId >
56
+ <version >4.9.1.9</version >
57
+ <packaging >jar</packaging >
58
+ <generatePom >true</generatePom >
59
+ </configuration >
60
+ <goals >
61
+ <goal >install-file</goal >
62
+ </goals >
63
+ </execution >
64
+ <execution >
65
+ <id >hack-binary-2</id >
66
+ <phase >clean</phase >
67
+ <configuration >
68
+ <file >${basedir} /LocalJars/hClaims.jar</file >
69
+ <groupId >com.hakan</groupId >
70
+ <artifactId >claimapi</artifactId >
71
+ <version >2.1.8</version >
72
+ <packaging >jar</packaging >
73
+ <generatePom >true</generatePom >
74
+ </configuration >
75
+ <goals >
76
+ <goal >install-file</goal >
77
+ </goals >
78
+ </execution >
79
+ </executions >
80
+ </plugin >
81
+ <plugin >
82
+ <!-- Shade PaperLib into project -->
83
+ <groupId >org.apache.maven.plugins</groupId >
84
+ <artifactId >maven-shade-plugin</artifactId >
85
+ <version >3.4.1</version >
86
+ <configuration >
87
+ <dependencyReducedPomLocation >${project.build.directory} /dependency-reduced-pom.xml</dependencyReducedPomLocation >
88
+ <relocations >
89
+ <relocation >
90
+ <pattern >io.papermc.lib</pattern >
91
+ <shadedPattern >me.SuperRonanCraft.BetterRTP.paperlib</shadedPattern >
92
+ </relocation >
93
+ <!-- relocation>
94
+ <pattern>xyz.xenondevs.particle</pattern>
95
+ <shadedPattern>me.SuperRonanCraft.BetterRTP.particleLib</shadedPattern>
96
+ </relocation-->
97
+ </relocations >
98
+ </configuration >
99
+ <executions >
100
+ <execution >
101
+ <phase >package</phase >
102
+ <goals >
103
+ <goal >shade</goal >
104
+ </goals >
105
+ </execution >
106
+ </executions >
107
+ </plugin >
108
+ <plugin >
109
+ <groupId >org.apache.maven.plugins</groupId >
110
+ <artifactId >maven-compiler-plugin</artifactId >
111
+ <version >3.10.1</version >
112
+ <configuration >
113
+ <source >1.8</source >
114
+ <target >1.8</target >
115
+ </configuration >
116
+ </plugin >
117
+ </plugins >
118
+ </build >
119
+
120
+ <repositories >
121
+ <!-- GitHub based Repos -->
122
+ <repository >
123
+ <id >jitpack.io</id >
124
+ <url >https://jitpack.io</url >
125
+ </repository >
126
+ <!-- Spigot Repo -->
127
+ <repository >
128
+ <id >spigot-repo</id >
129
+ <url >https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url >
130
+ </repository >
131
+ <!-- Vault Repo -->
132
+ <repository >
133
+ <id >vault-repo</id >
134
+ <url >http://nexus.hc.to/content/repositories/pub_releases</url >
135
+ </repository >
136
+ <!-- PlaceholderAPI Repo -->
137
+ <repository >
138
+ <id >placeholderapi</id >
139
+ <url >http://repo.extendedclip.com/content/repositories/placeholderapi/</url >
140
+ </repository >
141
+ </repositories >
142
+ <dependencies >
143
+ <!-- Spigot API-->
144
+ <dependency >
145
+ <groupId >org.spigotmc</groupId >
146
+ <artifactId >spigot-api</artifactId >
147
+ <version >1.8.8-R0.1-SNAPSHOT</version >
148
+ <scope >provided</scope >
149
+ </dependency >
150
+ <!-- Spigot Stuff -->
151
+ <dependency >
152
+ <groupId >org.spigotmc</groupId >
153
+ <artifactId >spigot</artifactId >
154
+ <version >1.8.8-R0.1-SNAPSHOT</version >
155
+ <scope >provided</scope >
156
+ </dependency >
157
+ <!-- Vault -->
158
+ <dependency >
159
+ <groupId >net.milkbowl.vault</groupId >
160
+ <artifactId >VaultAPI</artifactId >
161
+ <version >1.7</version >
162
+ <scope >provided</scope >
163
+ </dependency >
164
+ <!-- Particles Library (https://github.com/ByteZ1337/ParticleLib/blob/master/src/main/java/xyz/xenondevs/particle/ParticleEffect.java) -->
165
+ <dependency >
166
+ <groupId >xyz.xenondevs</groupId >
167
+ <artifactId >particle</artifactId >
168
+ <version >1.8.3</version >
169
+ <scope >compile</scope >
170
+ </dependency >
171
+ <!-- Lombok Support (@Getter & @Setter)-->
172
+ <dependency >
173
+ <groupId >org.projectlombok</groupId >
174
+ <artifactId >lombok</artifactId >
175
+ <version >1.18.26</version >
176
+ <scope >provided</scope >
177
+ </dependency >
178
+ <!-- PlaceholderAPI Support (Added in 3.4.5)-->
179
+ <dependency >
180
+ <groupId >me.clip</groupId >
181
+ <artifactId >placeholderapi</artifactId >
182
+ <version >2.11.2</version >
183
+ <scope >provided</scope >
184
+ </dependency >
185
+ </dependencies >
186
+ </project >
0 commit comments