Compiling - TheNewEconomy/TNE-Bukkit GitHub Wiki

Compiling The New Economy

This tutorial assumes that you have knowledge of Maven, and how to properly use it.

Prerequisites

Before compiling, please remember to properly configure your GitHub settings for the GitHub package registry. Also, in order to compile you must minimally have these two servers configured in your settings.xml file:

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
                      https://maven.apache.org/xsd/settings-1.0.0.xsd">
    <servers>
        <server>
            <id>github</id>
            <username>username</username>
            <password>token</password>
        </server>
        <server>
            <id>githubTowny</id>
            <username>username</username>
            <password>token</password>
        </server>
    </servers>
</settings>

Compiling

After you have correctly setup your prerequisites, you may now run the normal maven package process on the pom.xml in the /TNE directory. If you wish to compile individual modules, they have their own pom.xml files in their respective directories.

⚠️ **GitHub.com Fallback** ⚠️