forked from Bukkit/Bukkit
    
        
        - 
                Notifications
    
You must be signed in to change notification settings  - Fork 22
 
Compiling
        md-5 edited this page Jan 7, 2012 
        ·
        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 mavenGo to the root of your local repository (where pom.xml is located) and execute the following:
    mvn clean installMaven 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 cleanPlease note that we compile against Java 1.5, if you find yourself in need of Java 1.6 methods, please take a look at:
org.bukkit.util.Java15Compat