Maven
krisdestruction opened this issue ยท 5 comments
Hi,
I am converting my existing java project to maven and trying to re-follow the update plugin tutorial here.
http://wiki.bukkit.org/Plugin_Tutorial
I have trouble setting up maven to use Vault as a dependency. This is my POM.xml file.
http://pastebin.com/MS5PKDkA
It seems that eclipse is red underlining the dependency right before where vault is listed and I get the following error:
[ERROR] Failed to execute goal on project GroupManagerPromote: Could not resolve dependencies for project info.terrismc:GroupManagerPromote:jar:1.0: Failure to find net.milkbowl:Vault:jar:1.2.31 in http://repo.bukkit.org/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of bukkit-repo has elapsed or updates are forced -> [Help 1]
I've been searching the past few hours for a solution but I can't seem to find a way to use Vault as a dependency (bukkit appears to work). Any help would be appreciated. As well, I believe it's best to update the "Repository Information for Maven Projects" section with the dependency section on Vault's main page.
Oh yes I think I see it here:
https://github.com/MilkBowl/VaultAPI
Can you confirm (otherwise I'll try it at home)? Also can you update the main DevBukkit page for the occasionally lazy Dev :)
the DBO page was already updated, I'm not sure where you're seeing old information. The repo link is just that, a repo link. the full information is in the header. In addition I stickied a post on the Vault forum. I feel you just didn't read through the page quite enough as the link is in 4 different places, all but one of which you've had to click through ;)
Oh I meant for the "dependency" tags as there's only the "repo" tags in the maven section of DevBukkit. I'll just use the repo link and follow the instructions. Thanks!
Please read the updated instructions on the main page, specifically the 'For Developers' section. The Vault artifact has changed and the information is current.
For direct reference you should be finding this: http://www.github.com/Milkbowl/VaultAPI
Sorry, are you referring to "Repository Information for Maven Projects" on the following page when you said "For Developers" section?
http://dev.bukkit.org/bukkit-plugins/vault/#w-repository-information-for-maven-projects
If so I don't think I see an update :/