mvn error with spigot essentials

Discussion in 'Spigot Plugin Development' started by jaxclipse, May 10, 2015.

  1. I cloned spigot essentials from stash and I'm trying to run "mvn package copy dependency:copy" per the readme...

    Jeffs-MacBook-Pro:essentials jcaldwell$ mvn package dependency:copy

    [INFO] Scanning for projects...

    [WARNING]

    [WARNING] Some problems were encountered while building the effective model for net.ess3:Essentials:jar:2.x-SNAPSHOT

    [WARNING] 'dependencies.dependency.systemPath' for BOSEconomy:BOSEconomy:jar should not point at files within the project directory, ${project.basedir}/../lib/BOSEconomy.jar will be unresolvable by dependent projects @ net.ess3:Essentials:[unknown-version], /Users/jcaldwell/projects/spigot/essentials/Essentials/pom.xml, line 67, column 16

    [WARNING] 'dependencies.dependency.systemPath' for iConomy:iConomy5:jar should not point at files within the project directory, ${project.basedir}/../lib/iCo5.jar will be unresolvable by dependent projects @ net.ess3:Essentials:[unknown-version], /Users/jcaldwell/projects/spigot/essentials/Essentials/pom.xml, line 79, column 16

    [WARNING] 'dependencies.dependency.systemPath' for iConomy:iConomy6:jar should not point at files within the project directory, ${project.basedir}/../lib/iCo6.jar will be unresolvable by dependent projects @ net.ess3:Essentials:[unknown-version], /Users/jcaldwell/projects/spigot/essentials/Essentials/pom.xml, line 86, column 16

    [WARNING] 'dependencies.dependency.systemPath' for net.ess3:GroupManager:jar should not point at files within the project directory, ${project.basedir}/../EssentialsGroupManager/dist/EssentialsGroupManager.jar will be unresolvable by dependent projects @ net.ess3:Essentials:[unknown-version], /Users/jcaldwell/projects/spigot/essentials/Essentials/pom.xml, line 93, column 16

    [WARNING] 'dependencies.dependency.systemPath' for MultiCurrency:MultiCurrency:jar should not point at files within the project directory, ${project.basedir}/../lib/MultiCurrency.jar will be unresolvable by dependent projects @ net.ess3:Essentials:[unknown-version], /Users/jcaldwell/projects/spigot/essentials/Essentials/pom.xml, line 100, column 16

    [WARNING] 'dependencies.dependency.systemPath' for com.platymuus:bukkit-permissions:jar should not point at files within the project directory, ${project.basedir}/../lib/PermissionsBukkit.jar will be unresolvable by dependent projects @ net.ess3:Essentials:[unknown-version], /Users/jcaldwell/projects/spigot/essentials/Essentials/pom.xml, line 107, column 16

    [WARNING] 'dependencies.dependency.systemPath' for ru.tehkode:permissionsEx:jar should not point at files within the project directory, ${project.basedir}/../lib/PermissionsEx.jar will be unresolvable by dependent projects @ net.ess3:Essentials:[unknown-version], /Users/jcaldwell/projects/spigot/essentials/Essentials/pom.xml, line 114, column 16

    [WARNING] 'dependencies.dependency.systemPath' for Privileges:privileges:jar should not point at files within the project directory, ${project.basedir}/../lib/Privileges.jar will be unresolvable by dependent projects @ net.ess3:Essentials:[unknown-version], /Users/jcaldwell/projects/spigot/essentials/Essentials/pom.xml, line 121, column 16

    [WARNING] 'dependencies.dependency.systemPath' for SimplyPerms:SimplyPerms:jar should not point at files within the project directory, ${project.basedir}/../lib/SimplyPerms.jar will be unresolvable by dependent projects @ net.ess3:Essentials:[unknown-version], /Users/jcaldwell/projects/spigot/essentials/Essentials/pom.xml, line 128, column 16

    [WARNING] 'dependencies.dependency.systemPath' for zPermissions:zPermissions:jar should not point at files within the project directory, ${project.basedir}/../lib/zPermissions.jar will be unresolvable by dependent projects @ net.ess3:Essentials:[unknown-version], /Users/jcaldwell/projects/spigot/essentials/Essentials/pom.xml, line 140, column 16

    [WARNING] 'dependencies.dependency.systemPath' for net.ess3:GroupManager:jar refers to a non-existing file /Users/jcaldwell/projects/spigot/essentials/Essentials/../EssentialsGroupManager/dist/EssentialsGroupManager.jar @ net.ess3:Essentials:[unknown-version], /Users/jcaldwell/projects/spigot/essentials/Essentials/pom.xml, line 93, 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] Reactor Build Order:

    [INFO]

    [INFO] EssentialsParent

    [INFO] Essentials

    [INFO] EssentialsAntiBuild

    [INFO] EssentialsChat

    [INFO] EssentialsGeoIP

    [INFO] EssentialsProtect

    [INFO] EssentialsSpawn

    [INFO] EssentialsXMPP

    Downloading: http://repo.maven.apache.org/maven2...antrun-plugin/1.7/maven-antrun-plugin-1.7.pom

    Downloaded: http://repo.maven.apache.org/maven2...antrun-plugin/1.7/maven-antrun-plugin-1.7.pom (5 KB at 14.4 KB/sec)

    Downloading: http://repo.maven.apache.org/maven2...antrun-plugin/1.7/maven-antrun-plugin-1.7.jar

    Downloaded: http://repo.maven.apache.org/maven2...antrun-plugin/1.7/maven-antrun-plugin-1.7.jar (31 KB at 128.6 KB/sec)

    [INFO]

    [INFO] ------------------------------------------------------------------------

    [INFO] Building EssentialsParent 2.x-SNAPSHOT

    [INFO] ------------------------------------------------------------------------

    Downloading: http://repo.maven.apache.org/maven2...acer-plugin/replacer/1.5.2/replacer-1.5.2.pom

    Downloaded: http://repo.maven.apache.org/maven2...acer-plugin/replacer/1.5.2/replacer-1.5.2.pom (6 KB at 57.4 KB/sec)

    Downloading: http://repo.maven.apache.org/maven2...acer-plugin/replacer/1.5.2/replacer-1.5.2.jar

    Downloaded: http://repo.maven.apache.org/maven2...acer-plugin/replacer/1.5.2/replacer-1.5.2.jar (38 KB at 262.6 KB/sec)

    [WARNING] The POM for org.bukkit:bukkit:jar:1.8.3-R0.1-SNAPSHOT is missing, no dependency information available

    [INFO]

    [INFO] ------------------------------------------------------------------------

    [INFO] Skipping EssentialsParent

    [INFO] This project has been banned from the build due to previous failures.

    [INFO] ------------------------------------------------------------------------

    [INFO] ------------------------------------------------------------------------

    [INFO] Reactor Summary:

    [INFO]

    [INFO] EssentialsParent ................................... FAILURE [ 0.317 s]

    [INFO] Essentials ......................................... SKIPPED

    [INFO] EssentialsAntiBuild ................................ SKIPPED

    [INFO] EssentialsChat ..................................... SKIPPED

    [INFO] EssentialsGeoIP .................................... SKIPPED

    [INFO] EssentialsProtect .................................. SKIPPED

    [INFO] EssentialsSpawn .................................... SKIPPED

    [INFO] EssentialsXMPP ..................................... SKIPPED

    [INFO] ------------------------------------------------------------------------

    [INFO] BUILD FAILURE

    [INFO] ------------------------------------------------------------------------

    [INFO] Total time: 1.573 s

    [INFO] Finished at: 2015-05-09T20:42:40-04:00

    [INFO] Final Memory: 7M/123M

    [INFO] ------------------------------------------------------------------------

    [ERROR] Failed to execute goal on project EssentialsParent: Could not resolve dependencies for project net.ess3:EssentialsParent:pom:2.x-SNAPSHOT: Failure to find org.bukkit:bukkit:jar:1.8.3-R0.1-SNAPSHOT in http://repo.ess3.net/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of ess-repo has elapsed or updates are forced -> [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

    Any ideas?
     
  2. I checked and bukkit 1.8.3-Ro.1-SNAPSHOT is not in http://repo.ess3.net:8081/content/groups/public/org/bukkit/bukkit/ but I did a clone of bukkit and mvn clean install of it.
    Now i have ~/.m2/repository/org/bukkit/bukkit/1.8.3-R0.1-SNAPSHOT/bukkit-1.8.3-R0.1-SNAPSHOT.jar in my local maven repo, but the plugin essentials isn't looking there - so I get same error...

    Any head appreciated. Thx.
     
  3. I figured it out.

    [INFO] BUILD SUCCESS

    The parent pom right now has a dependency on Bukkit 1.8.3-R0.1-SNAPSHOT. But the Essentials sub-project has a dependency in its pom on Bukkit 1.8-R0.1-SNAPSHOT.

    I just had to check out that tag from git and make sure both were in my local .m2 repo. Life on the bleeding edge!