Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Handy Commands For Developers | AEM Community Blog Seeding




Handy Commands For Developers by Ashish Mishra


Scenario 1: Start the AEM in debug mode
java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address= -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256M -Xmx1024m -jar cq-quickstart-6.5.0.jar

Scenario 2: Build and deploy AEM
mvn -PautoInstallPackage -Padobe-public clean install

Scenario 3: Start the Spring boot application
mvn clean spring-boot:run

Scenario 4: Start Spring boot in specific mode
mvn clean spring-boot:run

Scenario 5: Skip J-Unit test

Scenario 6: Start Spring boot in debug mode and also run a specific profile and skip j unit test compilation
mvn spring-boot:run"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005" -Dmaven.test.skip=true

Read Full Blog

Handy Commands For Developers


Please use this thread to ask the related questions.

2 Replies


Community Advisor
Scenario 2: Build and deploy AEM
mvn -PautoInstallPackage -Padobe-public clean install

this command itself can be modified as
mvn -PautoInstallPackage -Padobe-public clean install -DskipTests

to skip the test on deployment.