Expand my Community achievements bar.

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

Avatar

Level 3

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"

 

 

11 Replies

Avatar

Community Advisor

@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

Level 3

Hi, could you help me undestand what target means? I tried downloading the source, and importing this as a maven project in eclise as per instructions, but it wont complile

I just downloaded the non classic, and there is no source or pom files, it seems to be some sort of distribution, but I cant find any instructions on what do do with it.  Can it be run? can it be deployed in some way?  The docs mention CTX package manager, but I cant find any info about this.  the two non source itesm have META-INF and jcr_root.. I tried googling jrc_root but cant find what it is.

Avatar

Employee Advisor

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...

Avatar

Level 3
Thanks! I have imported the package into author. when I click on the "sites" incon in the author home page, I see some wknd site pages, but they are not editable, and not published. How do we publish them and actually view the resultant site? I fired up the "publisher" but when you hit this, you just see the same view as the author web app.

Avatar

Employee Advisor
For browsing the pages, you can simply open them. I hope you login with admin user (that has all the permissions) and you would be able to edit as well. You can install the same package on publish instance (through crx) to browse in publish

Avatar

Community Advisor

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

Level 3
java version is 11.0.9, mvn version is 3.6.3 (this is the highest version available from https://maven.apache.org/download.cgi. Building via command prompt gives same error unforunately.

Avatar

Level 1

@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

Level 1

For your local development, you can disable the 'enforce-checksum-of-immutable-files' from yourproject.dispatcher.cloud/pom.xml

 

<execution>
<id>enforce-checksum-of-immutable-files</id>
<goals>
<goal>enforce</goal>
</goals>

.

.

</execution>

Avatar

Administrator
Thank you for sharing the answer in the community.


Kautuk Sahni