Menu

Showing posts with label Could not resolve dependencies. Show all posts
Showing posts with label Could not resolve dependencies. Show all posts

Project aem-guides-wknd.all | could not resolve dependencies

Failed to execute goal on project aem-guides-wknd.all: Could not resolve dependencies for project com.adobe.aem.guides:aem-guides-wknd.all:content-package:3.3.0-SNAPSHOT: The following artifacts could not be resolved: com.adobe.aem.guides:aem-guides-wknd.ui.content.sample:zip:3.3.0-SNAPSHOT (absent): Could not find artifact com.adobe.aem.guides:aem-guides-wknd.ui.content.sample:zip:3.3.0-SNAPSHOT

  1. Look for the POM.xml file and make sure sample content package is added as a dependencies and embeded in all pom.xml file.

Could not resolve dependencies for project com.adobe in maven central repo.

Could not resolve dependencies for project com.adobe.learning:aem-learning-core:jar:1.0.1: Could not find artifact org.apache.commons:commons-imaging:jar:1.0-R1534292 in central (https://repo.maven.apache.org/maven2)

If you ever come with this error that means the maven central doesn't have the artifact, and we have to use the adobe profile to successfully build the code.

add parameter "-Padobe-public" with your maven build command.

e.g. mvn clean install -Padobe-public