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 >cc.carm.plugom</groupId >
8
+ <artifactId >portalcommands</artifactId >
9
+ <version >1.0.0</version >
10
+
11
+ <name >PortalCommands</name >
12
+ <description >当玩家进入传送门时执行对应指令。</description >
13
+ <url >https://github.com/CarmJos/PortalCommands</url >
14
+
15
+ <issueManagement >
16
+ <system >GitHub Issues</system >
17
+ <url >${project.url} /issues</url >
18
+ </issueManagement >
19
+
20
+ <ciManagement >
21
+ <system >GitHub Actions</system >
22
+ <url >${project.url} /actions/workflows/maven.yml</url >
23
+ </ciManagement >
24
+ <developers >
25
+ <developer >
26
+ <id >CarmJos</id >
27
+ <name >Carm Jos</name >
28
+
29
+ <url >https://work.carm.cc</url >
30
+ <roles >
31
+ <role >Main Developer</role >
32
+ </roles >
33
+ </developer >
34
+ </developers >
35
+
36
+ <properties >
37
+ <maven .compiler.source>8</maven .compiler.source>
38
+ <maven .compiler.target>8</maven .compiler.target>
39
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
40
+ <maven .compiler.encoding>UTF-8</maven .compiler.encoding>
41
+ </properties >
42
+
43
+ <repositories >
44
+
45
+ <repository >
46
+ <id >carm-repo</id >
47
+ <name >Carm's Repo</name >
48
+ <url >https://repo.carm.cc/repository/maven-public/</url >
49
+ </repository >
50
+
51
+ <repository >
52
+ <id >spigot-repo</id >
53
+ <url >https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url >
54
+ </repository >
55
+
56
+ <repository >
57
+ <id >placeholder-api-repo</id >
58
+ <url >https://repo.extendedclip.com/content/repositories/placeholderapi/</url >
59
+ </repository >
60
+
61
+ <repository >
62
+ <id >oss-repo</id >
63
+ <url >https://oss.sonatype.org/content/groups/public/</url >
64
+ </repository >
65
+
66
+ <repository >
67
+ <id >nexus</id >
68
+ <url >https://mvn.lumine.io/repository/maven-public/</url >
69
+ </repository >
70
+
71
+ <repository >
72
+ <id >maven-central</id >
73
+ <url >https://repo1.maven.org/maven2/</url >
74
+ </repository >
75
+
76
+ <repository >
77
+ <id >github</id >
78
+ <name >GitHub Packages</name >
79
+ <url >https://maven.pkg.github.com/CarmJos/${project.name} </url >
80
+ </repository >
81
+ </repositories >
82
+
83
+ <distributionManagement >
84
+ <downloadUrl >${project.url} /releases</downloadUrl >
85
+ </distributionManagement >
86
+
87
+ <dependencies >
88
+
89
+ <dependency >
90
+ <groupId >org.spigotmc</groupId >
91
+ <artifactId >spigot-api</artifactId >
92
+ <version >1.17-R0.1-SNAPSHOT</version >
93
+ <scope >provided</scope >
94
+ </dependency >
95
+
96
+ <dependency >
97
+ <groupId >me.clip</groupId >
98
+ <artifactId >placeholderapi</artifactId >
99
+ <version >2.10.9</version >
100
+ <scope >provided</scope >
101
+ </dependency >
102
+
103
+ <dependency >
104
+ <groupId >junit</groupId >
105
+ <artifactId >junit</artifactId >
106
+ <version >4.13.2</version >
107
+ <scope >test</scope >
108
+ </dependency >
109
+
110
+ <dependency >
111
+ <groupId >org.jetbrains</groupId >
112
+ <artifactId >annotations</artifactId >
113
+ <version >22.0.0</version >
114
+ <scope >provided</scope >
115
+ </dependency >
116
+
117
+ </dependencies >
118
+
119
+
120
+ <build >
121
+ <plugins >
122
+ <plugin >
123
+ <groupId >org.apache.maven.plugins</groupId >
124
+ <artifactId >maven-compiler-plugin</artifactId >
125
+ <version >3.8.1</version >
126
+ <configuration >
127
+ <source >1.8</source >
128
+ <target >1.8</target >
129
+ <encoding >UTF-8</encoding >
130
+ <compilerArgument >-parameters</compilerArgument >
131
+ </configuration >
132
+ </plugin >
133
+ <plugin >
134
+ <groupId >org.apache.maven.plugins</groupId >
135
+ <artifactId >maven-jar-plugin</artifactId >
136
+ <version >3.2.0</version >
137
+ </plugin >
138
+ <plugin >
139
+ <groupId >org.apache.maven.plugins</groupId >
140
+ <artifactId >maven-source-plugin</artifactId >
141
+ <version >3.2.0</version >
142
+ <executions >
143
+ <execution >
144
+ <phase >package</phase >
145
+ <goals >
146
+ <goal >jar-no-fork</goal >
147
+ </goals >
148
+ </execution >
149
+ </executions >
150
+ </plugin >
151
+ <plugin >
152
+ <groupId >org.apache.maven.plugins</groupId >
153
+ <artifactId >maven-shade-plugin</artifactId >
154
+ <version >3.2.3</version >
155
+ <executions >
156
+ <execution >
157
+ <phase >package</phase >
158
+ <goals >
159
+ <goal >shade</goal >
160
+ </goals >
161
+ <configuration >
162
+ <createDependencyReducedPom >false</createDependencyReducedPom >
163
+ </configuration >
164
+ </execution >
165
+ </executions >
166
+ <configuration >
167
+ <filters >
168
+ <filter >
169
+ <artifact >*:*</artifact >
170
+ <excludes >
171
+ <exclude >META-INF/MANIFEST.MF</exclude >
172
+ <exclude >META-INF/*.txt</exclude >
173
+ </excludes >
174
+ </filter >
175
+ </filters >
176
+ </configuration >
177
+ </plugin >
178
+ <plugin >
179
+ <groupId >org.apache.maven.plugins</groupId >
180
+ <artifactId >maven-surefire-plugin</artifactId >
181
+ <version >2.22.1</version >
182
+ <configuration >
183
+ <useSystemClassLoader >false</useSystemClassLoader >
184
+ </configuration >
185
+ </plugin >
186
+ </plugins >
187
+ <resources >
188
+ <resource >
189
+ <directory >src/main/resources</directory >
190
+ <filtering >true</filtering >
191
+ </resource >
192
+ </resources >
193
+ </build >
194
+
195
+ </project >
0 commit comments