Menu

Showing posts with label Could not resolve dependencies for project com.adobe. Show all posts
Showing posts with label Could not resolve dependencies for project com.adobe. Show all posts

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