Repository navigation
Expand file tree
/
Copy pathpom.xml
More file actions
85 lines (79 loc) · 3.11 KB
/
Copy pathpom.xml
File metadata and controls
85 lines (79 loc) · 3.11 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
<?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>com.example</groupId>
<artifactId>singularityplugin</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>SingularityPlugin</name>
<properties>
<!-- Keep in sync with the SingularityLib v2 line (bootstrap model: lib ships as its own
server plugin; this template never bundles it). -->
<singularity.version>2.0.0-SNAPSHOT</singularity.version>
<java.version>25</java.version>
<maven.compiler.release>25</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<defaultGoal>clean package</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
<repositories>
<!-- Public token-free registry (GitHub Pages). See Pinont/singularity-maven. -->
<repository>
<id>singularity</id>
<url>https://maven.pinont.me/</url>
</repository>
<repository>
<id>papermc-repo</id>
<url>https://repo.papermc.io/repository/maven-public/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>[26.2.build,)</version>
<scope>provided</scope>
</dependency>
<!-- Bootstrap model: compile against the lib, but the server provides it at runtime
via paper-plugin.yml join-classpath. NEVER shade or bundle it. -->
<dependency>
<groupId>io.github.pinont</groupId>
<artifactId>singularitylib</artifactId>
<version>${singularity.version}</version>
<scope>provided</scope>
</dependency>
<!-- Test dependencies (MockBukkit matching Paper 26.2) -->
<dependency>
<groupId>org.mockbukkit.mockbukkit</groupId>
<artifactId>mockbukkit-v26.2</artifactId>
<version>4.116.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>2.0.12</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>