Maven Project Setup

Create a new maven project in IDE of your choice. We recommend you to use Jetbrains IDE for Java i.e. Intellij IDEA. It comes in two versions that are free and paid.

Open your pom.xml file and add the repository in the pom.xml so it can fetch the WaterdogPE Plugin API dependencies


Add the dependency for WaterdogPE plugin API


Add the following build code to allow the plugin.yml and other config files being included in the jar: