From fa8c62899e9de4d7f573b837f642aeae399c6c8b Mon Sep 17 00:00:00 2001 From: Jim Joyce Date: Mon, 27 Sep 2021 11:30:24 +0100 Subject: [PATCH] Updated with Maven build. --- pom.xml | 25 +++++++++++++++++++ .../nekojimi}/javamaventemplate/Main.java | 12 ++++----- 2 files changed, 31 insertions(+), 6 deletions(-) rename src/main/java/{uk/co/chamsys => moe/nekojimi}/javamaventemplate/Main.java (64%) diff --git a/pom.xml b/pom.xml index f8767be..08adc63 100644 --- a/pom.xml +++ b/pom.xml @@ -10,4 +10,29 @@ 11 11 + + + + maven-assembly-plugin + + + jar-with-dependencies + + + + moe.nekojimi.javamaventemplate.Main + + + + + + package + + single + + + + + + \ No newline at end of file diff --git a/src/main/java/uk/co/chamsys/javamaventemplate/Main.java b/src/main/java/moe/nekojimi/javamaventemplate/Main.java similarity index 64% rename from src/main/java/uk/co/chamsys/javamaventemplate/Main.java rename to src/main/java/moe/nekojimi/javamaventemplate/Main.java index 645962d..17ac700 100644 --- a/src/main/java/uk/co/chamsys/javamaventemplate/Main.java +++ b/src/main/java/moe/nekojimi/javamaventemplate/Main.java @@ -3,19 +3,19 @@ * To change this template file, choose Tools | Templates * and open the template in the editor. */ -package uk.co.chamsys.javamaventemplate; +package moe.nekojimi.javamaventemplate; /** * * @author jim */ -public class Main { - +public class Main +{ /** * @param args the command line arguments */ - public static void main(String[] args) { - // TODO code application logic here + public static void main(String[] args) + { + System.out.println("Hello world!"); } - }