|
140 | 140 | <encoding>${project.build.sourceEncoding}</encoding>
|
141 | 141 | </configuration>
|
142 | 142 | </plugin>
|
143 |
| - <!-- Shade all Libs --> |
144 |
| - <plugin> |
145 |
| - <groupId>org.apache.maven.plugins</groupId> |
146 |
| - <artifactId>maven-shade-plugin</artifactId> |
147 |
| - <version>3.3.2-SNAPSHOT</version> |
148 |
| - <executions> |
149 |
| - <execution> |
150 |
| - <phase>package</phase> |
151 |
| - <goals> |
152 |
| - <goal>shade</goal> |
153 |
| - </goals> |
154 |
| - <configuration> |
155 |
| - <minimizeJar>true</minimizeJar> |
156 |
| - <createDependencyReducedPom>false</createDependencyReducedPom> |
157 |
| - <artifactSet> |
158 |
| - <includes> |
159 |
| - <include>io.papermc:paperlib</include> |
160 |
| - </includes> |
161 |
| - </artifactSet> |
162 |
| - <relocations> |
163 |
| - <relocation> |
164 |
| - <pattern>io.papermc:lib</pattern> |
165 |
| - <shadedPattern>lib:paperlib</shadedPattern> |
166 |
| - </relocation> |
167 |
| - </relocations> |
168 |
| - <filters> |
169 |
| - <filter> |
170 |
| - <artifact>*:*</artifact> |
171 |
| - <excludes> |
172 |
| - <exclude>META-INF/MANIFEST.MF</exclude> |
173 |
| - </excludes> |
174 |
| - </filter> |
175 |
| - </filters> |
176 |
| - </configuration> |
177 |
| - </execution> |
178 |
| - </executions> |
179 |
| - </plugin> |
180 | 143 | <!-- Manifest generation for database conversion tool -->
|
181 | 144 | <plugin>
|
182 | 145 | <groupId>org.apache.maven.plugins</groupId>
|
|
192 | 155 | </archive>
|
193 | 156 | </configuration>
|
194 | 157 | </plugin>
|
| 158 | + <!-- Shade PaperLib --> |
| 159 | + <plugin> |
| 160 | + <groupId>org.apache.maven.plugins</groupId> |
| 161 | + <artifactId>maven-shade-plugin</artifactId> |
| 162 | + <version>3.4.2-SNAPSHOT</version> |
| 163 | + <configuration> |
| 164 | + <transformers> |
| 165 | + <transformer |
| 166 | + implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 167 | + <mainClass>me.eccentric_nz.TARDIS.database.tool.Main</mainClass> |
| 168 | + </transformer> |
| 169 | + </transformers> |
| 170 | + <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml |
| 171 | + </dependencyReducedPomLocation> |
| 172 | + <relocations> |
| 173 | + <relocation> |
| 174 | + <pattern>io.papermc.lib</pattern> |
| 175 | + <shadedPattern>me.eccentric_nz.paperlib</shadedPattern> |
| 176 | + </relocation> |
| 177 | + </relocations> |
| 178 | + </configuration> |
| 179 | + <executions> |
| 180 | + <execution> |
| 181 | + <phase>package</phase> |
| 182 | + <goals> |
| 183 | + <goal>shade</goal> |
| 184 | + </goals> |
| 185 | + </execution> |
| 186 | + </executions> |
| 187 | + </plugin> |
195 | 188 | </plugins>
|
196 | 189 | </build>
|
197 | 190 | <dependencies>
|
|
200 | 193 | <artifactId>spigot-api</artifactId>
|
201 | 194 | <version>1.19.3-R0.1-SNAPSHOT</version>
|
202 | 195 | <type>jar</type>
|
203 |
| - <scope>compile</scope> |
| 196 | + <scope>provided</scope> |
204 | 197 | </dependency>
|
205 | 198 | <dependency>
|
206 | 199 | <groupId>io.papermc</groupId>
|
|
219 | 212 | <artifactId>TARDISChunkGenerator</artifactId>
|
220 | 213 | <version>4.14.0</version>
|
221 | 214 | <type>jar</type>
|
222 |
| - <scope>compile</scope> |
| 215 | + <scope>provided</scope> |
223 | 216 | <exclusions>
|
224 | 217 | <exclusion>
|
225 | 218 | <groupId>*</groupId>
|
|
232 | 225 | <artifactId>TARDISWeepingAngels</artifactId>
|
233 | 226 | <version>4.1.1</version>
|
234 | 227 | <type>jar</type>
|
235 |
| - <scope>compile</scope> |
| 228 | + <scope>provided</scope> |
236 | 229 | <exclusions>
|
237 | 230 | <exclusion>
|
238 | 231 | <groupId>*</groupId>
|
|
245 | 238 | <artifactId>worldguard-bukkit</artifactId>
|
246 | 239 | <version>7.0.8-SNAPSHOT</version>
|
247 | 240 | <type>jar</type>
|
248 |
| - <scope>compile</scope> |
| 241 | + <scope>provided</scope> |
249 | 242 | <exclusions>
|
250 | 243 | <exclusion>
|
251 | 244 | <groupId>com.sk89q.worldguard.worldguard-libs</groupId>
|
|
270 | 263 | <artifactId>worldedit-bukkit</artifactId>
|
271 | 264 | <version>7.2.14-SNAPSHOT</version>
|
272 | 265 | <type>jar</type>
|
273 |
| - <scope>compile</scope> |
| 266 | + <scope>provided</scope> |
274 | 267 | <exclusions>
|
275 | 268 | <exclusion>
|
276 | 269 | <groupId>com.sk89q.worldedit.worldedit-libs</groupId>
|
|
327 | 320 | <artifactId>Multiverse-Core</artifactId>
|
328 | 321 | <version>4.3.2-SNAPSHOT</version>
|
329 | 322 | <type>jar</type>
|
330 |
| - <scope>compile</scope> |
| 323 | + <scope>provided</scope> |
331 | 324 | <exclusions>
|
332 | 325 | <exclusion>
|
333 | 326 | <groupId>*</groupId>
|
|
340 | 333 | <artifactId>Multiverse-Inventories</artifactId>
|
341 | 334 | <version>4.2.4-SNAPSHOT</version>
|
342 | 335 | <type>jar</type>
|
343 |
| - <scope>compile</scope> |
| 336 | + <scope>provided</scope> |
344 | 337 | <exclusions>
|
345 | 338 | <exclusion>
|
346 | 339 | <groupId>*</groupId>
|
|
369 | 362 | <artifactId>blocklocker</artifactId>
|
370 | 363 | <version>1.10.4</version>
|
371 | 364 | <type>jar</type>
|
372 |
| - <scope>compile</scope> |
| 365 | + <scope>provided</scope> |
373 | 366 | <exclusions>
|
374 | 367 | <exclusion>
|
375 | 368 | <groupId>*</groupId>
|
|
382 | 375 | <artifactId>LWCX</artifactId>
|
383 | 376 | <version>2.2.8</version>
|
384 | 377 | <type>jar</type>
|
385 |
| - <scope>compile</scope> |
| 378 | + <scope>provided</scope> |
386 | 379 | <exclusions>
|
387 | 380 | <exclusion>
|
388 | 381 | <groupId>*</groupId>
|
|
396 | 389 | <artifactId>ProtocolLib</artifactId>
|
397 | 390 | <version>5.0.0-SNAPSHOT</version>
|
398 | 391 | <type>jar</type>
|
399 |
| - <scope>compile</scope> |
| 392 | + <scope>provided</scope> |
400 | 393 | <exclusions>
|
401 | 394 | <exclusion>
|
402 | 395 | <groupId>*</groupId>
|
|
409 | 402 | <artifactId>LibsDisguises</artifactId>
|
410 | 403 | <version>10.0.32-SNAPSHOT</version>
|
411 | 404 | <type>jar</type>
|
412 |
| - <scope>compile</scope> |
| 405 | + <scope>provided</scope> |
413 | 406 | <exclusions>
|
414 | 407 | <exclusion>
|
415 | 408 | <groupId>*</groupId>
|
|
422 | 415 | <artifactId>EssentialsX</artifactId>
|
423 | 416 | <version>2.20.0-SNAPSHOT</version>
|
424 | 417 | <type>jar</type>
|
425 |
| - <scope>compile</scope> |
| 418 | + <scope>provided</scope> |
426 | 419 | <exclusions>
|
427 | 420 | <exclusion>
|
428 | 421 | <groupId>*</groupId>
|
|
435 | 428 | <artifactId>placeholderapi</artifactId>
|
436 | 429 | <version>2.11.2</version>
|
437 | 430 | <type>jar</type>
|
438 |
| - <scope>compile</scope> |
| 431 | + <scope>provided</scope> |
439 | 432 | <exclusions>
|
440 | 433 | <exclusion>
|
441 | 434 | <groupId>*</groupId>
|
|
456 | 449 | <artifactId>coreprotect</artifactId>
|
457 | 450 | <version>21.3</version>
|
458 | 451 | <type>jar</type>
|
459 |
| - <scope>compile</scope> |
| 452 | + <scope>provided</scope> |
460 | 453 | <exclusions>
|
461 | 454 | <exclusion>
|
462 | 455 | <groupId>*</groupId>
|
|
468 | 461 | <groupId>us.dynmap</groupId>
|
469 | 462 | <artifactId>dynmap-api</artifactId>
|
470 | 463 | <version>3.4</version>
|
471 |
| - <scope>compile</scope> |
| 464 | + <scope>provided</scope> |
472 | 465 | <exclusions>
|
473 | 466 | <exclusion>
|
474 | 467 | <groupId>*</groupId>
|
|
480 | 473 | <groupId>org.geysermc.floodgate</groupId>
|
481 | 474 | <artifactId>api</artifactId>
|
482 | 475 | <version>2.2.0-SNAPSHOT</version>
|
483 |
| - <scope>compile</scope> |
| 476 | + <scope>provided</scope> |
484 | 477 | <exclusions>
|
485 | 478 | <exclusion>
|
486 | 479 | <groupId>*</groupId>
|
|
492 | 485 | <groupId>org.swinglabs</groupId>
|
493 | 486 | <artifactId>swing-layout</artifactId>
|
494 | 487 | <version>1.0.3</version>
|
| 488 | + <scope>provided</scope> |
495 | 489 | </dependency>
|
496 | 490 | </dependencies>
|
497 | 491 | </project>
|
0 commit comments