mavenmaven-2pom.xmljahia

Jahia : unable to find valid certification path to requested target and 'parent.relativePath' points at wrong local POM


I am trying to create module from Jahia Studio and getting below error.

  Non-resolvable parent POM for org.jahia.modules:news:2.0.4: 
  Could not transfer artifact org.jahia.modules:jahia-modules:pom:7.0.0.0 from/to jahia-public (https://devtools.jahia.com/nexus/content/groups/public): 
  sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: 
  unable to find valid certification path to requested target and 'parent.relativePath' points at wrong local POM @ line 49, column 11 -> [Help 2]

Using Jahia CommunityDistribution 7.3.4.1 SDK and Maven version 3.6.3

When Trying to run mvn clean install getting above error everytime.


Solution

  • As https://devtools.jahia.com/nexus/content/groups/public use a Let's Encrypt SSL certificate, you should have a JDK >= 8u101. See the certificate-compatibility page