Bukkit Plugin for Servers running the GT:NH Pack
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jason Mitchell c1455ea02d
Update build.yml (#4)
v3 is being deprecated
2024-11-05 23:51:18 +01:00
.github/workflows Update build.yml (#4) 2024-11-05 23:51:18 +01:00
.mvn Use the correct maven publishing endpoint URL 2023-09-28 22:26:38 +01:00
src/main CodeAnalysis cleanup 2023-10-03 12:55:47 +02:00
.gitignore Fix building and add CI (#3) 2023-09-28 22:12:32 +01:00
LICENSE Initial commit 2016-05-31 20:14:55 +02:00
PendingCommands.sql Layout file for the command-table 2023-10-03 12:51:09 +02:00
pom.xml Use the correct maven publishing endpoint URL 2023-09-28 22:26:38 +01:00
README.md Fix building and add CI (#3) 2023-09-28 22:12:32 +01:00

NewHorizonsServerCore

Bukkit Plugin for Servers running the GT:NH Pack

Building locally

First, install Maven (or use IntelliJ's built-in).

In IntelliJ

  1. Open the project directory in IntelliJ
  2. Import the Maven project (might happen automatically, check the right sidebar for a Maven panel)
  3. Right click on the project (NewHorizonsServerCore) in the explorer on the left, Open Module Settings, in the Project subwindow choose Java 8 as the JDK.
  4. In the Maven sidebar, Lifecycle->package
  5. Find the jar in target/NewHorizonsServerCore-VERSION.jar

From the terminal

  1. Make sure JAVA_HOME points to Java 8
  2. Run mvn package
  3. Find the jar in target/NewHorizonsServerCore-VERSION.jar

To build with the git version number like in CI, use mvn -B package "-Drevision=$(git describe --tags)".