-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
106 lines (92 loc) · 3.67 KB
/
pom.xml
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
<?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>de.kiridevs</groupId>
<artifactId>ksmpplugin</artifactId>
<version>3.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>kiriSMP Plugin</name>
<description>
<!--
WARNING: This value is automatically pulled into plugin.yml via
resource-filtering. During that process, NEWLINES ARE PRESERVED!
For now, it works fine, because the pom.xml indentation spaces
also cause YAML to detect new lines as continuation. However, this
is VERY FRAGILE, as any bad punctuation (mainly :colons:) could
break the YAML syntax and therefore plugin.yml. Therefore:
- If you change this description, test if the plugin still loads
- If you have a better way to accomplish this, please implement it
-->
This plugin is the difference between a regular Minecraft Server and a
kiriSMP!
</description>
<url>https://github.com/kiriDevs/ksmpplugin</url>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<minecraft.pluginName>kiriSMP</minecraft.pluginName>
<minecraft.consolePrefix>ksmp</minecraft.consolePrefix>
<minecraft.apiVersion>1.20</minecraft.apiVersion>
</properties>
<licenses>
</licenses>
<developers>
<developer>
<name>kiriDevs</name>
<url>https://github.com/kiriDevs</url>
<email>[email protected]</email>
</developer>
</developers>
<scm>
<connection>scm:git:git://github.com/kiriDevs/ksmpplugin.git</connection>
<developerConnection>scm:git:git://github.com/kiriDevs/kiriDevs.git</developerConnection>
<url>https://github.com/kiriDevs/ksmpplugin</url>
<tag>HEAD</tag>
</scm>
<repositories>
<!-- This adds the Spigot Maven repository to the build -->
<repository>
<id>papermc</id>
<url>https://repo.papermc.io/repository/maven-public/</url>
</repository>
</repositories>
<build>
<resources>
<!-- Include plugin.yml with filtering -->
<resource>
<directory>src/main/resources</directory>
<includes>
<include>plugin.yml</include>
</includes>
<filtering>true</filtering>
</resource>
<!-- Include other resources without filtering -->
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>plugin.yml</exclude>
</excludes>
<filtering>false</filtering>
</resource>
</resources>
</build>
<dependencies>
<!-- Paper API (provided by server) -->
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.20-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!-- JetBrains annotations -->
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>23.0.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>