Menu

Showing posts with label artifacts could not be resolved. Show all posts
Showing posts with label artifacts could not be resolved. Show all posts

Artifacts could not be resolved | AEM Maven Build Issue

AEM build Error:

Executing command mvn --batch-mode org.apache.maven.plugins:maven-clean-plugin:3.1.0:clean -Dmaven.clean.failOnError=false

12:08:48,748 [main] [INFO] Scanning for projects...

12:08:50,531 [main] [ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for com.adobe.aem.guides:aem-guides-wknd.dispatcher.cloud:3.2.1-SNAPSHOT: The following artifacts could not be resolved: com.adobe.aem.guides:aem-guides-wknd:pom:3.2.1-SNAPSHOT (absent): Could not find artifact com.adobe.aem.guides:aem-guides-wknd:pom:3.2.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 7, column 11

[FATAL] Non-resolvable parent POM for com.adobe.aem.guides:aem-guides-wknd.ui.tests:3.2.1-SNAPSHOT: The following artifacts could not be resolved: com.adobe.aem.guides:aem-guides-wknd:pom:3.2.1-SNAPSHOT (absent): Could not find artifact com.adobe.aem.guides:aem-guides-wknd:pom:3.2.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 24, column 13

Resolution:

Version specified in POM.xml files are not identical, some of your POM file have different version specified. Cross check all POM files and use the same version in all POM.xml file.