aem-guides-wknd: [ERROR] Failed to execute goal on project aem-guides-wknd.core

I’m going through the “Project Setup” instructions here (https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-develop/project-setup.html?lang=en#build) and got the following failure…

Expected Behaviour

Pasting the following would result in a BUILD SUCCESS

mvn archetype:generate -B \
    -DarchetypeGroupId=com.adobe.granite.archetypes \
    -DarchetypeArtifactId=aem-project-archetype \
    -DarchetypeVersion=22 \
    -DgroupId=com.adobe.aem.guides \
    -Dversion=0.0.1-SNAPSHOT \
    -DappsFolderName=wknd \
    -DartifactId=aem-guides-wknd \
    -Dpackage=com.adobe.aem.guides.wknd \
    -DartifactName="WKND Sites Project" \
    -DcomponentGroupName=WKND \
    -DconfFolderName=wknd \
    -DcontentFolderName=wknd \
    -DcssId=wknd \
    -DisSingleCountryWebsite=n \
    -Dlanguage_country=en_us \
    -DoptionAemVersion=6.5.0 \
    -DoptionDispatcherConfig=none \
    -DoptionIncludeErrorHandler=n \
    -DoptionIncludeExamples=y \
    -DoptionIncludeFrontendModule=y \
    -DpackageGroup=wknd \
    -DsiteName="WKND Site" -X

Actual Behaviour

This occurs instead:

[INFO] Reactor Summary for aem-guides-wknd 0.0.1-SNAPSHOT:
[INFO]
[INFO] aem-guides-wknd .................................... SUCCESS [  0.990 s]
[INFO] WKND Sites Project - Core .......................... FAILURE [01:32 min]
[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 - All ........................... SKIPPED
[INFO] WKND Sites Project - Integration Tests Bundles ..... SKIPPED
[INFO] WKND Sites Project - Integration Tests Launcher .... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:37 min
[INFO] Finished at: 2021-01-30T12:49:20-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal biz.aQute.bnd:bnd-maven-plugin:4.2.0:bnd-process (bnd-process) on project aem-guides-wknd.core: bnd error: null: ConcurrentModificationException -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :aem-guides-wknd.core

Reproduce Scenario (including but not limited to)

Starting over in a new directory causes the problem to reproduce.

Steps to Reproduce

See above.

Platform and Version

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: C:\Program Files\apache-maven-3.6.3\bin.. Java version: 15.0.1, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-15.0.1 Default locale: en_US, platform encoding: Cp1252 OS name: “windows 10”, version: “10.0”, arch: “amd64”, family: “windows” AEM 6.5

Sample Code that illustrates the problem

Logs taken while reproducing problem

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 21 (9 by maintainers)

Most upvoted comments

THANKS!!

[INFO] Reactor Summary for aem-guides-wknd 0.0.1-SNAPSHOT: [INFO] [INFO] aem-guides-wknd … SUCCESS [ 1.528 s] [INFO] WKND Sites Project - Core … SUCCESS [01:07 min] [INFO] WKND Sites Project - UI Frontend … SUCCESS [03:31 min] [INFO] WKND Sites Project - Repository Structure Package … SUCCESS [ 4.778 s] [INFO] WKND Sites Project - UI apps … SUCCESS [ 26.666 s] [INFO] WKND Sites Project - UI content … SUCCESS [ 9.939 s] [INFO] WKND Sites Project - UI config … SUCCESS [ 0.986 s] [INFO] WKND Sites Project - All … SUCCESS [ 21.998 s] [INFO] WKND Sites Project - Integration Tests … SUCCESS [03:33 min] [INFO] WKND Sites Project - Dispatcher … SUCCESS [ 1.435 s] [INFO] WKND Sites Project - UI Tests … SUCCESS [ 4.408 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 09:30 min [INFO] Finished at: 2021-01-31T19:43:34-05:00 [INFO] ------------------------------------------------------------------------