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

Deploying Code to AEM | AEM Community Blog Seeding




Deploying Code to AEM by Jim


The AEM Repo Tool can be used to quickly deploy files to an AEM server.

For example, to deploy your helloworld component folder onto AEM:
cd myproject/ui.apps/src/main/content/jcr_root/apps/myproject/components/helloworld
repo put

When you have several files in various folders of your AEM Maven Project that need to be deployed to the AEM server, use the mvn executable to run the commands. For example:

cd myproject
mvn -PautoInstallSinglePackage clean install

autoInstallSinglePackage is a profile in the project archetype that activates the Maven Vault Plugin to deploy the CRX package onto AEM. clean install compiles Java class files from scratch before installing them.

Specify a different hostname
Specify a different port

Specify credentials

-Dvault.username=admin -Dvault.password='secret'
Skip Tests

Example using all of these options

mvn -PautoInstallSinglePackage -Daem.port=4503 -Dvault.username=admin -Dvault.password='secret' -DskipTests clean install

Read Full Blog

Deploying Code to AEM


Please use this thread to ask the related questions.


Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies