PhatLoots
PhatLoots copied to clipboard
Could not build PhatLoots
I tried to build the updated version of PhatLoots, and received the following errors.
[INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.codisimus.plugins:phatloots:jar:5.0.0-SNAPSHOT [WARNING] 'dependencies.dependency.systemPath' for net.elseland.xikage.MythicMobs:mythicmobs:jar should not point at files within the project directory, ${basedir}/lib/MythicMobs-4.4.1.jar will be unresolvable by dependent projects @ line 99, column 25 [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] ------------------< com.codisimus.plugins:phatloots >------------------- [INFO] Building PhatLoots 5.0.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- Downloading from mythicdrops-repo: https://artifactory.pixeloutlaw.io/artifactory/maven-releases/org/bukkit/bukkit/1.6.2-R0.1-SNAPSHOT/bukkit-1.6.2-R0.1-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.455 s [INFO] Finished at: 2018-12-29T12:51:18-05:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project phatloots: Could not resolve dependencies for project com.codisimus.plugins:phatloots:jar:5.0.0-SNAPSHOT: Failed to collect dependencies at com.sk89q.worldguard:worldguard-legacy:jar:7.0.0-SNAPSHOT -> com.sk89q:commandbook:jar:2.3 -> org.bukkit:bukkit:jar:1.6.2-R0.1-SNAPSHOT: Failed to read artifact descriptor for org.bukkit:bukkit:jar:1.6.2-R0.1-SNAPSHOT: Could not transfer artifact org.bukkit:bukkit:pom:1.6.2-R0.1-SNAPSHOT from/to mythicdrops-repo (https://artifactory.pixeloutlaw.io/artifactory/maven-releases): Failed to transfer file https://artifactory.pixeloutlaw.io/artifactory/maven-releases/org/bukkit/bukkit/1.6.2-R0.1-SNAPSHOT/bukkit-1.6.2-R0.1-SNAPSHOT.pom with status code 409 -> [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
This appears to be my fork you are using, please direct future discussion there.
Anyway, what command in the console are attempting to use to build PhatLoots? I've just been using mvn clean install
and it builds without errors.
I intentionally made the pom.xml point to a systemPath for MythicMobs because there is no public repository for it to my knowledge. If you need any more help, please create an issue at https://github.com/RednedEpic/PhatLoots and direct further messaging there.
Hey, thanks for responding. I would have opened an issue on your fork, but there doesn't seem to be a place to do that.
I've only used maven once before on a different computer, so I just installed maven on my current computer this afternoon. I used the same command I used last time, mvn package
I tried mvn clean install
after you suggested it, but it returned the same error. I'm sure it's something on my end, but I don't know enough about coding to figure out what I'm doing wrong.
My bad, it's fixed now. The problem may have to do with the fact that you're lacking some dependencies needed in order for the jar to compile. Do you have Discord? It may be easier to communicate there. Contact me with Redned#9473.
Hmm. Discord doesn't seem to think you exist. I'm Doctor_JohnSmith#7795, perhaps you will have more luck than I did.
Ah, I know why. I just sent you a friend request.