Configuring AEM Maven Archetype for Eclipse Plugin

 

 Once you install AEM Plugin in Eclipse, we need to add AEM archetype and follow the below steps to do the same. Step 1:  click Window > Preferences and Select Archetype under Maven. Click on ‘Add Remote Catalog’ Step 2:  Give the url ‘https://repo.adobe.com/nexus/content/groups/public/archetype-catalog.xml’ and provide description. Click on Verify and say ‘Ok’ If there […]

Read More

AEM – Eclipse Plugin Setup Tutorial

 

 Adobe have released eclipse plugin for developing AEM projects which makes easy to create and develop Adobe CQ / AEM projects. This plugin can be used to develop OSGi bundles, Components , Templates and Content from the scratch. This plugin will seamlessly integrate with the AEM instance and all the changes can be pushed/deployed directly […]

Read More

Maven Archetype for CQ multi-module maven project

 

 multimodule-content-package-archetype plugin usage example: [code language=”java”] mvn archetype:generate -DarchetypeRepository=http://repo.adobe.com/nexus/content/groups/public/ -DarchetypeGroupId=com.day.jcr.vault -DarchetypeArtifactId=multimodule-content-package-archetype -DarchetypeVersion=1.0.2 -DgroupId=com.company.project.cqcommons -DartifactId=cqcommons -Dversion=1.0-SNAPSHOT  -Dpackage=com.company.project.cqcommons -DappsFolderName=project -DartifactName=cqcommons -DcqVersion=5.6.1 -DpackageGroup=company [/code] Using multimodule-content-package-archetype creates the following folder structure [code] /bundle      //holds the osgi bundle java src .. pom.xml /content     //holds the jcr nodes .. pom.xml /pom.xml   //creates a zip package of osgi […]

Read More