From 7b8e17e427536c7552bed70c516318690b687d65 Mon Sep 17 00:00:00 2001 From: ao Date: Sun, 28 Jul 2019 15:04:13 +0100 Subject: [PATCH 1/2] Allow to build from maven --- pom.xml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3bd94ab..efa967e 100644 --- a/pom.xml +++ b/pom.xml @@ -9,6 +9,7 @@ 1.0-SNAPSHOT + src org.apache.maven.plugins @@ -18,6 +19,21 @@ 1.8 + + + org.apache.maven.plugins + maven-jar-plugin + 3.1.0 + + + + true + lib/ + gl.ao.add.ADD + + + + @@ -28,4 +44,4 @@ - \ No newline at end of file + From bef260a9a460d66fb4e7b42648e087e62e939ad1 Mon Sep 17 00:00:00 2001 From: ao Date: Sun, 28 Jul 2019 15:06:59 +0100 Subject: [PATCH 2/2] Update README with Maven build instructions --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 96a6837..477e0de 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ Yes, of course you can! `git clone https://github.com/ao/ADD.git` +### Using IntelliJ? + `Open in IntelliJ IDEA.` `Edit configurations..` @@ -40,5 +42,12 @@ Set the `classpath` to `ADD` and the `Main class` to `gl.ao.add.ADD` `Run the application!` +### Using Maven on the commandline? + +`mvn clean install` + +`java -jar target/add-1.0-SNAPSHOT.jar` + ## Problems? -[Create an issue](https://github.com/ao/ADD/issues/new) if you need help \ No newline at end of file +[Create an issue](https://github.com/ao/ADD/issues/new) if you need help +