Vault

Vault

7M Downloads

Maven build not working

srfoster opened this issue ยท 1 comments

commented

I'm trying to build the Citizens plugin with maven, but it's failing to get Vault. Looks like the krinsoft.net site is not available?

Downloading: http://files.krinsoft.net:8085/nexus/content/groups/public/org/bukkit/bukkit/1.7.9-R0.1-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.bukkit:bukkit:1.7.9-R0.1-SNAPSHOT/maven-metadata.xml from/to krinsoft (http://files.krinsoft.net:8085/nexus/content/groups/public): Connection to http://files.krinsoft.net:8085 refused
[WARNING] Failure to transfer org.bukkit:bukkit:1.7.9-R0.1-SNAPSHOT/maven-metadata.xml from http://files.krinsoft.net:8085/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of krinsoft has elapsed or updates are forced. Original error: Could not transfer metadata org.bukkit:bukkit:1.7.9-R0.1-SNAPSHOT/maven-metadata.xml from/to krinsoft (http://files.krinsoft.net:8085/nexus/content/groups/public): Connection to http://files.krinsoft.net:8085 refused
Downloading: http://files.krinsoft.net:8085/nexus/content/groups/public/org/bukkit/bukkit/1.7.9-R0.1-SNAPSHOT/bukkit-1.7.9-R0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:35.224s
[INFO] Finished at: Thu May 21 16:38:42 PDT 2015
[INFO] Final Memory: 7M/116M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project citizens: Could not resolve dependencies for project net.citizensnpcs:citizens:jar:2.0.15-SNAPSHOT: Failed to collect dependencies at net.milkbowl.vault:Vault:jar:1.4.1 -> org.bukkit:bukkit:jar:1.7.9-R0.1-SNAPSHOT: Failed to read artifact descriptor for org.bukkit:bukkit:jar:1.7.9-R0.1-SNAPSHOT: Could not transfer artifact org.bukkit:bukkit:pom:1.7.9-R0.1-SNAPSHOT from/to krinsoft (http://files.krinsoft.net:8085/nexus/content/groups/public): Connection to http://files.krinsoft.net:8085 refused: Operation timed out -> [Help 1]
commented

Can't help you, you're using an old version of Vault to build against. You're also building against the plugin not the API. You should be building against VaultAPI per the documentation.