Solved Build Maven Project that uses NMS code

Discussion in 'Plugin Development' started by Lionhard, Feb 23, 2016.

Thread Status:
Not open for further replies.
  1. Hey guys,

    everytime I try to build a maven project in intelliJ idea, that uses CraftBukkit as a library, it says it doesn't know the methods.

    Is there even a way to build that project or am I just doing something wrong?

    thanks in advance

    EDIT: Using the maven repository created automatically after using BuildTools as a dependency worked now.
     
    Last edited: Feb 23, 2016
  2. You might want to try and use the Java editor recommended by the Bukkit tutorial.
     
    Lionhard likes this.
  3. @0ct0berBkkitPlgins Thanks, I've figured it out myself now. When running BuildTools, it automatically creates local maven repositories of Bukkit, Spigot and CraftBukkit, which I was looking for. I just needed to add that as a dependency and it worked. :)
     
Thread Status:
Not open for further replies.

Share This Page