Building Repository
MCTyler opened this issue · 26 comments
Hey, I tried to Build the Plugin for that Kid that wanted Black Signs but Maven can't find 88 of your dependencies. Can you please fix the POM sometime so Avg Joe's can build it?
I use eclipse and the pom works when I compile the plugin. So I would not know what to chsnge to solve your problem.
Thats because you have them all locally. I don't. What can I use to get all the dependencies?
My repository is not locally. Check pom.yml i use fractal.lindegaard.one where i have Artifactory installed
Im not very strong on maven, :-) so i can easily have made an error, but i would not know.
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for one.lindegaard:MobHunting:jar:5.5.7
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.spigotmc:spigot-api:jar -> version ${spigotmc111R1.version} vs ${spigotmc112.version} @ line 345, column 15
[WARNING] 'dependencies.dependency.systemPath' for org.craftbukkit:craftbukkit111R1:jar should not point at files within the project directory, ${project.basedir}/lib/craftbukkit-1.11.2.jar will be unresolvable by dependent projects @ line 367, column 16
[WARNING] 'dependencies.dependency.systemPath' for org.craftbukkit:craftbukkit110R1:jar should not point at files within the project directory, ${project.basedir}/lib/craftbukkit-1.10.2-R0.1-SNAPSHOT.jar will be unresolvable by dependent projects @ line 375, column 16
[WARNING] 'dependencies.dependency.systemPath' for org.craftbukkit:craftbukkit19R2:jar should not point at files within the project directory, ${project.basedir}/lib/craftbukkit-1.9.4-R0.1-SNAPSHOT.jar will be unresolvable by dependent projects @ line 383, column 16
[WARNING] 'dependencies.dependency.systemPath' for org.craftbukkit:craftbukkit19R1:jar should not point at files within the project directory, ${project.basedir}/lib/craftbukkit-1.9-R0.1-SNAPSHOT.jar will be unresolvable by dependent projects @ line 391, column 16
[WARNING] 'dependencies.dependency.systemPath' for org.craftbukkit:craftbukkit18R3:jar should not point at files within the project directory, ${project.basedir}/lib/craftbukkit-1.8.8-R0.1-SNAPSHOT.jar will be unresolvable by dependent projects @ line 399, column 16
[WARNING] 'dependencies.dependency.systemPath' for org.craftbukkit:craftbukkit18R2:jar should not point at files within the project directory, ${project.basedir}/lib/craftbukkit-1.8.3-R0.1-SNAPSHOT.jar will be unresolvable by dependent projects @ line 407, column 16
[WARNING] 'dependencies.dependency.systemPath' for org.craftbukkit:craftbukkit18R1:jar should not point at files within the project directory, ${project.basedir}/lib/craftbukkit-1.8-R0.1-SNAPSHOT.jar will be unresolvable by dependent projects @ line 415, column 16
[WARNING] 'dependencies.dependency.systemPath' for org.gestern.gringotts:Gringotts:jar should not point at files within the project directory, ${project.basedir}/lib/${gringotts.jar.version} will be unresolvable by dependent projects @ line 655, column 16
[WARNING] 'dependencies.dependency.systemPath' for com.massivecraft:Factions:jar should not point at files within the project directory, ${project.basedir}/lib/${factionsuuid.jar.version} will be unresolvable by dependent projects @ line 768, column 16
[WARNING] 'dependencies.dependency.systemPath' for com.extrahardmode.ExtraHardMode:ExtraHardMode:jar should not point at files within the project directory, ${project.basedir}/lib/${extrahardmode.jar.version} will be unresolvable by dependent projects @ line 821, column 16
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building MobHunting 5.5.7
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for net.milkbowl.vault:Vault:jar:1.6.6 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for one.lindegaard:BagOfGold:jar:1.0.4 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] Downloading: https://fractal.lindegaard.one:8187/artifactory/ext-release-local/de/keyle/mypet/2.3.3-SNAPSHOT/mypet-2.3.3-SNAPSHOT.pom
[WARNING] The POM for me.eccentric_nz.tardisweepingangels:TARDISWeepingAngels:jar:2.4 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for uk.antiperson.stackmob:StackMob:jar:2.1.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for me.jjm_223.smartgiants:SmartGiants:jar:2.3.6 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for pgDev:DisguiseCraft:jar:5.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for net.milkbowl.vault:Vault:jar:1.2.32 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for net.elseland.xikage:MythicMobs:jar:2.5.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for io.lumine.xikage:MythicMobs:jar:4.1.0-20170711.170324-1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for MythicLib:MythicLib:jar:0.0.1-20170628.172950-1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for de.hellfirepvp:CustomMobs:jar:4.16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.garbagemule:mobarena:jar:0.97.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.sainttx.holograms:holograms:jar:2.5.0-20170830.194431-1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] Downloading: https://fractal.lindegaard.one:8187/artifactory/ext-release-local/au/com/mineauz/Minigames/1.9.0-SNAPSHOT/Minigames-1.9.0-SNAPSHOT.pom
[WARNING] The POM for com.massivecraft.massivecore:MassiveCore:jar:2.12.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.massivecraft.factions:Factions:jar:2.12.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.black_ixx:BossShop:jar:2.7.3 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.968 s
[INFO] Finished at: 2018-03-19T11:58:18-05:00
[INFO] Final Memory: 9M/184M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project MobHunting: Could not resolve dependencies for project one.lindegaard:MobHunting:jar:5.5.7: Failed to collect dependencies at de.keyle:mypet:jar:2.3.3-SNAPSHOT: Failed to read artifact descriptor for de.keyle:mypet:jar:2.3.3-SNAPSHOT: Could not transfer artifact de.keyle:mypet:pom:2.3.3-SNAPSHOT from/to fractal-ext-rel (https://fractal.lindegaard.one:8187/artifactory/ext-release-local/): Failed to transfer https://fractal.lindegaard.one:8187/artifactory/ext-release-local/de/keyle/mypet/2.3.3-SNAPSHOT/mypet-2.3.3-SNAPSHOT.pom. Error code 409, Conflict -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
I use BuildTools all the time so I should have most versions. I prob don't have 1.7 or 1.8.
You know I have been with you from day 1 on MobHunter? @2014 I believe.
I has been a very long journey. No one can imagine how many hours i have spend on this plugin. Just for fun, as my hobby.
Well I can't get it. I built all the craftbukkits and Spigots and put them in the Lib folder and still get the same errors as above when building.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building MobHunting 5.5.7
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.bukkit.org/content/groups/public/org/bukkit/bukkit/1.8-R0.1-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.bukkit:bukkit:1.8-R0.1-SNAPSHOT/maven-metadata.xml from/to bukkit-repo (http://repo.bukkit.org/content/groups/public/): repo.bukkit.org: No address associated with hostname
[WARNING] Failure to transfer org.bukkit:bukkit:1.8-R0.1-SNAPSHOT/maven-metadata.xml from 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. Original error: Could not transfer metadata org.bukkit:bukkit:1.8-R0.1-SNAPSHOT/maven-metadata.xml from/to bukkit-repo (http://repo.bukkit.org/content/groups/public/): repo.bukkit.org: No address associated with hostname
[WARNING] The POM for one.lindegaard:BagOfGold:jar:1.0.4 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for me.eccentric_nz.tardisweepingangels:TARDISWeepingAngels:jar:2.4 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for uk.antiperson.stackmob:StackMob:jar:2.1.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for me.jjm_223.smartgiants:SmartGiants:jar:2.3.6 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for pgDev:DisguiseCraft:jar:5.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for net.milkbowl.vault:Vault:jar:1.2.32 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for net.elseland.xikage:MythicMobs:jar:2.5.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for io.lumine.xikage:MythicMobs:jar:4.1.0-20170711.170324-1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for MythicLib:MythicLib:jar:0.0.1-20170628.172950-1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for de.hellfirepvp:CustomMobs:jar:4.16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.garbagemule:mobarena:jar:0.97.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
Downloading: http://repo.mcstats.org/content/repositories/public/com/sainttx/holograms/holograms/2.5.0-SNAPSHOT/maven-metadata.xml
[WARNING] The POM for com.sainttx.holograms:holograms:jar:2.5.0-20170830.194431-1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
Downloading: https://fractal.lindegaard.one:8187/artifactory/ext-release-local/au/com/mineauz/Minigames/1.9.0-SNAPSHOT/Minigames-1.9.0-SNAPSHOT.pom
[WARNING] The POM for com.massivecraft.massivecore:MassiveCore:jar:2.12.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.massivecraft.factions:Factions:jar:2.12.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.black_ixx:BossShop:jar:2.7.3 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
Downloading: http://repo.mcstats.org/content/groups/public/org/bukkit/bukkit/1.9-R0.1-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.bukkit:bukkit:1.9-R0.1-SNAPSHOT/maven-metadata.xml from/to mcstats-repo (http://repo.mcstats.org/content/groups/public/): Failed to transfer file: http://repo.mcstats.org/content/groups/public/org/bukkit/bukkit/1.9-R0.1-SNAPSHOT/maven-metadata.xml. Return code is: 522 , ReasonPhrase:Origin Connection Time-out.
[WARNING] Failure to transfer org.bukkit:bukkit:1.9-R0.1-SNAPSHOT/maven-metadata.xml from http://repo.mcstats.org/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of mcstats-repo has elapsed or updates are forced. Original error: Could not transfer metadata org.bukkit:bukkit:1.9-R0.1-SNAPSHOT/maven-metadata.xml from/to mcstats-repo (http://repo.mcstats.org/content/groups/public/): Failed to transfer file: http://repo.mcstats.org/content/groups/public/org/bukkit/bukkit/1.9-R0.1-SNAPSHOT/maven-metadata.xml. Return code is: 522 , ReasonPhrase:Origin Connection Time-out.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 38.872 s
[INFO] Finished at: 2018-03-19T18:49:57-05:00
[INFO] Final Memory: 13M/238M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project MobHunting: Could not resolve dependencies for project one.lindegaard:MobHunting:jar:5.5.7: Failed to collect dependencies at au.com.mineauz:Minigames:jar:1.9.0-SNAPSHOT: Failed to read artifact descriptor for au.com.mineauz:Minigames:jar:1.9.0-SNAPSHOT: Could not transfer artifact au.com.mineauz:Minigames:pom:1.9.0-SNAPSHOT from/to fractal-ext-rel (https://fractal.lindegaard.one:8187/artifactory/ext-release-local/): Failed to transfer file: https://fractal.lindegaard.one:8187/artifactory/ext-release-local/au/com/mineauz/Minigames/1.9.0-SNAPSHOT/Minigames-1.9.0-SNAPSHOT.pom. Return code is: 409 , ReasonPhrase:Conflict. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException