-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
150 lines (147 loc) · 6.16 KB
/
Copy pathpom.xml
File metadata and controls
150 lines (147 loc) · 6.16 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
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>org.mystikos.minecraft.orefinder</groupId>
<artifactId>Orefinder</artifactId>
<version>1.4</version>
<name>Orefinder</name>
<packaging>jar</packaging>
<url>https://github.com/mark-iid/orefinder</url>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
<resources>
<resource>
<filtering>true</filtering>
<directory>src/main/resources</directory>
<includes>
<include>plugin.yml</include>
<include>config.yml</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.15.0</version>
<configuration>
<source>25</source>
<target>25</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.6</version>
<configuration>
<includes>
<include>**/*Test.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>25</java.version>
<maven.compiler.source>25</maven.compiler.source>
<maven.compiler.target>25</maven.compiler.target>
</properties>
<repositories>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>papermc</id>
<url>https://repo.papermc.io/repository/maven-public/</url>
</repository>
</repositories>
<dependencies>
<!--
Force log4j-api upgrade to fix CVE-2026-49844 (transitive via paper-api).
Paper 26.2 build.117 still resolves 2.26.0; 2.26.1 is a patch on the same
line. Not reachable from this plugin (test scope only, nothing is bundled
into the shipped jar, and the plugin logs via java.util.logging), but pinned
to keep the Dependabot alert list clean. Remove once paper-api ships
log4j-api >= 2.26.1 of its own accord.
-->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.26.1</version>
<scope>test</scope>
</dependency>
<!-- Force commons-lang3 upgrade to fix CVE-2025-48924 (transitive via MockBukkit) -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.20.0</version>
<scope>test</scope>
</dependency>
<!--
Force plexus-utils upgrade to fix CVE-2025-67030 (transitive via MockBukkit).
Pinned to the 3.6.x line: plexus-utils 4.x has breaking changes incompatible
with the maven-resolver-provider 3.8.5 MockBukkit uses to build its plugin
LibraryLoader, leaving the Aether RepositorySystem null and failing
MockBukkit.load() with an NPE. 3.6.1 already remediates the CVE — do not bump
to 4.x until MockBukkit ships a newer maven-resolver.
-->
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>3.6.2</version>
<scope>test</scope>
</dependency>
<!-- MockBukkit: use the module matching the Paper/MC line below. The module
bundles registry data for its exact MC version, so it must be kept in
lockstep with paper-api or RegistryAccessMock fails to initialize. -->
<dependency>
<groupId>org.mockbukkit.mockbukkit</groupId>
<artifactId>mockbukkit-v26.2</artifactId>
<version>4.116.1</version>
<scope>test</scope>
</dependency>
<!--
Paper API is required at TEST scope only: MockBukkit's mock classes
(ServerMock, PlayerMock, WorldMock) extend Paper API types, so the test
sources cannot compile without it. The shipped plugin still targets the
Spigot API below. Declared before spigot-api so its superset classes win
on the test classpath. Pinned to the same MC line as the mockbukkit
module above (26.2) and as the spigot-api below.
-->
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>26.2.build.121-stable</version>
<scope>test</scope>
</dependency>
<!--Spigot API-->
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>26.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!-- JUnit dependency -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>6.1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>6.1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>6.1.3</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>