diff --git a/ic_plugin_core/pom.xml b/ic_plugin_core/pom.xml index 33bab80..a14bf82 100644 --- a/ic_plugin_core/pom.xml +++ b/ic_plugin_core/pom.xml @@ -1,90 +1,127 @@ - 4.0.0 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - nl.interestingcorner.core - ic_plugin_core - 1.0-SNAPSHOT + nl.interestingcorner.core + ic_plugin_core + 1.0-SNAPSHOT - ic_plugin_core - - https://interesting-corner.nl + ic_plugin_core + + https://interesting-corner.nl - - UTF-8 - 17 - + + UTF-8 + 17 + + + + spigot-repo + https://hub.spigotmc.org/nexus/content/repositories/snapshots/ + + + + + + org.junit + junit-bom + 5.11.0 + pom + import + + + - - - org.junit - junit-bom - 5.11.0 - pom - import - + + org.junit.jupiter + junit-jupiter-api + test + + + + org.junit.jupiter + junit-jupiter-params + test + + + com.google.errorprone + error_prone_annotations + 2.28.0 + provided + + + org.spigotmc + spigot-api + 1.21.8-R0.1-SNAPSHOT + provided + + + org.xerial + sqlite-jdbc + 3.50.3.0 + - - - - org.junit.jupiter - junit-jupiter-api - test - - - - org.junit.jupiter - junit-jupiter-params - test - - - - - - - - - maven-clean-plugin - 3.4.0 - - - - maven-resources-plugin - 3.3.1 - - - maven-compiler-plugin - 3.13.0 - - - maven-surefire-plugin - 3.3.0 - - - maven-jar-plugin - 3.4.2 - - - maven-install-plugin - 3.1.2 - - - maven-deploy-plugin - 3.1.2 - - - - maven-site-plugin - 3.12.1 - - - maven-project-info-reports-plugin - 3.6.1 - - - - + + ${project.basedir}/src/main/java + + + ${project.basedir}/src/main/resources + + plugin.yml + + + + + + + + maven-clean-plugin + 3.4.0 + + + + maven-resources-plugin + 3.3.1 + + + maven-compiler-plugin + 3.13.0 + + + maven-surefire-plugin + 3.3.0 + + + maven-jar-plugin + 3.4.2 + + + ${db.username} + ${db.password} + + + + + maven-install-plugin + 3.1.2 + + + maven-deploy-plugin + 3.1.2 + + + + maven-site-plugin + 3.12.1 + + + maven-project-info-reports-plugin + 3.6.1 + + + + diff --git a/ic_plugin_core/src/main/java/nl/interestingcorner/core/App.java b/ic_plugin_core/src/main/java/nl/interestingcorner/core/App.java index 9212e84..43ef657 100644 --- a/ic_plugin_core/src/main/java/nl/interestingcorner/core/App.java +++ b/ic_plugin_core/src/main/java/nl/interestingcorner/core/App.java @@ -1,10 +1,17 @@ package nl.interestingcorner.core; +import org.bukkit.plugin.java.JavaPlugin; + /** * Hello world! */ public class App { - public static void main(String[] args) { - System.out.println("Hello World!"); + @Override + public void onEnable() { + getLogger().info("Hello, SpigotMC!"); + } + @Override + public void onDisable() { + getLogger().info("See you again, SpigotMC!"); } }