Skip to content

Commit 48a6638

Browse files
Update pom.xml
1 parent d31e001 commit 48a6638

File tree

1 file changed

+99
-17
lines changed

1 file changed

+99
-17
lines changed

pom.xml

Lines changed: 99 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
6-
<parent>
7-
<groupId>me.flame.menus</groupId>
8-
<artifactId>core-project</artifactId>
9-
<version>2.0.0</version>
10-
</parent>
116

12-
<artifactId>core</artifactId>
7+
<groupId>me.flame.menus</groupId>
8+
<artifactId>core-project</artifactId>
9+
<version>2.0.0</version>
10+
<packaging>pom</packaging>
11+
<modules>
12+
<module>core</module>
13+
<module>adventure</module>
14+
</modules>
1315

1416
<properties>
1517
<maven.compiler.source>11</maven.compiler.source>
@@ -19,23 +21,103 @@
1921

2022
<repositories>
2123
<repository>
22-
<id>spigot-repo</id>
23-
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
24+
<id>minecraft</id>
25+
<url>https://libraries.minecraft.net/</url>
2426
</repository>
2527
</repositories>
26-
28+
<build>
29+
<plugins>
30+
<plugin>
31+
<groupId>org.apache.maven.plugins</groupId>
32+
<artifactId>maven-compiler-plugin</artifactId>
33+
<version>3.11.0</version>
34+
<configuration>
35+
<source>11</source>
36+
<target>11</target>
37+
<useIncrementalCompilation>true</useIncrementalCompilation>
38+
<annotationProcessorPaths>
39+
<path>
40+
<groupId>org.projectlombok</groupId>
41+
<artifactId>lombok</artifactId>
42+
<version>1.18.28</version>
43+
</path>
44+
<path>
45+
<groupId>com.google.errorprone</groupId>
46+
<artifactId>error_prone_core</artifactId>
47+
<version>2.10.0</version>
48+
</path>
49+
</annotationProcessorPaths>
50+
</configuration>
51+
</plugin>
52+
<plugin>
53+
<groupId>org.apache.maven.plugins</groupId>
54+
<artifactId>maven-shade-plugin</artifactId>
55+
<version>3.2.4</version>
56+
<executions>
57+
<execution>
58+
<phase>package</phase>
59+
<goals>
60+
<goal>shade</goal>
61+
</goals>
62+
</execution>
63+
</executions>
64+
</plugin>
65+
<plugin>
66+
<groupId>org.apache.maven.plugins</groupId>
67+
<artifactId>maven-jar-plugin</artifactId>
68+
<version>3.3.0</version>
69+
<configuration>
70+
<!-- configuration options here -->
71+
</configuration>
72+
<executions>
73+
<execution>
74+
<id>default-jar</id>
75+
<phase>package</phase>
76+
<goals>
77+
<goal>jar</goal>
78+
</goals>
79+
</execution>
80+
</executions>
81+
</plugin>
82+
<plugin>
83+
<groupId>com.google.errorprone</groupId>
84+
<artifactId>error_prone_annotations</artifactId>
85+
<version>2.18.0</version>
86+
<configuration>
87+
<args>
88+
<arg>-Xplugin:ErrorProne</arg>
89+
<arg>-XDcompilePolicy=simple</arg>
90+
<arg>-Xplugin:ErrorProne -XepPatchChecks:DeadException,EmptyMethodCheck -XepPatchLocation:IN_PLACE</arg>
91+
<arg>-Xep:com.google.errorprone:error_prone_google:AvoidBoxing</arg>
92+
</args>
93+
</configuration>
94+
</plugin>
95+
</plugins>
96+
</build>
2797
<dependencies>
2898
<dependency>
29-
<groupId>org.spigotmc</groupId>
30-
<artifactId>spigot-api</artifactId>
31-
<version>1.16.5-R0.1-SNAPSHOT</version>
99+
<groupId>com.mojang</groupId>
100+
<artifactId>authlib</artifactId>
101+
<version>1.5.21</version>
102+
<scope>provided</scope>
103+
</dependency>
104+
<dependency>
105+
<groupId>org.projectlombok</groupId>
106+
<artifactId>lombok</artifactId>
107+
<version>1.18.28</version>
32108
<scope>provided</scope>
33109
</dependency>
34110
<dependency>
35-
<groupId>me.flame.menus.adventure</groupId>
36-
<artifactId>adventure</artifactId>
37-
<version>2.0.0</version>
38-
<scope>compile</scope>
111+
<groupId>org.jetbrains</groupId>
112+
<artifactId>annotations</artifactId>
113+
<version>24.0.1</version>
114+
<scope>provided</scope>
115+
</dependency>
116+
<dependency>
117+
<groupId>com.google.errorprone</groupId>
118+
<artifactId>error_prone_annotations</artifactId>
119+
<version>2.18.0</version>
120+
<scope>provided</scope>
39121
</dependency>
40122
</dependencies>
41-
</project>
123+
</project>

0 commit comments

Comments
 (0)