Fix POM dependency issues
threadproc opened this issue ยท 2 comments
When building anything that has Vault as a dependency, Maven (3.1, in this case) complains that the POM is invalid, giving the following errors when run in debug mode:
[WARNING] The POM for net.milkbowl.vault:Vault:jar:1.2.27 is invalid, transitive dependencies (if any) will not be available: 38 problems were encountered while building the effective model for net.milkbowl.vault:Vault:1.2.27
[ERROR] 'dependencies.dependency.systemPath' for com.gmail.bleedobsidian.miconomy:MiConomy:jar must specify an absolute path but is ${project.basedir}/lib/MiConomy.jar @
[ERROR] 'dependencies.dependency.systemPath' for me.coniin.plugins.minefaconomy:MineFaConomy:jar must specify an absolute path but is ${project.basedir}/lib/Minefaconomy.jar @
[ERROR] 'dependencies.dependency.systemPath' for org.tyrannyofheaven.bukkit:zPermissions:jar must specify an absolute path but is ${project.basedir}/lib/zPermissions.jar @
[ERROR] 'dependencies.dependency.systemPath' for me.ic3d.eco:ECO:jar must specify an absolute path but is ${project.basedir}/lib/3co.jar @
[ERROR] 'dependencies.dependency.systemPath' for is.currency:Currency:jar must specify an absolute path but is ${project.basedir}/lib/CurrencyCore.jar @
[ERROR] 'dependencies.dependency.systemPath' for com.flobi.GoldIsMoney:GoldIsMoney:jar must specify an absolute path but is ${project.basedir}/lib/GoldIsMoney.jar @
[ERROR] 'dependencies.dependency.systemPath' for com.flobi.GoldIsMoney2:GoldIsMoney:jar must specify an absolute path but is ${project.basedir}/lib/GoldIsMoney2.jar @
[ERROR] 'dependencies.dependency.systemPath' for cosine.boseconomy.BOSEconomy:BOSEconomy:jar must specify an absolute path but is ${project.basedir}/lib/BOSEconomy.jar @
[ERROR] 'dependencies.dependency.systemPath' for de.bananaco.permissions.Permissions:bPermissions:jar must specify an absolute path but is ${project.basedir}/lib/bpermissions.jar @
[ERROR] 'dependencies.dependency.systemPath' for com.github.sebc722:xPerms:jar must specify an absolute path but is ${project.basedir}/lib/Xperms.jar @
[ERROR] 'dependencies.dependency.systemPath' for ca.agnate.EconXP.EconXP:EconXP:jar must specify an absolute path but is ${project.basedir}/lib/EconXP.jar @
[ERROR] 'dependencies.dependency.systemPath' for org.neocraft.AEco:AEco:jar must specify an absolute path but is ${project.basedir}/lib/AEco-2.1.jar @
[ERROR] 'dependencies.dependency.systemPath' for com.earth2me.essentials.Essentials:Essentials:jar must specify an absolute path but is ${project.basedir}/lib/Essentials.jar @
[ERROR] 'dependencies.dependency.systemPath' for org.anjocaido.groupmanager.GroupManager:GroupManager:jar must specify an absolute path but is ${project.basedir}/lib/EssentialsGroupManager.jar @
[ERROR] 'dependencies.dependency.systemPath' for me.ethan.eWallet.ECO:eWallet:jar must specify an absolute path but is ${project.basedir}/lib/eWallet.jar @
[ERROR] 'dependencies.dependency.systemPath' for boardinggamer.mcmoney:McMoney:jar must specify an absolute path but is ${project.basedir}/lib/McMoney.jar @
[ERROR] 'dependencies.dependency.systemPath' for net.TheDgtl.iChat.iChat:iChat:jar must specify an absolute path but is ${project.basedir}/lib/iChat.jar @
[ERROR] 'dependencies.dependency.systemPath' for com.nijiko.coelho.iConomy.iConomy:iConomy:jar must specify an absolute path but is ${project.basedir}/lib/iConomy4.jar @
[ERROR] 'dependencies.dependency.systemPath' for com.iConomy.iConomy:iConomy:jar must specify an absolute path but is ${project.basedir}/lib/iConomy5.jar @
[ERROR] 'dependencies.dependency.systemPath' for com.iCo6.iConomy:iConomy:jar must specify an absolute path but is ${project.basedir}/lib/iConomy6.jar @
[ERROR] 'dependencies.dependency.systemPath' for com.gmail.mirelatrue.xpbank.XPBank:XPBank:jar must specify an absolute path but is ${project.basedir}/lib/XPBank.jar @
[ERROR] 'dependencies.dependency.systemPath' for net.D3GN.MiracleM4n.mChat.mChat:mChat:jar must specify an absolute path but is ${project.basedir}/lib/mChat.jar @
[ERROR] 'dependencies.dependency.systemPath' for in.mDev:mChatSuite:jar must specify an absolute path but is ${project.basedir}/lib/mChatSuite.jar @
[ERROR] 'dependencies.dependency.systemPath' for me.mjolnir.mineconomy.MineConomy:MineConomy:jar must specify an absolute path but is ${project.basedir}/lib/MineConomy.jar @
[ERROR] 'dependencies.dependency.systemPath' for me.ashtheking.currency.Currency:MultiCurrency:jar must specify an absolute path but is ${project.basedir}/lib/MultiCurrency.jar @
[ERROR] 'dependencies.dependency.systemPath' for com.nijikokun.bukkit.Permissions.Permissions:Permissions:jar must specify an absolute path but is ${project.basedir}/lib/Permissions.jar @
[ERROR] 'dependencies.dependency.systemPath' for com.platymuus.bukkit.permissions.PermissionsPlugin:PermissionsBukkit:jar must specify an absolute path but is ${project.basedir}/lib/PermissionsBukkit.jar @
[ERROR] 'dependencies.dependency.systemPath' for ru.tehkode:PermissionsEx:jar must specify an absolute path but is ${project.basedir}/lib/PermissionsEx.jar @
[ERROR] 'dependencies.dependency.systemPath' for de.bananaco.permissions.Permissions:bPermissions2:jar must specify an absolute path but is ${project.basedir}/lib/bpermissions25.jar @
[ERROR] 'dependencies.dependency.systemPath' for com.dthielke.starburst:Starburst:jar must specify an absolute path but is ${project.basedir}/lib/Starburst.jar @
[ERROR] 'dependencies.dependency.systemPath' for com.nijikokun.register:Register:jar must specify an absolute path but is ${project.basedir}/lib/Register.jar @
[ERROR] 'dependencies.dependency.systemPath' for me.greatman.Craftconomy:Craftconomy:jar must specify an absolute path but is ${project.basedir}/lib/Craftconomy.jar @
[ERROR] 'dependencies.dependency.systemPath' for net.crystalyx.bukkit.simplyperms:SimplyPerms:jar must specify an absolute path but is ${project.basedir}/lib/SimplyPerms.jar @
[ERROR] 'dependencies.dependency.systemPath' for Gringotts:Gringotts:jar must specify an absolute path but is ${project.basedir}/lib/Gringotts.jar @
[ERROR] 'dependencies.dependency.systemPath' for com.gravypod.Dosh:Dosh:jar must specify an absolute path but is ${project.basedir}/lib/Dosh.jar @
[ERROR] 'dependencies.dependency.systemPath' for com.github.zathrus_writer.commandsex:CommandsEX:jar must specify an absolute path but is ${project.basedir}/lib/CommandsEX.jar @
[ERROR] 'dependencies.dependency.systemPath' for net.ae97:TotalPermissions:jar must specify an absolute path but is ${project.basedir}/lib/TotalPermissions.jar @
[ERROR] 'dependencies.dependency.systemPath' for ru.simsonic:rscPermissions:jar must specify an absolute path but is ${project.basedir}/lib/rscPermissions.jar @
If you have a way to fix it, request a pull. This is because vault depends on many permissions/chat/economy plugins that don't use maven.