Skip to content

Compiling

FrozenCow edited this page Jan 3, 2011 · 12 revisions

Bukkit primarily uses Maven to build and package from source to jar, but you can also use ant if you're used to that.

Ant

Go to the root of your local repository (where build.xml is located) and execute the following:

    ant

Maven

Installing Maven

To get Maven do the following:

    sudo apt-get install maven2
  • Arch Linux (note: Maven will be installed under /opt/maven/bin/mvn)
    sudo pacman -S maven

Using Maven

Go to the root of your local repository (where pom.xml is located) and execute the following:

    mvn install

Maven will compile and create a jar file. If this executed successfully, target/bukkit-0.0.1-SNAPSHOT.jar has been created.

To clean your directory use:

    mvn clean
Clone this wiki locally