trying to get a simple developer env steup. Which of the 4 version of WNKD should I be using?

Avatar

Avatar

nutmix

Avatar

nutmix

nutmix

26-11-2020

This guide: https://experienceleague.adobe.com/docs/experience-manager-learn/foundation/development/set-up-a-loc...

Omits an absolutely crucial piece of information: where to get the wknd source code it uses to get a working dev env.

I found 4 downloads here:https://github.com/adobe/aem-guides-wknd/releases/tag/aem-guides-wknd-0.0.6

  1. aem-guides-wknd-all-0.0.6-classic.zip  <= I would guess this is the wrong one as the docs say its for "cloud servcie"
  2. aem-guides-wknd.all-0.0.6.zip
  3. Source code (zip)
  4. source code (gar.gz).

I dont have anything cloud related, I only have the non cloud quickstart.jar and only want to run it on my dev machine.

I tried downloading the source code.zip, and importing it as a maven project in eclipse setup using the exact steps in the AEM dev env tutorial (including the EAM tools for eclpse etc), but I get this error:

 

No marketplace entries found to handle maven-clean-plugin:3.0.0:clean in Eclipse

 

 

Then when you create the "install WKND package" run config, and run it, you get these errors:

 

 

[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-checksum-of-immutable-files) @ aem-guides-wknd.dispatcher.cloud ---
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireFileChecksum failed with message:
There have been changes detected in a file which is supposed to be immutable according to https://docs.adobe.com/content/help/en/experience-manager-cloud-service/implementing/content-delivery/disp-overview.html#file-structure: src/conf.d/available_vhosts/default.vhost
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireFileChecksum failed with message:
There have been changes detected in a file which is supposed to be immutable according to https://docs.adobe.com/content/help/en/experience-manager-cloud-service/implementing/content-delivery/disp-overview.html#file-structure: src/conf.d/dispatcher_vhost.conf
[WARNING] Rule 2: org.apache.maven.plugins.enforcer.RequireFileChecksum failed with message:
There have been changes detected in a file which is supposed to be immutable according to https://docs.adobe.com/content/help/en/experience-manager-cloud-service/implementing/content-delivery/disp-overview.html#file-structure: src/conf.d/rewrites/default_rewrite.rules
[WARNING] Rule 3: org.apache.maven.plugins.enforcer.RequireFileChecksum failed with message:
There have been changes detected in a file which is supposed to be immutable according to https://docs.adobe.com/content/help/en/experience-manager-cloud-service/implementing/content-delivery/disp-overview.html#file-structure: src/conf.dispatcher.d/available_farms/default.farm
[WARNING] Rule 4: org.apache.maven.plugins.enforcer.RequireFileChecksum failed with message:
There have been changes detected in a file which is supposed to be immutable according to https://docs.adobe.com/content/help/en/experience-manager-cloud-service/implementing/content-delivery/disp-overview.html#file-structure: src/conf.dispatcher.d/cache/default_invalidate.any
[WARNING] Rule 5: org.apache.maven.plugins.enforcer.RequireFileChecksum failed with message:
There have been changes detected in a file which is supposed to be immutable according to https://docs.adobe.com/content/help/en/experience-manager-cloud-service/implementing/content-delivery/disp-overview.html#file-structure: src/conf.dispatcher.d/cache/default_rules.any
[WARNING] Rule 6: org.apache.maven.plugins.enforcer.RequireFileChecksum failed with message:
There have been changes detected in a file which is supposed to be immutable according to https://docs.adobe.com/content/help/en/experience-manager-cloud-service/implementing/content-delivery/disp-overview.html#file-structure: src/conf.dispatcher.d/clientheaders/default_clientheaders.any
[WARNING] Rule 7: org.apache.maven.plugins.enforcer.RequireFileChecksum failed with message:
There have been changes detected in a file which is supposed to be immutable according to https://docs.adobe.com/content/help/en/experience-manager-cloud-service/implementing/content-delivery/disp-overview.html#file-structure: src/conf.dispatcher.d/dispatcher.any
[WARNING] Rule 8: org.apache.maven.plugins.enforcer.RequireFileChecksum failed with message:
There have been changes detected in a file which is supposed to be immutable according to https://docs.adobe.com/content/help/en/experience-manager-cloud-service/implementing/content-delivery/disp-overview.html#file-structure: src/conf.dispatcher.d/filters/default_filters.any
[WARNING] Rule 9: org.apache.maven.plugins.enforcer.RequireFileChecksum failed with message:
There have been changes detected in a file which is supposed to be immutable according to https://docs.adobe.com/content/help/en/experience-manager-cloud-service/implementing/content-delivery/disp-overview.html#file-structure: src/conf.dispatcher.d/renders/default_renders.any
[WARNING] Rule 10: org.apache.maven.plugins.enforcer.RequireFileChecksum failed with message:
There have been changes detected in a file which is supposed to be immutable according to https://docs.adobe.com/content/help/en/experience-manager-cloud-service/implementing/content-delivery/disp-overview.html#file-structure: src/conf.dispatcher.d/virtualhosts/default_virtualhosts.any
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for WKND Sites Project - Reactor Project 0.0.6:
[INFO] 
[INFO] WKND Sites Project - Reactor Project ............... SUCCESS [  0.336 s]
[INFO] WKND Sites Project - Core .......................... SUCCESS [ 10.988 s]
[INFO] WKND Sites Project - UI Frontend ................... SUCCESS [ 14.267 s]
[INFO] WKND Sites Project - UI apps structure ............. SUCCESS [  1.060 s]
[INFO] WKND Sites Project - UI apps ....................... SUCCESS [  5.967 s]
[INFO] WKND Sites Project - UI content .................... SUCCESS [  3.993 s]
[INFO] WKND Sites Project - UI config ..................... SUCCESS [  0.275 s]
[INFO] WKND Sites Project - UI sample content ............. SUCCESS [  9.285 s]
[INFO] WKND Sites Project - All ........................... SUCCESS [  4.409 s]
[INFO] WKND Sites Project - Integration Tests ............. SUCCESS [  9.081 s]
[INFO] WKND Sites Project - Dispatcher .................... FAILURE [  0.022 s]
[INFO] WKND Sites Project - UI Tests ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:02 min
[INFO] Finished at: 2020-11-26T18:58:50+01:00
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "autoinstallPackage" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3:enforce (enforce-checksum-of-immutable-files) on project aem-guides-wknd.dispatcher.cloud: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
[ERROR] 

 

 

Why is it talking about "dispatcher cloud"? I do not have the cloud version nor the cloud version SDK unfortunately.

 

 

>java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)

>mvn -version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\dev\apache-maven-3.6.3\bin\..
Java version: 11.0.9, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11.0.9
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

 

 

Accepted Solutions (0)

Answers (4)

Answers (4)

Avatar

Avatar

BrianKasingli

MVP

Avatar

BrianKasingli

MVP

BrianKasingli
MVP

26-11-2020

@nutmix,

It says:

  • aem-guides-wknd.all-0.0.6.zip: AEM as a Cloud Service, the default build
  • aem-guides-wknd.all-0.0.6-classic.zip: AEM 6.5.4+, AEM 6.4.8+ This is built with the additional profile classic and uses v6.4.4 of the uber jar.

If you are running an AEM instance on your local development machine, then you need to target the classic.zip; otherwise use the non-classic for AEM as a cloud service installation. 

Avatar

Avatar

suvo1103

Avatar

suvo1103

suvo1103

29-11-2020

@nutmix 

You can follow the below tutorial to set up a new AEM project from scratch using the maven archetype commands.

https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-devel...

 

Avatar

Avatar

Anudeep_Garnepudi

Avatar

Anudeep_Garnepudi

Anudeep_Garnepudi

26-11-2020

Hi @nutmix 

Check your Eclipse is using latest Java(1.8 or above) and Maven(3.9.9), if not try update your eclipse settings or else try to build from command prompt.

Avatar

Avatar

shelly-goel

Avatar

shelly-goel

shelly-goel

26-11-2020

Download aem-guides-wknd.all-0.0.6-classic.zip and go to CRX packmanager.

Upload and Install this package there. Refer this link: https://experienceleague.adobe.com/docs/experience-manager-65/administering/contentmanagement/packag...