Continuous Integration for AEM in Linux OS

Statement : Continuous Integration for AEM
Solution :
  • Tools used for Continuous Integration for AEM
  1. Jenkins is a Continuous Integration system. It can be configured to work with any version control system, automatically pulling in your latest changes, compiling your source code, running your tests, and deploying your code. It is also commonly integrated with artifact repositories and static code analysis tools. 
  1. SonarQube is a free static code analysis tool that can be leveraged to measure and track code quality and technical debt. 
  1. Nexus OSS is a free repository manager, allowing for the mirroring and storage of your Maven dependencies
Follow the below URL for configuration of CI.

https://solutionpartners.adobe.com/content/dam/spp_assets/public/public_4/Continuous_Integration_for_AEM.pdf

 1 https://docs.sonarqube.org/display/SONAR/Requirements
 2 https://github.com/Adobe-Consulting-Services/lazybones-aem-templates
 3 https://github.com/Adobe-Marketing-Cloud/aem-project-archetype

Additional Resources:
 https://www.unixmen.com/install-oracle-java-jdk-8-centos-76-56-4/ https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-centos-7 https://docs.sonarqube.org/display/SONAR/Installing+the+Server https://github.com/Cognifide/AEM-Rules-for-SonarQube/releases https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner http://books.sonatype.com/nexus-book/reference3/index.html https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Jenkins https://maven.apache.org/guides/mini/guide-encryption.html

where Form posted Data stores in AEM

Statement : Where the data is stored when you have a custom component which accepts user inputs
Solution :
  • Where the data is stored when you have a custom component which accepts user inputs. Let’s use the following as an example:

  • Assume above the form is inside a paragraph system and the radio group is set like the following:

  • So once the user submits the form, the data is generated into CRX at the /content/usergenerated folder. For the example above, it is stored at:

this is how data looks like:

How to add custom Name space in CRX

Statement - add custom namespace in CRX

Solution :


  1. Go to this URL :http://localhost:4502/crx/explorer/index.jsp then click on Node type administration option will take you to this URL. http://localhost:4502/crx/explorer/nodetypes/index.jsp
  2.  click on namespace main menu item --> it will open up in a new window scroll down to bottom --> Click on new








3. Now add the custom namespace created in above steps 2 to any components properties
 adding custom Blog:demo properties to Breadcrumb component properties as shown in below screenshot.

4. If you do not create custom namespace & just try adding to the component properties you will get the below error.
5. That's It!