-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails due to certificate problems in Maven package #34
Comments
Try to update your maven version. This same thing happened to me and it worked after update maven. |
Yes, updating Maven was the first thing I did. But I also had to update JDK. |
And it worked? |
Yup. For some reason I had to update both. Maven 3.3.9 / Java 1.8.0_121 |
Great! Thanks! |
Hi, I'm having the same issue.
The error msg:
Please let me know if full errors from Edit:
However, it's getting the same errors:
Edit2: My working environment requires proxies. I think it's related. I will try if it works after whitelist Edit3: Yeah, it's because of the proxy. Problem solved. Thank you. |
This is the error screen output.
Best regards.
[INFO] ------------------------------------------------------------------------
[INFO] Building SparkBWA 0.2
[INFO] ------------------------------------------------------------------------
Downloading: https://mvn.128.no/maven2/cz/adamh/utils/native-utils/1.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata cz.adamh.utils:native-utils:1.0-SNAPSHOT/maven-metadata.xml from/to 128 (https://mvn.128.no/maven2): hostname in certificate didn't match: <mvn.128.no> != <128.no> OR <128.no>
[WARNING] Failure to transfer cz.adamh.utils:native-utils:1.0-SNAPSHOT/maven-metadata.xml from https://mvn.128.no/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of 128 has elapsed or updates are forced. Original error: Could not transfer metadata cz.adamh.utils:native-utils:1.0-SNAPSHOT/maven-metadata.xml from/to 128 (https://mvn.128.no/maven2): hostname in certificate didn't match: <mvn.128.no> != <128.no> OR <128.no>
Downloading: https://mvn.128.no/maven2/cz/adamh/utils/native-utils/1.0-SNAPSHOT/native-utils-1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.596s
[INFO] Finished at: Thu Jan 19 08:13:45 CET 2017
[INFO] Final Memory: 20M/161M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project SparkBWA: Could not resolve dependencies for project com.github.sparkbwa:SparkBWA:jar:0.2: Failed to collect dependencies for [org.apache.spark:spark-core_2.11:jar:2.0.1 (compile), cz.adamh.utils:native-utils:jar:1.0-SNAPSHOT (compile)]: Failed to read artifact descriptor for cz.adamh.utils:native-utils:jar:1.0-SNAPSHOT: Could not transfer artifact cz.adamh.utils:native-utils:pom:1.0-SNAPSHOT from/to 128 (https://mvn.128.no/maven2): hostname in certificate didn't match: <mvn.128.no> != <128.no> OR <128.no> -> [Help 1]
The text was updated successfully, but these errors were encountered: