Project

General

Profile

build failure

Added by Thomas Pollet over 7 years ago

Hi,

I tried to build the latest git but I got an error:

t@ubuntu:/var/u/lt/open-ecard$ mvn clean install
[INFO] Scanning for projects...
Downloading: https://mvn.ecsec.de/content/groups/openecard-public/de/ecsec/maven/plugins/pack200-maven-plugin/1.0.1/pack200-maven-plugin-1.0.1.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin de.ecsec.maven.plugins:pack200-maven-plugin:1.0.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for de.ecsec.maven.plugins:pack200-maven-plugin:jar:1.0.1
[ERROR] Unknown packaging: signed-packed-jar
org.openecard:cifs:[unknown-version], /var/u/lt/open-ecard/cifs/pom.xml, line 15, column 13
[ERROR] Unresolveable build extension: Plugin de.ecsec.maven.plugins:pack200-maven-plugin:1.0.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for de.ecsec.maven.plugins:pack200-maven-plugin:jar:1.0.1
[ERROR] Unknown packaging: signed-packed-jar
org.openecard.clients:richclient:[unknown-version], /var/u/lt/open-ecard/clients/richclient/pom.xml, line 15, column 13

[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]
[ERROR] The project org.openecard:cifs:1.2.1 (/var/u/lt/open-ecard/cifs/pom.xml) has 2 errors
[ERROR] Unresolveable build extension: Plugin de.ecsec.maven.plugins:pack200-maven-plugin:1.0.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for de.ecsec.maven.plugins:pack200-maven-plugin:jar:1.0.1: Could not transfer artifact de.ecsec.maven.plugins:pack200-maven-plugin:pom:1.0.1 from/to openecard-repos (https://mvn.ecsec.de/content/groups/openecard-public): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 2]
[ERROR] Unknown packaging: signed-packed-jar
org.openecard:cifs:[unknown-version], /var/u/lt/open-ecard/cifs/pom.xml, line 15, column 13
[ERROR]
[ERROR] The project org.openecard.clients:richclient:1.2.1 (/var/u/lt/open-ecard/clients/richclient/pom.xml) has 2 errors
[ERROR] Unresolveable build extension: Plugin de.ecsec.maven.plugins:pack200-maven-plugin:1.0.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for de.ecsec.maven.plugins:pack200-maven-plugin:jar:1.0.1: Could not transfer artifact de.ecsec.maven.plugins:pack200-maven-plugin:pom:1.0.1 from/to openecard-repos (https://mvn.ecsec.de/content/groups/openecard-public): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 2]
[ERROR] Unknown packaging: signed-packed-jar @ org.openecard.clients:richclient:[unknown-version], /var/u/lt/open-ecard/clients/richclient/pom.xml, line 15, column 13
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException


Replies (1)

RE: build failure - Added by Tobias Wich over 7 years ago

Hi,

the problem is that the dependency can not be retrieved from our maven repository (https://mvn.ecsec.de) due to a problem in the verification of the TLS server certificate. That is because we use a Let's encrypt certificate which is not trusted by Oracle Java.
Let's encrypt claims to be supported in Java >= JDK 8u101. If that is correct an update should solve your problem.

Apart from that we are working on removing all self written or modified plugins. The next release will not come as JNLP, but as installable packages for the respective operating systems. That means we don't need the pack200 artifacts any more.

BR
Tobias

    (1-1/1)