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

SOLVED

How can I deploy only frontend module into AEM

Avatar

Level 4

Hi Folks,

 

I want to take only frontend module build and deploy to local AEM server.

I have both ui.frontend and ui.apps modules.

 

Thanks

Ganesh

+91-9380201140

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @ganeshbyale ,

 

First of all, navigate to your targeted bundle and open your terminal/cmd. Now run the below command.

mvn clean install -PautoInstallBundle

So basically it will deploy your bundle instead of the complete project package.

 

But if you are using nodeJs then you can simply use npm run dev command to sync your changes. For a detailed understanding please refer this blog.

 

Thanks

 

 

 

 

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi @ganeshbyale ,

 

First of all, navigate to your targeted bundle and open your terminal/cmd. Now run the below command.

mvn clean install -PautoInstallBundle

So basically it will deploy your bundle instead of the complete project package.

 

But if you are using nodeJs then you can simply use npm run dev command to sync your changes. For a detailed understanding please refer this blog.

 

Thanks

 

 

 

 

Avatar

Level 4

Thanks @MayurSatav  for your reply

"mvn clean install -PautoInstallBundle " is for core module right?

npm run dev is not working.

I just commented other modules except ui.frontend and ui.apps from parent pom.

And ran "mvn clean install -PautoInstallPackage" it is working.

 

Avatar

Community Advisor

Hi,

 

mvn clean install -PautoInstallBundle is not only for core-bundle. I use it for ui.apps also.