I am not able to build code using maven command mvn clean install and getting below error
[ERROR]
[ERROR] The project com.myorg.aem:myorgaem.ui.apps:0.0.1-SNAPSHOT (C:\Users\sampleuser\myproject\ui.apps\pom.xml) has 2 errors
[ERROR] Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:1.0.2 or one of its dependencies could not be resolved:
Failed to read artifact descriptor for com.day.jcr.vault:content-package-maven-plugin:jar:1.0.2:
Could not transfer artifact com.day.jcr.vault:content-package-maven-plugin:pom:1.0.2 from/to adobe-public-releases
(http://repo.adobe.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 -> [Help 2]
[ERROR] Unknown packaging: content-package @ com.myorg.aem:myorgaem.ui.apps:[unknown-version], C:\Users\sampleuser\myproject\ui.apps\pom.xml, line 34, column 16
[ERROR]
[ERROR] The project com.myorg.aem:myorgaem.ui.content:0.0.1-SNAPSHOT (C:\Users\sampleuser\myproject\ui.content\pom.xml) has 2 errors
[ERROR] Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:1.0.2 or one of its dependencies could not be resolved:
Failed to read artifact descriptor for com.day.jcr.vault:content-package-maven-plugin:jar:1.0.2:
Could not transfer artifact com.day.jcr.vault:content-package-maven-plugin:pom:1.0.2 from/to adobe-public-releases
(http://repo.adobe.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 -> [Help 2]
[ERROR] Unknown packaging: content-package @ com.myorg.aem:myorgaem.ui.content:[unknown-version], C:\Users\sampleuser\myproject\ui.content\pom.xml, line 34, column 16
on Line no. 34 I have
<packaging>content-package</packaging>
In main pom.xml for Plugin com.day.jcr.vault:content-package-maven-plugin:1.0.2 I have
<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<version>1.0.2</version>
<configuration>
<targetURL>http://${aem.host}:${aem.port}/crx/packmgr/service.jsp</targetURL>
<failOnError>true</failOnError>
<userId>${vault.user}</userId>
<password>${vault.password}</password>
</configuration>
</plugin>
also tried to with
<failOnError>false</failOnError> but getting the same error.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
It seems you are not able to connect to adobe repo, could you please try from browser
and change your setting.xml to use adobe repo with https
https://repo.adobe.com/nexus/content/groups/public/
Views
Replies
Total Likes
Hi,
It seems you are not able to connect to adobe repo, could you please try from browser
and change your setting.xml to use adobe repo with https
https://repo.adobe.com/nexus/content/groups/public/
Views
Replies
Total Likes
You can find the full context for the query at this below link:-
Views
Replies
Total Likes
Views
Replies
Total Likes
Did you ever get this resolved? If so what changes did you make?
Views
Replies
Total Likes
Hi,
The AEM repo is no longer available since 2022.
Views
Replies
Total Likes
Hi Arun,
How to access the AEM repo now?
The below URL is specified in settings.xml
https://repo.adobe.com/nexus/content/groups/public
I am facing the following error:
[ERROR] Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:0.5.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.day.jcr.vault:content-package-maven-plugin:jar:0.5.1: The following artifacts could not be resolved: com.day.jcr.vault:content-package-maven-plugin-parent:pom:0.5.1 (absent): Could not transfer artifact com.day.jcr.vault:content-package-maven-plugin-parent:pom:0.5.1 from/to adobe-public-releases (https://repo.adobe.com/nexus/content/groups/public
[ERROR] Unknown packaging: content-package @ line 34, column 16
Regards,
Shyam
Views
Replies
Total Likes
Hi,
you have to use maven repos insteadof Adobe repo.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Like
Replies