- Published on
AEM CheatSheets - The Ulitimate Collection
- Authors
- Name
- Khalil
- @Im_Khalil
Here is a list of AEM development cheat sheets that I've gathered from various sources.
- Sling Cheatsheet
- JCR Query Cheatsheet
- HTL(Sightly) CheatSheet
- AEM Console CheatSheet
- Maven CheetSheet
- Sling cURL CheatSheet
Sling Cheatsheet
JCR Query Cheatsheet
Download the pdf version of Jcr Query Cheetsheet from here.
HTL(Sightly) CheatSheet
Download the pdf version of HTL Cheetsheet from here
AEM Console CheatSheet
Download the pdf version of AEM Console CheatSheet from here
Maven CheetSheet
Command | Description |
---|---|
mvn clean | Cleans the maven project by deleting the target directory. |
mvn compiler:compile | Compiles the Java source classes. Use "mvn compiler:testCompile' to compile the test classes. |
mvn package | Build the maven project and create jar or war files. |
mvn install | Build the maven project and install the package files (JAR, WAR, pom.xml, etc) to the local repository. |
mvn validate | validate the project is correct and all necessary information is available |
mvn dependency:tree | Generates the dependency tree of the maven project. |
mvn dependency:analyze | Analyze the maven project to identify the unused declared and used undeclared dependencies |
mvn archetype:generate | Used to create a maven project from the archetype template project |
mvn -help | Prints the usage and all the different options we can use with the mvn command |
mvn site:site | Generate a site for the maven project. |
mvn test | test the compiled source code using a suitable unit testing framework. |
mvn compile | compile the source code of the project |
mvn verify | run any checks on results of integration tests to ensure quality criteria are met |
mvn -f dir/pom.xml package | Force the use of an alternate POM file (or directory with pom.xml) |
mvn -o package | runs the maven command in the offline mode. |
mvn -q package | runs the maven command in the quiet mode, only show errors and the test cases results. |
mvn -X package | runs the build and produces output in the debug mode. |
mvn -v | Display maven version information. |
mvn -V package | Display maven version information and continue with the build |
mvn -DskipTests package | skips running the test cases of the project. you can also use -Dmaven.test.skip=true option. |
mvn -T 4 clean install | parallel build with 4 threads, useful to increase the build performance in the multiple module project. |
Sling cURL CheatSheet
Here is the list of unique cURL commands A Unique Collection Of Curated CURL Commands
Khalil Ganiga
Just another programmer.. This blog expresses my views of various technologies and scenarios I have come across in realtime.
Keep watching this space for more updates.