As a start, FEDICT the federal admin responsible for the e-id provides sdk and software in open-source. Cool stuff.
The first step was to checkout http://eid-viewer.googlecode.com/svn/trunk/ eid-viewer-read-only
1) I found in there a pom.xml so I tried maven (mvn command) to build.
2) The first issue was that the Maven installed by Ubuntu cannot read the config files a version 3 is required.
3) Next I moved into one of these cool error message:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project eid-viewer-lib: Compilation failure: Compilation failure:
[ERROR] error: error reading /home/chanon/.m2/repository/be/fedict/eid-applet/eid-applet-core/1.0.5.Beta2/eid-applet-core-1.0.5.Beta2.jar; error in opening zip file
[ERROR] error: error reading /home/chanon/.m2/repository/be/fedict/eid-applet/eid-applet-service/1.0.5.Beta2/eid-applet-service-1.0.5.Beta2.jar; error in opening zip file
[ERROR] error: error reading /home/chanon/.m2/repository/be/fedict/eid-trust-service/eid-trust-service-client/1.0.0.GA/eid-trust-service-client-1.0.0.GA.jar; error in opening zip file
[ERROR] error: error reading /home/chanon/.m2/repository/be/fedict/eid-trust-service/eid-trust-service-xkms2-ws/1.0.0.GA/eid-trust-service-xkms2-ws-1.0.0.GA.jar; error in opening zip file
[ERROR] error: error reading /home/chanon/.m2/repository/org/simpleframework/simple-xml/2.6.2/simple-xml-2.6.2.jar; error in opening zip file
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project eid-viewer-lib: Compilation failure
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
It is crap and not telling anything easily usable... luckily a Fedict expert replied very quickly on the support mailing list :
Here is a summary of the answer
The problem
"...one of the repositories that we'd included in our main pom has moved, but fails to return HTTP redirect
as it should. Instead it returns some HTML stating that "we have moved" ... "
The solution
"... the presence of this repo in the dependencies of eid-viewer is now entirely historical and it may safely be removed...
For now, you can:
- in the top-level pom.xml, remove lines 271 to 274 (
"
This tip solved my issue - great thanks to Fedict and to Frank !
No comments:
Post a Comment