updated compilation

This commit is contained in:
blackwiz4rd 2021-03-04 10:08:01 +01:00
parent 495c3014e0
commit 793faa5fc3
2 changed files with 19 additions and 6 deletions

View File

@ -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/

16
pom.xml
View File

@ -70,9 +70,19 @@
<version>2.22.1</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>com.fluxlus.V2Gdecoder.V2Gdecoder</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
<!-- <plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>