Deploy and build the project Error
Hi all,
I am deploying the WKND project using "mvn clean install -PautoInstallSinglePackage" command.
It is failing with the below errors:
C:\Rama\Adobe\WKND Site\code\aem-guides-wknd>mvn clean install -PautoInstallSinglePackage
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] WKND Sites Project [pom]
[INFO] WKND Sites Project - Core [jar]
[INFO] WKND Sites Project - UI Frontend [pom]
[INFO] WKND Sites Project - Repository Structure Package [content-package]
[INFO] WKND Sites Project - UI apps [content-package]
[INFO] WKND Sites Project - UI content [content-package]
[INFO] WKND Sites Project - UI config [content-package]
[INFO] WKND Sites Project - All [content-package]
[INFO] WKND Sites Project - Integration Tests [jar]
[INFO] WKND Sites Project - Dispatcher [pom]
[INFO] WKND Sites Project - UI Tests [jar]
[INFO]
[INFO] ----------------< com.adobe.aem.guides:aem-guides-wknd >----------------
[INFO] Building WKND Sites Project 0.0.1-SNAPSHOT [1/11]
[INFO] from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- clean:3.0.0:clean (default-clean) @ aem-guides-wknd ---
[INFO]
[INFO] --- enforcer:3.0.0:enforce (enforce-maven) @ aem-guides-wknd ---
[INFO]
[INFO] --- install:2.5.2:install (default-install) @ aem-guides-wknd ---
[INFO] Installing C:\Rama\Adobe\WKND Site\code\aem-guides-wknd\pom.xml to C:\Users\User\.m2\repository\com\adobe\aem\guides\aem-guides-wknd\0.0.1-SNAPSHOT\aem-guides-wknd-0.0.1-SNAPSHOT.pom
[INFO]
[INFO] -------------< com.adobe.aem.guides:aem-guides-wknd.core >--------------
[INFO] Building WKND Sites Project - Core 0.0.1-SNAPSHOT [2/11]
[INFO] from core\pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from central: https://repo.maven.apache.org/maven2/com/adobe/aem/uber-jar/6.5.14/uber-jar-6.5.14.pom
[WARNING] The POM for com.adobe.aem:uber-jar:jar:6.5.14 is missing, no dependency information available
Downloading from central: https://repo.maven.apache.org/maven2/com/adobe/aem/uber-jar/6.5.14/uber-jar-6.5.14.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for WKND Sites Project 0.0.1-SNAPSHOT:
[INFO]
[INFO] WKND Sites Project ................................. SUCCESS [ 1.027 s]
[INFO] WKND Sites Project - Core .......................... FAILURE [ 3.808 s]
[INFO] WKND Sites Project - UI Frontend ................... SKIPPED
[INFO] WKND Sites Project - Repository Structure Package .. SKIPPED
[INFO] WKND Sites Project - UI apps ....................... SKIPPED
[INFO] WKND Sites Project - UI content .................... SKIPPED
[INFO] WKND Sites Project - UI config ..................... SKIPPED
[INFO] WKND Sites Project - All ........................... SKIPPED
[INFO] WKND Sites Project - Integration Tests ............. SKIPPED
[INFO] WKND Sites Project - Dispatcher .................... SKIPPED
[INFO] WKND Sites Project - UI Tests ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.796 s
[INFO] Finished at: 2025-05-17T19:46:52+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project aem-guides-wknd.core: Could not resolve dependencies for project com.adobe.aem.guides:aem-guides-wknd.core:jar:0.0.1-SNAPSHOT
[ERROR] dependency: com.adobe.aem:uber-jar:jar:6.5.14 (provided)
[ERROR] com.adobe.aem:uber-jar:jar:6.5.14 was not found in https://repo.adobe.com/nexus/content/groups/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of adobe-public-releases has elapsed or updates are forced
[ERROR] Could not find artifact com.adobe.aem:uber-jar:jar:6.5.14 in central (https://repo.maven.apache.org/maven2)
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :aem-guides-wknd.core
Kindly suggest.
Thanks,
RK.
