Cannot resolve com.comphenix.executors:BukkitExecutors:1.1-SNAPSHOT
aematsubara opened this issue ยท 1 comments
I get the error mentioned in the title when I want to add ProtocolLib as a dependency in my plugin, using maven in Intellij, yes, I added the repository and the dependency.
For other guys with same issue, change repo and artifact from (jitpack and com.github.dmulloy2) to
<repositories>
<repository>
<id>dmulloy2-repo</id>
<url>https://repo.dmulloy2.net/nexus/repository/public/</url>
</repository>
...
</repositories>
<dependencies>
<dependency>
<groupId>com.comphenix.protocol</groupId>
<artifactId>ProtocolLib</artifactId>
<version>4.5.0</version>
</dependency>
</dependencies>
Or use the maven dependency with gradle:
repositories {
maven { url = "https://repo.dmulloy2.net/nexus/repository/public/" }
}
dependencies {
compileOnly group: "com.comphenix.protocol", name: "ProtocolLib", version: "4.5.0";
}