adobe / aem-guides-wknd

Tutorial Code companion for Getting Started Developing with AEM Sites WKND Tutorial
https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-develop/overview.html
MIT License
286 stars 563 forks source link

Analyse module fails to build in AEMaaCS #229

Closed GastonGonzalez closed 3 years ago

GastonGonzalez commented 3 years ago

The analyse module fails to build in AEMaaCS using the aem-guides-wknd-0.3.0 tag.

Expected Behaviour

Build should succeed.

Actual Behaviour

Build fails with this error:

17:32:09,425 [main] [INFO] Reactor Summary for WKND Sites Project - Reactor Project 0.3.0:
17:32:09,425 [main] [INFO]
17:32:09,427 [main] [INFO] WKND Sites Project - Reactor Project ............... SUCCESS [  8.469 s]
17:32:09,427 [main] [INFO] WKND Sites Project - Core .......................... SUCCESS [ 23.372 s]
17:32:09,427 [main] [INFO] WKND Sites Project - UI Frontend ................... SUCCESS [01:33 min]
17:32:09,427 [main] [INFO] WKND Sites Project - UI apps structure ............. SUCCESS [  1.787 s]
17:32:09,428 [main] [INFO] WKND Sites Project - UI apps ....................... SUCCESS [  9.822 s]
17:32:09,428 [main] [INFO] WKND Sites Project - UI content .................... SUCCESS [  3.476 s]
17:32:09,428 [main] [INFO] WKND Sites Project - UI config ..................... SUCCESS [  0.171 s]
17:32:09,428 [main] [INFO] WKND Sites Project - UI sample content ............. SUCCESS [  6.216 s]
17:32:09,429 [main] [INFO] WKND Sites Project - All ........................... SUCCESS [  8.632 s]
17:32:09,429 [main] [INFO] WKND Sites Project - Integration Tests ............. SUCCESS [01:58 min]
17:32:09,429 [main] [INFO] WKND Sites Project - Dispatcher .................... SUCCESS [  0.060 s]
17:32:09,429 [main] [INFO] WKND Sites Project - UI Tests ...................... SUCCESS [  0.359 s]
17:32:09,430 [main] [INFO] WKND Sites Project - Project Analyser .............. FAILURE [  0.499 s]
17:32:09,430 [main] [INFO] ------------------------------------------------------------------------
17:32:09,430 [main] [INFO] BUILD FAILURE
17:32:09,430 [main] [INFO] ------------------------------------------------------------------------
17:32:09,431 [main] [INFO] Total time:  04:42 min
17:32:09,431 [main] [INFO] Finished at: 2021-04-20T17:32:09Z
17:32:09,431 [main] [INFO] ------------------------------------------------------------------------
17:32:09,432 [main] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.1.1:single (default) on project aem-guides-wknd.analyse: Failed to create assembly: Error creating assembly archive distribution: archive cannot be empty -> [Help 1]
17:32:09,435 [main] [ERROR]
17:32:09,436 [main] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
17:32:09,436 [main] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
17:32:09,436 [main] [ERROR]
17:32:09,436 [main] [ERROR] For more information about the errors and possible solutions, please read the following articles:
17:32:09,437 [main] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
17:32:09,437 [main] [ERROR]
17:32:09,437 [main] [ERROR] After correcting the problems, you can resume the build with the command
17:32:09,437 [main] [ERROR]   mvn <goals> -rf :aem-guides-wknd.analyse

Reproduce Scenario (including but not limited to)

Steps to Reproduce

  1. Clone your AEMaaCS Git project. $ git clone https://git.cloudmanager.adobe.com/ $ cd
  2. Add an upstream repo to the public WKND project. $ git remote -v $ git remote add wkndpub https://github.com/adobe/aem-guides-wknd.git $ git fetch wkndpub
  3. Create a branch from the tag and push to the origin. $ git branch aem-guides-wknd-0.3.0 aem-guides-wknd-0.3.0 $ git checkout aem-guides-wknd-0.3.0 $ git push --set-upstream origin aem-guides-wknd-0.3.0
  4. Trigger a pipeline build using aem-guides-wknd-0.3.0.

Platform and Version

WKND 0.3.0

Sample Code that illustrates the problem

Logs taken while reproducing problem

godanny86 commented 3 years ago

@GastonGonzalez the analyse module has been modified to run inside the all module. when you have a chance please retry with the latest code from master.

GastonGonzalez commented 3 years ago

@godanny86 - I'll try a new build against the cloud environment, shortly. Standby.

GastonGonzalez commented 3 years ago

The current master branch deploys flawlessly in the cloud.