From 793faa5fc33e3e8e1040e505f2c504d7a9e639f0 Mon Sep 17 00:00:00 2001 From: blackwiz4rd Date: Thu, 4 Mar 2021 10:08:01 +0100 Subject: [PATCH] updated compilation --- README.md | 9 ++++++--- pom.xml | 16 +++++++++++++--- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e1d8e65..ae95a86 100644 --- a/README.md +++ b/README.md @@ -6,15 +6,18 @@ This tool is based on [RISE V2G shared library](https://github.com/V2GClarity/RI A release is available with a compiled Java Runtime binary there: https://github.com/FlUxIuS/V2Gdecoder/releases -## How to compile +## How to compile or execute Install maven. To compile: -```mvn package``` +```mvn compile assembly:single``` +To execute: -If you wish to update risev2g version (and not use utilities/rise-v2g-shared-1.2.6.jar): +```java -jar target/V2Gdecoder-jar-with-dependencies.jar``` + +If you wish to update risev2g version to something >1.2.6: ``` git clone https://github.com/V2GClarity/RISE-V2G/ diff --git a/pom.xml b/pom.xml index abeb01f..73598e6 100644 --- a/pom.xml +++ b/pom.xml @@ -70,9 +70,19 @@ 2.22.1 - maven-jar-plugin - 3.0.2 - + maven-assembly-plugin + + + + true + com.fluxlus.V2Gdecoder.V2Gdecoder + + + + jar-with-dependencies + + +