This training projects targets the following training modules:
- AEMaaCS SDK author instance running on port 4502
You can use this script for a full deployment (application, sample content, configuration) into a local AEM instance running at http://localhost:4502:
build-deploy.sh
This script also cleans and builds all maven projects and generates eclipse project files.
For the exercise you will work in the bundles/base
and bundles/editorial
bundles. Example to redeploy only one of these bundles:
cd bundles/editorial
mvn cq:install
You can mount the files system of your eclipse project to directly see changes in Sightly HTML, JSON oder other files in your running AEM application without having to redeploy the OSGi bundles. Deploying the OSGi bundle is only required if you change Java code.
To setup the files system synchronization go to the folder of the bundle project below bundles/
and execute on it:
mvn sling:fsmount
See DATM-56 Context-Aware Configuration exercises
To build the project you have to configure additional Maven Repositories in your settings.xml.
Alternatively you can build the project by specifying:
mvn --settings .maven-settings.xml clean install