Fix Velocity Repo

This commit is contained in:
ishland 2020-11-07 15:33:53 +08:00
parent 2b6de0fa5d
commit a01d4013d8
2 changed files with 10 additions and 5 deletions

View File

@ -5,7 +5,7 @@ Subject: [PATCH] Modify POM
diff --git a/pom.xml b/pom.xml
index 78c2a8bbcc0132f891c8aa545529d20aa0d9eb57..d09c903106a6c4e95ab04f4add2fb36ce3315b72 100644
index 78c2a8bbcc0132f891c8aa545529d20aa0d9eb57..d8db9f467fb0f4e5576e8c9ae5fc6cf69921d1bc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,11 +1,11 @@
@ -66,7 +66,7 @@ index 78c2a8bbcc0132f891c8aa545529d20aa0d9eb57..d09c903106a6c4e95ab04f4add2fb36c
</dependencies>
<repositories>
@@ -164,6 +179,15 @@
@@ -164,6 +179,20 @@
<id>spigotmc-public</id>
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
</repository>
@ -78,11 +78,16 @@ index 78c2a8bbcc0132f891c8aa545529d20aa0d9eb57..d09c903106a6c4e95ab04f4add2fb36c
+ <repository>
+ <id>aikar</id>
+ <url>https://repo.aikar.co/nexus/content/repositories/aikar/</url>
+ </repository>
+ <!-- Yatopia - Add velocity repo to fix compile -->
+ <repository>
+ <id>velocity</id>
+ <url>https://nexus.velocitypowered.com/repository/maven-public/</url>
+ </repository>
</repositories>
<pluginRepositories>
@@ -175,15 +199,15 @@
@@ -175,15 +204,15 @@
<!-- This builds a completely 'ready to start' jar with all dependencies inside -->
<build>

View File

@ -5,10 +5,10 @@ Subject: [PATCH] Add NBT API as a first-class lib
diff --git a/pom.xml b/pom.xml
index d09c903106a6c4e95ab04f4add2fb36ce3315b72..47a0bb79132507c6735d85175d39026cd48b1dac 100644
index d8db9f467fb0f4e5576e8c9ae5fc6cf69921d1bc..47ad4c9a021b35fdb9e020571df7f5c0262e6313 100644
--- a/pom.xml
+++ b/pom.xml
@@ -337,6 +337,10 @@
@@ -342,6 +342,10 @@
<pattern>net.minecraft.server</pattern>
<shadedPattern>net.minecraft.server.v${minecraft_version}</shadedPattern>
</relocation>