Skip to content

Compiling

FernFerret edited this page Aug 29, 2011 · 12 revisions

Bukkit uses Maven 3 to build and package from source to jar.

Maven 3

Installing Maven

Download Maven 3 at: http://maven.apache.org/download.html

To get (a probably old) Maven do the following:

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

Using Maven

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

    mvn clean install

Maven will compile, create and locally install the jar file. If this executed successfully, target/bukkit-*-SNAPSHOT.jar has been created.

To clean your directory use:

    mvn clean
Clone this wiki locally