Remove requirement of locally installing Spigot JARs
See original GitHub issueCurrently when building I am getting this error in my maven build log.
Could not resolve dependencies for project net.demozo.paper:Youkai:jar:1.0-SNAPSHOT: Failure to find org.spigotmc:spigot:jar:1.15-R0.1-SNAPSHOT in https://papermc.io/repo/repository/maven-public/ was cached in the local repository, resolution will not be reattempted until the update interval of papermc-repo has elapsed or updates are forced -> [Help 1]
With the dependency added as instructed in the documentation. I assume adding the Spigot maven repo instead of making people install the Spigot jar into their local maven repo would solve this, especially since I personally and many other people use Paper instead of Spigot.
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
Why is it expected people do this in the first place?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:14 (7 by maintainers)
Top Results From Across the Web
How to Uninstall a spigot? | Page 2 | SpigotMC
Ignore the folders, they are mostly code it used to build the jar, and can be partially re-used when updating. Move the Spigot.jar...
Read more >Instructions for setting up a Spigot server using mark2 on a ...
Finally, let's download and install our Minecraft server running Spigot. ... otherwise run it locally and upload the JAR, or wget from a...
Read more >2 Installation and configuration | R Programming with Minecraft
You can use Spigot to set up your own server, even locally on your machine. ... To get all the required pieces and...
Read more >Installation | Wiki - LuckPerms
Navigate to the libraries/net/md-5/SpecialSource/1.7-SNAPSHOT directory · Delete the SpecialSource-1.7-SNAPSHOT. · Download SpecialSource v1. · Copy the jar file ...
Read more >When maven says "resolution will not be reattempted until the ...
I used to solve this issue by deleting the corresponding failed to download artifact directory in my local repo. Next time I run...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I see. Yes, that is indeed incorrect - the CommandAPI shouldn’t have to depend spigot itself, it should depend on the spigot-api.
Also, I just wanted to say thanks for being patient with me! I’m still learning how to use maven and all of this dependency stuff is complicated using it for the first time!
According to this stackoverflow, apparently this is the default behavior for Gradle? It seems very “incorrect”. To be frank, I cba to go report stuff to gradle right now. That being said, it’s nice to know adding the repository manually “solves” the issue. I’ll make sure to update this in the documentation. Thanks again!