Maven Build error for spigot

Discussion in 'Spigot Plugin Development' started by Presidentx, Apr 20, 2017.

  1. Hey there
    Does anyone know how to fix this issue? I'm not very familiar with maven and our head developer is unavailable so I'm asking here. When I try to build my plugin it gives me this error:

    Failed to execute goal on project gtm: Could not resolve dependencies for project net.grandtheftmc:gtm:jar:X: Failure to find org.spigotmc:spigot:jar:1.10.2-R0.1-SNAPSHOT in https://hub.spigotmc.org/nexus/content/repositories/public/ was cached in the local repository, resolution will not be reattempted until the update interval of spigot-repo has elapsed or updates are forced

    this is in the pom:
    <dependency>
    <groupId>org.spigotmc</groupId>
    <artifactId>spigot</artifactId>
    <version>1.10.2-R0.1-SNAPSHOT</version>
    <scope>provided</scope>
    </dependency>

    I have already tried to delete the local repository but it didn't work.

    Thank you
     
  2. MiniDigger

    Supporter

    run buildtools.
    spigot is not located in any public repo. buildtools puts it into your local repo.
    you can only get spigot-api from the repo.
     
    • Informative Informative x 2