Skip to content
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

ps-testsuite 1.0.7-Snapshot fails to start: PKIX path building failed #17

Closed
CEiderEVIDENT opened this issue Jul 2, 2024 · 2 comments
Closed

Comments

@CEiderEVIDENT
Copy link

Starting ps-testsuite 1.0.7-Snapshot fails: PKIX path building failed.
From my point of view this is different to #13
There is not VPN enabled

time="2024-07-02T08:01:08+02:00" level=warning msg="D:\\GIT\\epa-deployment\\dc-testsuite.yml: `version` is obsolete"
[+] Running 1/0
 ✔ Container ps-testsuite  Created                                                                                                         0.0s
Attaching to ps-testsuite
ps-testsuite  | [INFO] Scanning for projects...
ps-testsuite  | [INFO]
ps-testsuite  | [INFO] ----------------------< de.gematik:ps-testsuite >-----------------------
ps-testsuite  | [INFO] Building ps-testsuite 1.0.7-SNAPSHOT
ps-testsuite  | [INFO]   from pom.xml
ps-testsuite  | [INFO] --------------------------------[ jar ]---------------------------------
ps-testsuite  | Downloading from central: https://repo.maven.apache.org/maven2/org/jacoco/jacoco-maven-plugin/0.8.12/jacoco-maven-plugin-0.8.12.pom
ps-testsuite  | [INFO] ------------------------------------------------------------------------
ps-testsuite  | [INFO] BUILD FAILURE
ps-testsuite  | [INFO] ------------------------------------------------------------------------
ps-testsuite  | [INFO] Total time:  0.452 s
ps-testsuite  | [INFO] Finished at: 2024-07-02T06:01:10Z
ps-testsuite  | [INFO] ------------------------------------------------------------------------
ps-testsuite  | [ERROR] Plugin org.jacoco:jacoco-maven-plugin:0.8.12 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.jacoco:jacoco-maven-plugin:jar:0.8.12: The following artifacts could not be resolved: org.jacoco:jacoco-maven-plugin:pom:0.8.12 (absent): Could not transfer artifact org.jacoco:jacoco-maven-plugin:pom:0.8.12 from/to central (https://repo.maven.apache.org/maven2): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
ps-testsuite  | [ERROR]
ps-testsuite  | [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
ps-testsuite  | [ERROR] Re-run Maven using the -X switch to enable full debug logging.
ps-testsuite  | [ERROR]
ps-testsuite  | [ERROR] For more information about the errors and possible solutions, please read the following articles:
ps-testsuite  | [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
ps-testsuite exited with code 1
@sonerd
Copy link

sonerd commented Jul 3, 2024

Hi @CEiderEVIDENT ,

Do you use a corporate proxy to connect to the internet?
If yes, then you have to configure the proxy settings for maven.

The explanation is here: Maven Proxy Setting

Regards

@fnoGematik
Copy link
Contributor

Hi @CEiderEVIDENT ,

as you described in the Gematik Service Desk ticket, the problem has been solved and the correct configurations have been made in the firewall to allow access to the Maven repository. So I'll close this issue.

Best regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants