Can't build with Maven - dependency error
odensc opened this issue · comments
When trying to build with Maven, it fails with this error:
[ERROR] Failed to execute goal on project SDFEconomy: Could not resolve dependencies for project com.github.omwah:SDFEconomy:jar:3.1-SNAPSHOT: The following artifacts could not be resolved: uk.co.tggl.pluckerpluck.multiinv:MultiInv:jar:3.1.3, org.getspout:spoutplugin:jar:1.4.7-R1.0-SNAPSHOT, com.acrobot.chestshop:ChestShop:jar:3.50: Could not find artifact uk.co.tggl.pluckerpluck.multiinv:MultiInv:jar:3.1.3 in bukkit-repo (http://repo.bukkit.org/content/groups/public/)
Full log:
http://scmc.net:8080/view/Bukkit/job/SDFEconomy/1/console
Try again, I uploaded some dependencies and dependencies of dependencies to my own repository. I also updated the pom.xml to get rid of the org.getspout:spoutplugin error.
@omwah getspout error is gone, but MultiInv and ChestShop still erroring:
http://scmc.net:8080/view/Bukkit/job/SDFEconomy/2/console
You probably need to clean your ~/.m2/repository or get Jenkins to retry fetching all dependencies. Maven needs to try to look into my repo for those and its using some cached information that says it cant find them there.
I don't have access to a Jenkins install to look at this but you can problem clean up your "Local Maven Repository" through the web interface.
@omwah No dependency errors now, but an error with the shade plugin:
http://scmc.net:8080/job/SDFEconomy/4/console
Try with latest commit. Apparently there were some problems with the shade plugin in newer versions of Maven.