Skip to content

Commit b74f681

Browse files
committed
Fixed compatible with java 8 & pom.xml
1 parent 991fc36 commit b74f681

File tree

6 files changed

+135
-9
lines changed

6 files changed

+135
-9
lines changed

.github/maven/api/pom.xml

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ MiniGamesBox - Library box with massive content that could be seen as minigames core.
4+
~ Copyright (C) 2023 Plugily Projects - maintained by Tigerpanzer_02 and contributors
5+
~
6+
~ This program is free software: you can redistribute it and/or modify
7+
~ it under the terms of the GNU General Public License as published by
8+
~ the Free Software Foundation, either version 3 of the License, or
9+
~ (at your option) any later version.
10+
~
11+
~ This program is distributed in the hope that it will be useful,
12+
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
~ GNU General Public License for more details.
15+
~
16+
~ You should have received a copy of the GNU General Public License
17+
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
18+
-->
19+
20+
<project xmlns="http://maven.apache.org/POM/4.0.0"
21+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23+
<parent>
24+
<artifactId>minigamesbox</artifactId>
25+
<groupId>plugily.projects</groupId>
26+
<version>1.3.3-java8</version>
27+
</parent>
28+
<modelVersion>4.0.0</modelVersion>
29+
30+
<artifactId>MiniGamesBox-Api</artifactId>
31+
<properties>
32+
<java.version>1.8</java.version>
33+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
35+
</properties>
36+
37+
38+
<repositories>
39+
<repository>
40+
<id>mojang-repo</id>
41+
<url>https://libraries.minecraft.net/</url>
42+
</repository>
43+
<repository>
44+
<id>simonsators-repo</id>
45+
<url>https://simonsator.de/repo/</url>
46+
</repository>
47+
<repository>
48+
<id>alessiodp-repo</id>
49+
<url>https://repo.alessiodp.com/releases/</url>
50+
</repository>
51+
<repository>
52+
<id>plugilyprojects-repo</id>
53+
<url>https://maven.plugily.xyz/releases</url>
54+
</repository>
55+
<repository>
56+
<id>papi-repo</id>
57+
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
58+
</repository>
59+
</repositories>
60+
61+
<dependencies>
62+
<dependency>
63+
<groupId>me.tigerhix.lib</groupId>
64+
<artifactId>scoreboard</artifactId>
65+
<version>1.4.5</version>
66+
<scope>compile</scope>
67+
<optional>true</optional>
68+
<exclusions>
69+
<exclusion>
70+
<groupId>*</groupId>
71+
<artifactId>*</artifactId>
72+
</exclusion>
73+
</exclusions>
74+
</dependency>
75+
<dependency>
76+
<groupId>plugily.projects</groupId>
77+
<artifactId>MiniGamesBox-Database</artifactId>
78+
<version>${project.version}</version>
79+
<scope>compile</scope>
80+
<optional>true</optional>
81+
</dependency>
82+
<dependency>
83+
<groupId>com.github.cryptomorin</groupId>
84+
<artifactId>XSeries</artifactId>
85+
<version>13.0.0</version>
86+
<optional>true</optional>
87+
</dependency>
88+
</dependencies>
89+
90+
91+
<build>
92+
<plugins>
93+
<plugin>
94+
<groupId>org.apache.maven.plugins</groupId>
95+
<artifactId>maven-javadoc-plugin</artifactId>
96+
<version>3.4.0</version>
97+
<configuration>
98+
<windowtitle>MiniGamesBox Inventory API docs for v${project.version}</windowtitle>
99+
<description>Library box with massive content that could be seen as minigames core.</description>
100+
<destDir>minecraft/minigamesbox/inventory</destDir>
101+
<isOffline>false</isOffline>
102+
</configuration>
103+
</plugin>
104+
</plugins>
105+
<extensions>
106+
<extension>
107+
<groupId>org.apache.maven.wagon</groupId>
108+
<artifactId>wagon-ssh</artifactId>
109+
<version>3.5.2</version>
110+
</extension>
111+
</extensions>
112+
</build>
113+
</project>

.github/maven/classic/pom.xml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<artifactId>minigamesbox</artifactId>
2525
<groupId>plugily.projects</groupId>
26-
<version>1.3.2-java8</version>
26+
<version>1.3.3-java8</version>
2727
</parent>
2828
<modelVersion>4.0.0</modelVersion>
2929

@@ -66,7 +66,7 @@
6666
<dependency>
6767
<groupId>me.tigerhix.lib</groupId>
6868
<artifactId>scoreboard</artifactId>
69-
<version>1.4.0</version>
69+
<version>1.4.5</version>
7070
<scope>compile</scope>
7171
<optional>true</optional>
7272
<exclusions>
@@ -79,9 +79,14 @@
7979
<dependency>
8080
<groupId>com.github.cryptomorin</groupId>
8181
<artifactId>XSeries</artifactId>
82-
<version>9.4.0</version>
82+
<version>13.0.0</version>
8383
<optional>true</optional>
8484
</dependency>
85+
<dependency>
86+
<groupId>org.openjdk.nashorn</groupId>
87+
<artifactId>nashorn-core</artifactId>
88+
<version>15.4</version>
89+
</dependency>
8590
<dependency>
8691
<groupId>de.simonsator</groupId>
8792
<artifactId>DevelopmentPAFSpigot</artifactId>
@@ -120,6 +125,13 @@
120125
<scope>compile</scope>
121126
<optional>true</optional>
122127
</dependency>
128+
<dependency>
129+
<groupId>plugily.projects</groupId>
130+
<artifactId>MiniGamesBox-Api</artifactId>
131+
<version>${project.version}</version>
132+
<scope>compile</scope>
133+
<optional>true</optional>
134+
</dependency>
123135
<dependency>
124136
<groupId>plugily.projects</groupId>
125137
<artifactId>MiniGamesBox-Database</artifactId>

.github/maven/database/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<artifactId>minigamesbox</artifactId>
2525
<groupId>plugily.projects</groupId>
26-
<version>1.3.2-java8</version>
26+
<version>1.3.3-java8</version>
2727
</parent>
2828
<modelVersion>4.0.0</modelVersion>
2929

.github/maven/inventory/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<artifactId>minigamesbox</artifactId>
2525
<groupId>plugily.projects</groupId>
26-
<version>1.3.2-java8</version>
26+
<version>1.3.3-java8</version>
2727
</parent>
2828
<modelVersion>4.0.0</modelVersion>
2929

.github/maven/pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,15 @@
2424

2525
<groupId>plugily.projects</groupId>
2626
<artifactId>minigamesbox</artifactId>
27-
<version>1.3.2-java8</version>
27+
<version>1.3.3-java8</version>
2828
<packaging>pom</packaging>
2929

3030
<modules>
3131
<module>MiniGamesBox Inventory</module>
3232
<module>MiniGamesBox Utils</module>
3333
<module>MiniGamesBox Database</module>
3434
<module>MiniGamesBox Classic</module>
35+
<module>MiniGamesBox API</module>
3536
</modules>
3637

3738
<name>MiniGamesBox</name>
@@ -47,7 +48,7 @@
4748
<repositories>
4849
<repository>
4950
<id>papermc</id>
50-
<url>https://papermc.io/repo/repository/maven-public/</url>
51+
<url>https://repo.papermc.io/repository/maven-public/</url>
5152
</repository>
5253
<repository>
5354
<id>spigot-repo</id>
@@ -71,7 +72,7 @@
7172
<dependency>
7273
<groupId>io.papermc.paper</groupId>
7374
<artifactId>paper-api</artifactId>
74-
<version>1.20.1-R0.1-SNAPSHOT</version>
75+
<version>1.21.1-R0.1-SNAPSHOT</version>
7576
<scope>provided</scope>
7677
</dependency>
7778
<!--This adds the Spigot API artifact to the build -->

.github/maven/utils/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<artifactId>minigamesbox</artifactId>
2525
<groupId>plugily.projects</groupId>
26-
<version>1.3.2-java8</version>
26+
<version>1.3.3-java8</version>
2727
</parent>
2828
<modelVersion>4.0.0</modelVersion>
2929

0 commit comments

Comments
 (0)