I am trying to use kyori adventure in a spigotmc plugin but everytime I try to download the maven dependencies it fails to download it.
I’ve already tried removing everything in %userprofile%.m2repositorynetkyori
, but it didn’t help.
console output after running mvn clean install -U
[WARNING] adventure-api-4.13.1.jar, adventure-key-4.13.1.jar, adventure-nbt-4.13.1.jar, adventure-platform-api-4.3.3.jar, adventure-platform-bukkit-4.3.3.jar, adventure-platform-fa
cet-4.3.3.jar, adventure-platform-viaversion-4.3.3.jar, adventure-text-serializer-bungeecord-4.3.3.jar, adventure-text-serializer-gson-4.13.1.jar, adventure-text-serializer-gson-le
gacy-impl-4.13.1.jar, adventure-text-serializer-legacy-4.13.1.jar, annotations-24.0.1.jar, componentTest-1.0-dev.jar, examination-api-1.3.0.jar, examination-string-1.3.0.jar define 1 overlapping resource:
[WARNING] - META-INF/MANIFEST.MF
[WARNING] annotations-24.0.1.jar, examination-api-1.3.0.jar, examination-string-1.3.0.jar define 1 overlapping classes:
[WARNING] - META-INF.versions.9.module-info
[WARNING] adventure-api-4.13.1.jar, adventure-key-4.13.1.jar define 1 overlapping resource:
[WARNING] - classpath.index
[WARNING] maven-shade-plugin has detected that some files are
[WARNING] present in two or more JARs. When this happens, only one
[WARNING] single version of the file is copied to the uber jar.
[WARNING] Usually this is not harmful and you can skip these warnings,
[WARNING] otherwise try to manually exclude artifacts based on
[WARNING] mvn dependency:tree -Ddetail=true and the above output.
[WARNING] See https://maven.apache.org/plugins/maven-shade-plugin/
maven dependencies:
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.20.6-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.kyori</groupId>
<artifactId>adventure-platform-bukkit</artifactId>
<version>4.3.3</version>
</dependency>
</dependencies>
maven repos:
<repositories>
<repository>
<id>spigotmc-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/groups/public/</url>
</repository>
<repository>
<id>sonatype-oss-snapshots1</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
</repositories>
New contributor
IkonoDim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.