December 10, 2020
Estimated Post Reading Time ~

content-package-maven-plugin:1.0.2 could not be resolved

Error on installing project via maven command.
Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:1.0.2 or one of its dependencies could not be resolved: Failure to find com.day.jcr.vault:content-package-maven-plugin:jar:1.0.2 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 2]

[ERROR] Unknown packaging: content-package @ com.abc.aem.dam:abc.ui.content:[unknown-version], C:\Users\aanchalsikka\Projects\ABC\abc-dam\ui.content\pom.xml, line 34, column 16

Fix:
Use profile adobe-public in your maven command.Example: mvn clean install -PautoInstallPackage,adobe-public

A best practice is to add an adobe-public profile to your Maven settings.xml file in order to automatically add repo.adobe.com to the maven build process.

For details on how to configure settings.xml visit the link


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.