Problem Compiling craftbukkit

Discussion in 'Bukkit Help' started by JMEYER, Jan 13, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    JMEYER

    Hey everyone,

    So I tried compiling my craftbukkit project, but wound up with this error (entire output shown):

    Code:
    [INFO] Scanning for projects...
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building CraftBukkit 0.0.1-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [WARNING] The POM for org.bukkit:bukkit:jar:0.0.1-SNAPSHOT is missing, no dependency information available
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 0.321s
    [INFO] Finished at: Fri Jan 14 00:10:26 EST 2011
    [INFO] Final Memory: 2M/15M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal on project craftbukkit: Could not resolve dependencies for project org.bukkit:craftbukkit:jar:0.0.1-SNAPSHOT: Failure to find org.bukkit:bukkit:jar:0.0.1-SNAPSHOT in http://dl.dwim.org/~ebroes/maven was cached in the local repository, resolution will not be reattempted until the update interval of tmp-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

    I don't understand why it isn't finding the POM, but that would explain why it cannot resolve the dependencies. "pom.xml" has been included in the project.

    I have thorough Java experience, but am a first time Maven user. Can anyone provide any insight?

    Many thanks,

    JMEYER
     
  2. Offline

    Kekec852

    You need to complie(mvn clean install) Bukkit first ... For CraftBukkit to compile ...
     
  3. Offline

    JMEYER

    Clean compile for Bukkit works just fine ("Maven clean"). I still get the same error when trying to run CraftBukkit as a "Maven package".

    Now, with the newest 1.2_01 update, I'm getting some errors in my craftbukkit project.

    It appears as if the classes in bukkit aren't being recognized even though the bukkit project is in the Maven dependencies folder.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 8, 2016
  4. Offline

    Kekec852

    You must mvn install so it install Bukkit into local repository ....

    Let me see, I try to compile it form https://github.com/Bukkit/Bukkit and https://github.com/Bukkit/CraftBukkit
    fresh from git. And Bukkit complies but CraftBukkit don't ... So we should wait ...
     
  5. Offline

    JMEYER

    Ok. Forget compiling craftbukkit. I just downloaded a compiled jar from another thread.

    Now, what's up with this? Everything seems to be giving me headaches. I already packaged a plugin, now it somehow can't recognize any classes from Bukkit. What's up?

    Edit: Everything's working fine now :).
     
Thread Status:
Not open for further replies.

Share This Page