Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Unable to build wknd project sun.security.provider.certpath.SunCertPathBuilderException

Avatar

Avatar
Level 1
aemuser07
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
aemuser07
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile
aemuser07
Level 1

16-02-2021

Hi All,

 

I have created Adobe profile in settings.xml file.

 

I am using Intellij / JDK 1.8 and unable to build using : mvn clean install

 

I tried adding the adobe client cert in CACERT  in JRE/JDK ; also manually added the commons-imaging-1.0-alpha2.jar , still getting the same error. 

 

Can anybody help ?

 

Could not resolve dependencies for project com.adobe.aem.guides:aem-guides-wknd.core:jar:0.1.1-SNAPSHOT: Failed to collect dependencies at io.wcm:io.wcm.testing.aem-mock.junit5:jar:3.0.2 -> io.wcm:io.wcm.testing.aem-mock.core:jar:3.0.2 -> org.apache.commons:commons-imaging:jar:1.0-R1534292: Failed to read artifact descriptor for org.apache.commons:commons-imaging:jar:1.0-R1534292: Could not transfer artifact org.apache.commons:commons-imaging:pom:1.0-R1534292 from/to adobe-public-releases (https://repo.adobe.com/nexus/content/groups/public😞 Transfer failed for https://repo.adobe.com/nexus/content/groups/public/org/apache/commons/commons-imaging/1.0-R1534292/c...: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

155 likes

Total Posts

370 posts

Correct Reply

57 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

155 likes

Total Posts

370 posts

Correct Reply

57 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile
Ankur_Khare
MVP

16-02-2021

You can use below command to build your package

mvn clean install -PautoInstallPackage -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true 

 

Or you can follow steps mentioned in this thread-

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/error-while-maven-build-su...

 

 

 

 

Answers (1)

Answers (1)

Avatar

Avatar
Springboard
MVP
Shashi_Mulugu
MVP

Likes

224 likes

Total Posts

283 posts

Correct Reply

65 solutions
Top badges earned
Springboard
Bedrock
Validate 1
Applaud 100
Establish
View profile

Avatar
Springboard
MVP
Shashi_Mulugu
MVP

Likes

224 likes

Total Posts

283 posts

Correct Reply

65 solutions
Top badges earned
Springboard
Bedrock
Validate 1
Applaud 100
Establish
View profile
Shashi_Mulugu
MVP

16-02-2021

@aemuser07 can you please post your settings.xml and also output of 

 mvn help:effective-settings