I get the following error when trying to build aem wknd project.Does anyone know the cause and solution to this error?
INFO]
[INFO] --- assembly:3.6.0:single (default) @ aem-guides-wknd.ui.frontend ---
[INFO] Reading assembly descriptor: assembly.xml
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for WKND Sites Project - Reactor Project 3.2.1-SNAPSHOT:
[INFO]
[INFO] WKND Sites Project - Reactor Project ............... SUCCESS [ 3.653 s]
[INFO] WKND Sites Project - Core .......................... SUCCESS [ 16.338 s]
[INFO] WKND Sites Project - UI Frontend ................... FAILURE [ 1.962 s]
[INFO] WKND Sites Project - UI apps structure ............. 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 - UI sample content ............. 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: 26.929 s
[INFO] Finished at: 2024-08-09T10:21:25+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.6.0:single (default) on project aem-guides-wknd.ui.frontend: Failed to create assembly: Error creating assembly archive distribution: archive cannot be empty -> [Help 1]
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Please cross check system requirements as well as build section here https://github.com/adobe/aem-guides-wknd and make sure your system has correct java and maven versions.
Please cross check system requirements as well as build section here https://github.com/adobe/aem-guides-wknd and make sure your system has correct java and maven versions.
I don't see a problem. I tried to build the latest main branch of the wknd project with MacOSX, with no security features enabled with the Java and Maven versions below:
➜ aem-guides-wknd-main java -version
java version "11.0.21" 2023-10-17 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.21+9-LTS-193)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.21+9-LTS-193, mixed mode)
➜ aem-guides-wknd-main mvn -version
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: /opt/homebrew/Cellar/maven/3.9.6/libexec
Java version: 11.0.21, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-11.jdk/Contents/Home
Default locale: en_CA, platform encoding: UTF-8
OS name: "mac os x", version: "14.1.2", arch: "aarch64", family: "mac"
It might be a Maven issue, where your version is wrong. After I downloaded the zip from https://github.com/adobe/aem-guides-wknd, I unzipped, cd into that folder structure, and mvn clean install. Works...