Issue with Ubuntu 20.04 and jacoco/maven
Hi !
Since a few days, our Kotlin builds on the Ubuntu 20.04 image fail with the given error:
Plugin org.jacoco:jacoco-maven-plugin:0.8.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.jacoco:jacoco-maven-plugin:jar:0.8.5: Could not transfer artifact org.jacoco:jacoco-maven-plugin:pom:0.8.5 from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/org/jacoco/jacoco-maven-plugin/0.8.5/jacoco-maven-plugin-0.8.5.pom: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
[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/PluginResolutionException
Command exited with code 1
Any idea what could cause this? It seems to run fine on Ubuntu18.04 (not 100% sure), and used to work without issue on 20.04 until very recently.
Thanks you and best regards.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 10 Nov, 2021 04:55 PM
ubuntu2004
image itself was changed a month ago, so it feels like upstream issue (some server cert changed or some package version bumped)? Try comparing with the last successful build. Could be related to a Java trust store - I'm not sure how to fix that, maybe Java update could help.Feodor Fitsner closed this discussion on 10 Jan, 2022 09:02 PM.