Skip to content

Compiling

FrozenCow edited this page Jan 3, 2011 · 12 revisions

Installing Maven

Bukkit uses Maven to build and package from source to jar. 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