-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
127 lines (108 loc) · 4.52 KB
/
pom.xml
File metadata and controls
127 lines (108 loc) · 4.52 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?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>me.agentoak.mcsdnotifier</groupId>
<artifactId>mcsdnotifier</artifactId>
<version>1.2-SNAPSHOT</version>
<name>MCSDNotifier</name>
<description>Lets your Minecraft Server make sd_notify calls to support some systemd features.</description>
<inceptionYear>2023</inceptionYear>
<url>https://github.com/AgentOak/MCSDNotifier</url>
<licenses>
<license>
<name>LGPL-3.0-or-later</name>
<url>https://www.gnu.org/licenses/lgpl+gpl-3.0.txt</url>
</license>
</licenses>
<scm>
<connection>scm:git:https://github.com/AgentOak/MCSDNotifier.git</connection>
<developerConnection>scm:git:ssh://git@github.com:AgentOak/MCSDNotifier.git</developerConnection>
<url>https://github.com/AgentOak/MCSDNotifier</url>
</scm>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/AgentOak/MCSDNotifier/issues</url>
</issueManagement>
<properties>
<maven.compiler.release>9</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<api-version>1.15</api-version>
<paper-api.version>1.15.2-R0.1-SNAPSHOT</paper-api.version>
<!-- Paper 1.14 bundled JNA 4.5.2, although it stopped bundling JNA in 1.15. Then Minecraft 1.17 started
bundling JNA 5.8.0. We assume 5.8.0 or later. -->
<jna.version>5.8.0</jna.version>
</properties>
<repositories>
<!-- Paper repo, contains paper-api -->
<repository>
<id>papermc</id>
<url>https://repo.papermc.io/repository/maven-public/</url>
</repository>
</repositories>
<dependencies>
<!-- Upstream Bukkit has been unmaintained since 1.7.x, but spigot repo has maintained it and built artifacts
up to 1.15.x. Spigot API is still maintained (1.21.11 to date) but Paper API 1.15.2+ has additional
interfaces that are useful to us. -->
<dependency>
<groupId>com.destroystokyo.paper</groupId>
<artifactId>paper-api</artifactId>
<version>${paper-api.version}</version>
<scope>provided</scope>
</dependency>
<!-- JNA to access native methods like sd_notify -->
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>${jna.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<defaultGoal>clean verify</defaultGoal>
<resources>
<!-- Replace variables in resources -->
<resource>
<directory>src/main/resources</directory>
<targetPath>.</targetPath>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.4.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.14.1</version>
<!-- Enable all warnings in compiler -->
<configuration>
<compilerArgs>
<arg>-Xlint:all</arg>
<arg>-Xdoclint:all,-missing</arg>
</compilerArgs>
<showDeprecation>true</showDeprecation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.4</version>
</plugin>
</plugins>
</build>
</project>