I have followed this guide to the letter on a clean windows pc: https://experienceleague.adobe.com/docs/experience-manager-learn/foundation/development/set-up-a-loc...
So have a running author jar, mvn and java installed, eclipse EE setup with the sling and aem "dev tools"
The final step of the instructions is to import the "completed wknd" tutorial. However, the wknd tutorial requires the dev env setup, and dev env setup requires the tutorial.
As a way out of this, I downloaded the source zip from https://github.com/adobe/aem-guides-wknd/releases/tag/aem-guides-wknd-0.0.6
Then I did "file->import->existing maven projects" on the source dir.
But it wont import.
It pops up the error "No marketplace entries found to handle maven-clean-plugin:3.0.0:clean in Eclipse. Please see Help for more information"
The instructions are also missing two critical steps:
- when you do a fresh install of eclipse, you have to add a jdk under window->preferences->installed JREs
- When you create a new run configuration, you have to go to the JRE tab and change it from the default "alternate JRE" to "workspace default jdk".
When I try to run the "install WKND pacakge" configuraiton, I get 3 errors:
- The requested profile "autoinstallPackage" could not be activated because it does not exist.
- No marketplace entries found to handle maven-clean-plugin:3.0.0:clean
- 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.
Here is an example output with the errors:
[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.274 s]
[INFO] WKND Sites Project - Core .......................... SUCCESS [ 37.125 s]
[INFO] WKND Sites Project - UI Frontend ................... SUCCESS [02:27 min]
[INFO] WKND Sites Project - UI apps structure ............. SUCCESS [ 1.010 s]
[INFO] WKND Sites Project - UI apps ....................... SUCCESS [ 6.714 s]
[INFO] WKND Sites Project - UI content .................... SUCCESS [ 4.449 s]
[INFO] WKND Sites Project - UI config ..................... SUCCESS [ 0.254 s]
[INFO] WKND Sites Project - UI sample content ............. SUCCESS [ 7.927 s]
[INFO] WKND Sites Project - All ........................... SUCCESS [ 3.501 s]
[INFO] WKND Sites Project - Integration Tests ............. SUCCESS [05:31 min]
[INFO] WKND Sites Project - Dispatcher .................... FAILURE [ 0.109 s]
[INFO] WKND Sites Project - UI Tests ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 09:02 min
[INFO] Finished at: 2020-11-26T17:54:40+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]
i notice it says "displatcher.cloud". Why cloud? I am running a local install, nothing to do with cloud?