
Can't build project from Git
icedream opened this issue ยท 4 comments
As the title says pretty much. auth-environment
is declared as a module in always-online's pom.xml, however, the auth-environment
module directory has no pom.xml to go with it as opposed to the common
module.
You have to compile spigot/bukkit yourself, as the don't provide a repository for maven to pull from
Thank you! Will try to get it working with that information, I think the issue can be closed.
Awesome, thank you! Just tested it and ran into one more issue:
Downloading from everything: https://hub.spigotmc.org/nexus/content/repositories/snapshots/org/spigotmc/spigot/1.16.4-R0.1-SNAPSHOT/maven-metadata.xml
Downloading from everything: https://hub.spigotmc.org/nexus/content/repositories/snapshots/org/spigotmc/spigot/1.16.4-R0.1-SNAPSHOT/spigot-1.16.4-R0.1-SNAPSHOT.pom
[WARNING] The POM for org.spigotmc:spigot:jar:1.16.4-R0.1-SNAPSHOT is missing, no dependency information available
Downloading from everything: https://hub.spigotmc.org/nexus/content/repositories/snapshots/org/spigotmc/spigot/1.16.4-R0.1-SNAPSHOT/spigot-1.16.4-R0.1-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for always-online 6.1.9:
[INFO]
[INFO] always-online ...................................... SUCCESS [ 0.004 s]
[INFO] auth-environment ................................... FAILURE [ 11.626 s]
[INFO] common ............................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.831 s
[INFO] Finished at: 2022-05-28T12:14:14Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project auth-environment: Could not resolve dependencies for project me.dablakbandit:auth-environment:jar:6.1.9: Could not find artifact org.spigotmc:spigot:jar:1.16.4-R0.1-SNAPSHOT in everything (https://hub.spigotmc.org/nexus/content/repositories/snapshots/) -> [Help 1]
Seems like 1.16.4-R0.1-SNAPSHOT is not on the Spigot Nexus repository (anymore?), in fact everything after 1.15.2-R0.1-SNAPSHOT seems to be missing. Nevermind, looked in the wrong place (org.bukkit.bukkit), the Spigot namespace itself (org.spigotmc.spigot) seems to be missing in the repository somehow. That might be unrelated to the project and just me forgetting something?