Hi everyone,
when trying to run maven to install DSpace, maven fails at the first
component to download. Here a bit more detail about my problem, which I
have posted previously but unfortunately did not receive any reply:
INFO: I/O exception (java.net.SocketException) caught when processing
request to {s}->https://repo.maven.apache.org:443:
java.security.NoSuchAlgorithmException: Error constructing
implementation (algorithm: Default, provider: SunJSSE, class:
sun.security.ssl.SSLContextImpl$DefaultSSLContext)
This is retried several times, after which the concluding error message is:
[ERROR] Plugin org.apache.maven.plugins:maven-enforcer-plugin:1.4.1 or
one of its dependencies could not be resolved: Failed to read artifact
descriptor for org.apache.maven.plugins:maven-enforcer-
plugin:jar:1.4.1: Could not transfer artifact
org.apache.maven.plugins:maven-enforcer-plugin:pom:1.4.1 from/to
central (https://repo.maven.apache.org/maven2):
java.security.NoSuchAlgorithmException: Error constructing
implementation (algorithm: Default, provider: SunJSSE, class:
sun.security.ssl.SSLContextImpl$DefaultSSLContext): Could not
initialize NSS: NSS initialization failed
I have checked the following:
~/.m2 is writeable for the user that runs maven
the server can ping repo.maven.apache.org
mozilla-nss and libnss_compat_ossl0 are installed
The server is running on OpenSuse 13.2 with OpenJDK 1.7. Any help would
be greatly appreciated!
Benedikt
Am 21.10.2016 um 11:10 schrieb Benedikt Kroll:
Hi everyone,
when installing DSpace 6 rc4, I'm getting a
java.security.NoSuchAlgorithmException right at the beginning.
Before the error occurs, the following pom is downloaded:
Downloading:
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-enforcer-plugin/1.4.1/maven-enforcer-plugin-1.4.1.pom
I have tried downloading it using wget, this worked fine.
The full error is:
Plugin org.apache.maven.plugins:maven-enforcer-plugin:1.4.1 or one of
its dependencies could not be resolved: Failed to read artifact
descriptor for org.apache.maven.plugins:maven-enforcer-plugin:jar:1.4.1:
Could not transfer artifact
org.apache.maven.plugins:maven-enforcer-plugin:pom:1.4.1 from/to central
(https://repo.maven.apache.org/maven2):
java.security.NoSuchAlgorithmException: Error constructing
implementation (algorithm: Default, provider: SunJSSE, class:
sun.security.ssl.SSLContextImpl$DefaultSSLContext): Could not initialize
NSS: NSS initialization failed
Any hints on how to solve this problem would be great!
Thanks!
Benedikt
--
You received this message because you are subscribed to the Google Groups "DSpace
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.