Issue with Ubuntu 20.04 and jacoco/maven

alexandre.habersaat's Avatar


10 Nov, 2021 10:59 AM

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 ( Transfer failed for PKIX path building failed: unable to find valid certification path to requested target -> [Help 1]
[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] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
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.

  1. Support Staff 1 Posted by Feodor Fitsner on 10 Nov, 2021 04:55 PM

    Feodor Fitsner's Avatar

    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.

  2. Feodor Fitsner closed this discussion on 10 Jan, 2022 09:02 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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