From d445d09c0260e4f3a7b623dde0c261476142664f Mon Sep 17 00:00:00 2001 From: Riduidel Date: Tue, 2 Oct 2018 11:30:07 +0200 Subject: [PATCH 1/2] Made everest easily runnable in dev mode Using the exec maven plugin allow easier launch of application by just running two maven commands : `mvn package`and `mvn exec:java`. They can even be merged `mvn package exec:java`. It could even be simpler using a profile ... --- README.md | 2 +- pom.xml | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3f8394b..0aeb5da 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ Everest uses Maven, so building from the source code is very simple. You need to 1. Clone the repository: `git clone https://github.com/RohitAwate/Everest.git` 2. Enter the repository: `cd Everest` 3. Build a binary: `mvn package` -4. Run the binary: `java -jar target/Everest-Alpha-1.X.jar` replacing 'X' with the current version. +4. Run the binary: `mvn exec:java`. **For JDK 10 and above:** JavaFX has been decoupled from the JDK and will need to be installed separately. diff --git a/pom.xml b/pom.xml index a1dc455..0e66cae 100644 --- a/pom.xml +++ b/pom.xml @@ -26,6 +26,7 @@ UTF-8 1.8 1.8 + com.rohitawate.everest.Main @@ -45,7 +46,7 @@ - com.rohitawate.everest.Main + ${main.class} @@ -53,6 +54,14 @@ + + org.codehaus.mojo + exec-maven-plugin + 1.6.0 + + ${main.class} + + From 90c3e695556b93d1b3f454ad7c39fb010678c25f Mon Sep 17 00:00:00 2001 From: Riduidel Date: Wed, 3 Oct 2018 14:40:24 +0200 Subject: [PATCH 2/2] The amount of dots in this text is damn too high ! --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0aeb5da..1ebdc8d 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ Everest uses Maven, so building from the source code is very simple. You need to 1. Clone the repository: `git clone https://github.com/RohitAwate/Everest.git` 2. Enter the repository: `cd Everest` 3. Build a binary: `mvn package` -4. Run the binary: `mvn exec:java`. +4. Run the binary: `mvn exec:java` **For JDK 10 and above:** JavaFX has been decoupled from the JDK and will need to be installed separately.