Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Talk:RISE V2G

I tried to build according to instructions (command line maven on linux), and it does not work.

I can only assume that
<descriptor>${project.baseUri}src/assembly/bin.xml</descriptor>
is wrong.

Any idea why I am the only one having this problem? Ubuntu 16.04.4, x64, Apache Maven 3.3.9, Java version: 1.8.0_162

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4.1:single (make-my-jar-with-dependencies) on project evcc: Error reading assemblies: Error locating assembly descriptor: file:/home/developer/yocto/devel/risev2g/RISE-V2G-EVCC/src/assembly/bin.xml
[ERROR] 
[ERROR] [1] [INFO] Searching for file location: /home/developer/yocto/devel/risev2g/RISE-V2G-EVCC/file:/home/developer/yocto/devel/risev2g/RISE-V2G-EVCC/src/assembly/bin.xml
[ERROR] 
[ERROR] [2] [INFO] File: /home/developer/yocto/devel/risev2g/RISE-V2G-EVCC/file:/home/developer/yocto/devel/risev2g/RISE-V2G-EVCC/src/assembly/bin.xml does not exist.
[ERROR] 
[ERROR] [3] [INFO] File: /home/developer/yocto/devel/risev2g/file:/home/developer/yocto/devel/risev2g/RISE-V2G-EVCC/src/assembly/bin.xml does not exist.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :evcc
Correcting to
<descriptor>${project.basedir}/src/assembly/bin.xml</descriptor>
solves that problem, only to run into the next one:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4.1:single (default) on project evcc: Failed to create assembly: Error creating assembly archive jar-with-dependencies: Problem creating jar: jar:file:/home/developer/yocto/devel/risev2g/RISE-V2G-EVCC/target/archive-tmp/evcc-1.0.0-SNAPSHOT.jar!/org/eclipse/risev2g/evcc/main/StartEVCC.class: JAR entry org/eclipse/risev2g/evcc/main/StartEVCC.class not found in /home/developer/yocto/devel/risev2g/RISE-V2G-EVCC/target/archive-tmp/evcc-1.0.0-SNAPSHOT.jar -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :evcc

But:

unzip -l /home/developer/yocto/devel/risev2g/RISE-V2G-EVCC/target/archive-tmp/evcc-1.0.0-SNAPSHOT.jar|grep StartEVCC
     1128  2018-05-08 16:00   org/eclipse/risev2g/evcc/main/StartEVCC.class

and

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4.1:single (default) on project secc: Failed to create assembly: Error creating assembly archive jar-with-dependencies: Problem creating jar: jar:file:/home/developer/yocto/devel/risev2g/RISE-V2G-SECC/target/archive-tmp/secc-1.0.0-SNAPSHOT.jar!/org/eclipse/risev2g/secc/main/StartSECC.class: JAR entry org/eclipse/risev2g/secc/main/StartSECC.class not found in /home/developer/yocto/devel/risev2g/RISE-V2G-SECC/target/archive-tmp/secc-1.0.0-SNAPSHOT.jar -> [Help 1]


=> NOTE FROM THE AUTHOR OF RISE V2G:


Please use the updated RISE V2G source and getting started guide on github: https://github.com/V2GClarity/RISE-V2G. The project's license has changed from EPL to MIT and will, therefore, not be updated on the Eclipse site anymore.

Back to the top