forked from Bukkit/Bukkit
-
Notifications
You must be signed in to change notification settings - Fork 22
Compiling
FernFerret edited this page Aug 29, 2011
·
12 revisions
Bukkit uses Maven 3 to build and package from source to jar.
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
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