-
Bug
-
Resolution: Done
-
Major
-
2.13.0.GA, 2.14.0.GA
-
None
-
False
-
False
-
Workaround Exists
-
-
[INFO] Scanning for projects... [INFO] [INFO] ------------------< io.openshift.example:http-vertx >------------------- [INFO] Building Vert.x - HTTP 41-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- Downloading from maven-central: https://ec2-3-145-46-151.us-east-2.compute.amazonaws.com:8081/repository/maven-central/pl/project13/maven/git-commit-id-plugin/4.0.2/git-commit-id-plugin-4.0.2.pom Downloading from redhat-ga: https://ec2-3-145-46-151.us-east-2.compute.amazonaws.com:8081/repository/redhat-ga/pl/project13/maven/git-commit-id-plugin/4.0.2/git-commit-id-plugin-4.0.2.pom Downloading from redhat-ga-repository: https://ec2-3-145-46-151.us-east-2.compute.amazonaws.com:8081/repository/redhat-ga/pl/project13/maven/git-commit-id-plugin/4.0.2/git-commit-id-plugin-4.0.2.pom Downloading from redhat-ea-repository: https://ec2-3-145-46-151.us-east-2.compute.amazonaws.com:8081/repository/redhat-ga/pl/project13/maven/git-commit-id-plugin/4.0.2/git-commit-id-plugin-4.0.2.pom Downloading from redhat-early-access: https://ec2-3-145-46-151.us-east-2.compute.amazonaws.com:8081/repository/earlyaccess/all/pl/project13/maven/git-commit-id-plugin/4.0.2/git-commit-id-plugin-4.0.2.pom Downloading from central: https://ec2-3-145-46-151.us-east-2.compute.amazonaws.com:8081/repository/maven-central/pl/project13/maven/git-commit-id-plugin/4.0.2/git-commit-id-plugin-4.0.2.pom Downloading from jboss-public: https://ec2-3-145-46-151.us-east-2.compute.amazonaws.com:8081/repository/jboss-public/pl/project13/maven/git-commit-id-plugin/4.0.2/git-commit-id-plugin-4.0.2.pom Downloading from jboss-public-repository-group: https://ec2-3-145-46-151.us-east-2.compute.amazonaws.com:8081/repository/jboss-public/pl/project13/maven/git-commit-id-plugin/4.0.2/git-commit-id-plugin-4.0.2.pom Downloading from jboss-enterprise-maven-repository: https://ec2-3-145-46-151.us-east-2.compute.amazonaws.com:8081/repository/maven-central/pl/project13/maven/git-commit-id-plugin/4.0.2/git-commit-id-plugin-4.0.2.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.513 s [INFO] Finished at: 2021-11-21T21:46:22Z [INFO] ------------------------------------------------------------------------ [ERROR] Plugin pl.project13.maven:git-commit-id-plugin:4.0.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for pl.project13.maven:git-commit-id-plugin:jar:4.0.2: Could not transfer artifact pl.project13.maven:git-commit-id-plugin:pom:4.0.2 from/to maven-central (https://ec2-3-145-46-151.us-east-2.compute.amazonaws.com:8081/repository/maven-central/): Transfer failed for https://ec2-3-145-46-151.us-east-2.compute.amazonaws.com:8081/repository/maven-central/pl/project13/maven/git-commit-id-plugin/4.0.2/git-commit-id-plugin-4.0.2.pom: 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
Configured according to instructions in https://red-hat-developers-documentation.pages.redhat.com/red-hat-devtools/crw-end-user-guide-ccutil/#proc_defining-maven-settings-xml-file-across-workspaces_crw
Tried multiple things:
- Different home folders
- Re-created the trust keystore from scratch
- Added JAVA_OPTS variable before the mvn command in devfile