-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
108 lines (108 loc) · 3.41 KB
/
pom.xml
File metadata and controls
108 lines (108 loc) · 3.41 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion>
<groupId>xyz.webmc</groupId>
<artifactId>wlib</artifactId>
<version>1.1.0-SNAPSHOT</version>
<distributionManagement>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/WebMCDevelopment/wlib/</url>
</repository>
</distributionManagement>
<properties>
<plugin.name>WLIB</plugin.name>
<plugin.vers>${project.version}</plugin.vers>
<plugin.pckg>${project.groupId}.${project.artifactId}</plugin.pckg>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.release>17</maven.compiler.release>
</properties>
<dependencies>
<dependency>
<groupId>com.tcoded</groupId>
<artifactId>FoliaLib</artifactId>
<version>0.5.1</version>
</dependency>
<dependency>
<groupId>dev.colbster937</groupId>
<artifactId>mirror</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.8-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>spigotmc</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/public/</url>
</repository>
<repository>
<id>java-mirror</id>
<url>https://maven.colbster937.dev/colbster937/java-mirror/</url>
</repository>
<repository>
<id>tcoded</id>
<url>https://repo.tcoded.com/releases/</url>
</repository>
</repositories>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>
<resources>
<resource>
<filtering>true</filtering>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.2</version>
<executions>
<execution>
<goals>
<goal>shade</goal>
</goals>
<phase>package</phase>
<configuration>
<shadedArtifactAttached>false</shadedArtifactAttached>
<createDependencyReducedPom>true</createDependencyReducedPom>
<relocations>
<relocation>
<pattern>dev.colbster937.reflect</pattern>
<shadedPattern>${plugin.pckg}.lib.mirror</shadedPattern>
</relocation>
<relocation>
<pattern>com.tcoded.folialib</pattern>
<shadedPattern>${plugin.pckg}.lib.folialib</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.revelc.code</groupId>
<artifactId>impsort-maven-plugin</artifactId>
<version>1.13.0</version>
<executions>
<execution>
<id>sort-imports</id>
<goals>
<goal>sort</goal>
</goals>
</execution>
</executions>
<configuration>
<removeUnused>true</removeUnused>
<staticAfter>true</staticAfter>
<groups>xyz.webmc.,java.,javax.</groups>
</configuration>
</plugin>
</plugins>
</build>
</project>