Project

General

Profile

Build Issues

Added by Jan Wichmann about 7 years ago

Hi everyone,
I just tried to compile openecard as mentioned in the instructions (INSTALL.md), but did not manage to finish the build.
I have cloned the git repository (https://github.com/ecsec/open-ecard.git), changed to that directory and ran "mvn clean install".
It crashed on me with
"[ERROR] Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.15:check (api-check) on project app: Failed to obtain signature: org.codehaus.mojo.signature:java-7-openjdk:1.0: Failure to find org.codehaus.mojo.signature:java-7-openjdk:signature:1.0 in https://mvn.ecsec.de/content/groups/openecard-public was cached in the local repository, resolution will not be reattempted until the update interval of openecard-repos has elapsed or updates are forced"

Looking at this error message I tried to open https://mvn.ecsec.de/content/groups/openecard-public in my browser and get a 404 not found error.
Can anyone provide me with insight on where this content has moved?
I already tried removing the relevant blocks in pom.xml, but to no avail.

Thanks for your help!


Replies (2)

RE: Build Issues - Added by Tobias Wich about 7 years ago

The Maven repository URLs have changed due to an update of the Nexus Repository Manager.
I added a commit with the corrected URLs. The build should now work again.

BR
Tobias

RE: Build Issues - Added by Jan Wichmann about 7 years ago

Thanks for your quick response. I can now advance a bit further, but I am not quite there yet. Next error message:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jarsigner-plugin:1.4:sign (sign) on project wsdef-common: Failed executing '/bin/sh -c cd /home/openecard/Downloads/open-ecard/wsdef/wsdef-common && /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-1.b14.fc25.x86_64/jre/../bin/jarsigner -keystore src/package/resources/keystore/keystore.jks -storepass '*****' -keypass '*****' -tsa https://timestamp.geotrust.com/tsa /home/openecard/Downloads/open-ecard/wsdef/wsdef-common/target/wsdef-common-1.2.4.jar selfsigned' - exitcode 1 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-jarsigner-plugin:1.4:sign (sign) on project wsdef-common: Failed executing '/bin/sh -c cd /home/openecard/Downloads/open-ecard/wsdef/wsdef-common && /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-1.b14.fc25.x86_64/jre/../bin/jarsigner -keystore src/package/resources/keystore/keystore.jks -storepass '*****' -keypass '*****' -tsa https://timestamp.geotrust.com/tsa /home/openecard/Downloads/open-ecard/wsdef/wsdef-common/target/wsdef-common-1.2.4.jar selfsigned' - exitcode 1

Again it seems to be due to some server being unavailable: https://timestamp.geotrust.com/tsa
This url just responds with a 404 -- Page Not Found using both my browser and plain curl.

It makes me wonder why the build process is relying on online resources (which seem to be less reliable than the distributed git)?

Thanks
Jan

    (1-2/2)