Mirror von
https://github.com/St3venAU/ArmorStandTools.git
synchronisiert 2024-12-28 04:20:08 +01:00
Fix maven build process
Dieser Commit ist enthalten in:
Ursprung
0726fde530
Commit
2ff7ab6e56
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,6 +1,6 @@
|
|||||||
### Java template
|
### Java template
|
||||||
target/classes/io/github/archemedes/knockoutplus/corpse/CorpseRegistry.class
|
|
||||||
/.idea
|
/.idea
|
||||||
|
/*.iml
|
||||||
/libs
|
/libs
|
||||||
|
|
||||||
# Mobile Tools for Java (J2ME)
|
# Mobile Tools for Java (J2ME)
|
||||||
|
173
pom.xml
173
pom.xml
@ -2,91 +2,98 @@
|
|||||||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.gmail.st3venau.plugins</groupId>
|
<groupId>com.gmail.st3venau.plugins</groupId>
|
||||||
<artifactId>ArmorStandTools</artifactId>
|
<artifactId>ArmorStandTools</artifactId>
|
||||||
<version>4.4.6</version>
|
<version>4.4.6</version>
|
||||||
<name>ArmorStandTools</name>
|
<name>ArmorStandTools</name>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<!-- Spigot -->
|
<!-- Spigot -->
|
||||||
<repository>
|
<repository>
|
||||||
<id>spigot-repo</id>
|
<id>spigot-repo</id>
|
||||||
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
||||||
</repository>
|
</repository>
|
||||||
<!-- WorldEdit / WorldGuard -->
|
<!-- WorldEdit / WorldGuard -->
|
||||||
<repository>
|
<repository>
|
||||||
<id>sk89q-repo</id>
|
<id>enginehub-repo</id>
|
||||||
<url>https://maven.sk89q.com/repo/</url>
|
<url>https://maven.enginehub.org/repo/</url>
|
||||||
</repository>
|
</repository>
|
||||||
<!-- PlotSquared -->
|
<!-- PlotSquared -->
|
||||||
<repository>
|
<repository>
|
||||||
<id>intellectualsites releases</id>
|
<id>papermc</id>
|
||||||
<url>https://mvn.intellectualsites.com/content/repositories/releases/</url>
|
<url>https://repo.papermc.io/repository/maven-public/</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository> <!-- needed due to missing dependency on PlotSquared for adventure-text-minimessage -->
|
||||||
<id>intellectualsites snapshots</id>
|
<id>sonatype-oss-snapshots</id>
|
||||||
<url>https://mvn.intellectualsites.com/content/repositories/snapshots/</url>
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository> <!-- needed due to missing dependency on PlotSquared for adventure-text-minimessage -->
|
</repositories>
|
||||||
<id>sonatype-oss-snapshots</id>
|
|
||||||
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
||||||
</repository>
|
|
||||||
</repositories>
|
|
||||||
|
|
||||||
<dependencies>
|
<dependencyManagement>
|
||||||
<!-- Spigot -->
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.spigotmc</groupId>
|
<groupId>com.intellectualsites.bom</groupId>
|
||||||
<artifactId>spigot-api</artifactId>
|
<artifactId>bom-newest</artifactId>
|
||||||
<version>1.18-R0.1-SNAPSHOT</version>
|
<version>1.47</version>
|
||||||
<scope>provided</scope>
|
<scope>import</scope>
|
||||||
</dependency>
|
<type>pom</type>
|
||||||
<!-- WorldGuard -->
|
</dependency>
|
||||||
<dependency>
|
</dependencies>
|
||||||
<groupId>com.sk89q.worldguard</groupId>
|
</dependencyManagement>
|
||||||
<artifactId>worldguard-bukkit</artifactId>
|
|
||||||
<version>7.0.7-SNAPSHOT</version>
|
|
||||||
<scope>provided</scope>
|
|
||||||
</dependency>
|
|
||||||
<!-- WorldEdit -->
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.sk89q.worldedit</groupId>
|
|
||||||
<artifactId>worldedit-core</artifactId>
|
|
||||||
<version>7.3.0-SNAPSHOT</version>
|
|
||||||
<scope>provided</scope>
|
|
||||||
</dependency>
|
|
||||||
<!-- PlotSquared Core API -->
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.plotsquared</groupId>
|
|
||||||
<artifactId>PlotSquared-Core</artifactId>
|
|
||||||
<version>6.1.3</version>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
<build>
|
<dependencies>
|
||||||
<defaultGoal>clean package install</defaultGoal>
|
<!-- Spigot -->
|
||||||
<sourceDirectory>src/main/java</sourceDirectory>
|
<dependency>
|
||||||
<finalName>${project.name}-${project.version}</finalName>
|
<groupId>org.spigotmc</groupId>
|
||||||
<resources>
|
<artifactId>spigot-api</artifactId>
|
||||||
<resource>
|
<version>1.21-R0.1-SNAPSHOT</version>
|
||||||
<directory>src/main/resources</directory>
|
<scope>provided</scope>
|
||||||
<filtering>true</filtering>
|
</dependency>
|
||||||
<includes>
|
<!-- WorldGuard -->
|
||||||
<include>**/*.yml</include>
|
<dependency>
|
||||||
</includes>
|
<groupId>com.sk89q.worldguard</groupId>
|
||||||
</resource>
|
<artifactId>worldguard-bukkit</artifactId>
|
||||||
</resources>
|
<version>7.0.10</version>
|
||||||
<plugins>
|
<scope>provided</scope>
|
||||||
<plugin>
|
</dependency>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<!-- WorldEdit -->
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<dependency>
|
||||||
<configuration>
|
<groupId>com.sk89q.worldedit</groupId>
|
||||||
<source>16</source>
|
<artifactId>worldedit-core</artifactId>
|
||||||
<target>16</target>
|
<version>7.3.5</version>
|
||||||
</configuration>
|
<scope>provided</scope>
|
||||||
</plugin>
|
</dependency>
|
||||||
</plugins>
|
<!-- PlotSquared Core API -->
|
||||||
</build>
|
<dependency>
|
||||||
|
<groupId>com.intellectualsites.plotsquared</groupId>
|
||||||
|
<artifactId>plotsquared-core</artifactId>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<finalName>${project.name}-${project.version}</finalName>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<version>3.13.0</version>
|
||||||
|
<configuration>
|
||||||
|
<release>17</release>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@ -6,7 +6,6 @@ import org.bukkit.Bukkit;
|
|||||||
import org.bukkit.command.CommandException;
|
import org.bukkit.command.CommandException;
|
||||||
import org.bukkit.entity.ArmorStand;
|
import org.bukkit.entity.ArmorStand;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.jetbrains.annotations.NotNull;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ -103,7 +102,7 @@ public record ArmorStandCmd(String command, CommandType type, Integer priority,
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int compareTo(@NotNull ArmorStandCmd o) {
|
public int compareTo(ArmorStandCmd o) {
|
||||||
return Integer.compare(priority, o.priority);
|
return Integer.compare(priority, o.priority);
|
||||||
}
|
}
|
||||||
}
|
}
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren