fixed risev2g dependency
This commit is contained in:
parent
e86ad45a63
commit
0e5f2e0160
|
@ -0,0 +1 @@
|
|||
target/
|
17
README.md
17
README.md
|
@ -9,19 +9,14 @@ A release is available with a compiled Java Runtime binary there: https://github
|
|||
## How to compile
|
||||
Install maven
|
||||
Build risev2g (or use utilities/rise-v2g-shared-1.2.6.jar):
|
||||
`git clone https://github.com/V2GClarity/RISE-V2G/`
|
||||
`cd RISE-V2G/RISE-V2G-PARENT`
|
||||
`mvn install`
|
||||
Now install the RISE-V2G-Shared in our project:
|
||||
`mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file -Dfile=utilities/rise-v2g-shared-1.2.6.jar`
|
||||
```git clone https://github.com/V2GClarity/RISE-V2G/```
|
||||
```cd RISE-V2G/RISE-V2G-PARENT```
|
||||
```mvn install```
|
||||
Now copy RISE-V2G-Shared in our project:
|
||||
```cp RISE-V2G/RISE-V2G-Shared/target/rise-v2g-shared-1.2.6.jar src/lib/com.v2gclarity.risev2g/```
|
||||
|
||||
To compile
|
||||
`mvn package`
|
||||
|
||||
Fix risev2g inclusion:
|
||||
-com.v2gclarity.risev2g.shared.enumerations
|
||||
-com.v2gclarity.risev2g.shared.messageHandling
|
||||
-com.v2gclarity.risev2g.shared.utils
|
||||
```mvn package```
|
||||
|
||||
## How to use
|
||||
|
||||
|
|
16
pom.xml
16
pom.xml
|
@ -20,7 +20,19 @@
|
|||
<maven.compiler.target>1.7</maven.compiler.target>
|
||||
</properties>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>project-local-repo</id>
|
||||
<url>file://${project.basedir}/src/lib/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.v2gclarity.risev2g</groupId>
|
||||
<artifactId>rise-v2g-shared</artifactId>
|
||||
<version>1.2.6</version>
|
||||
</dependency>
|
||||
<!-- https://mvnrepository.com/artifact/com.siemens.ct.exi/exificient -->
|
||||
<dependency>
|
||||
<groupId>com.siemens.ct.exi</groupId>
|
||||
|
@ -61,10 +73,10 @@
|
|||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.0.2</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<!-- <plugin>
|
||||
<artifactId>maven-install-plugin</artifactId>
|
||||
<version>2.5.2</version>
|
||||
</plugin>
|
||||
</plugin> -->
|
||||
<plugin>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>2.8.2</version>
|
||||
|
|
|
@ -46,7 +46,7 @@ public class dataprocess {
|
|||
}
|
||||
|
||||
public static void initConfig() {
|
||||
MiscUtils.setV2gEntityConfig("./test.properties");
|
||||
MiscUtils.loadProperties("./test.properties");
|
||||
}
|
||||
|
||||
public static String Xml2Exi(String xmlstr, decodeMode mode) throws IOException, SAXException, EXIException {
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
com/fluxlus/V2Gdecoder/server/WorkerRunnable.class
|
||||
com/fluxlus/V2Gdecoder/dataprocess/dataprocess.class
|
||||
com/fluxlus/V2Gdecoder/server/MultiThreadedServer.class
|
||||
com/fluxlus/V2Gdecoder/dataprocess/decodeMode.class
|
||||
com/fluxlus/V2Gdecoder/V2Gdecoder.class
|
||||
com/fluxlus/V2Gdecoder/binascii/BinAscii.class
|
Loading…
Reference in New Issue