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

Deploy maven project to other AEM instant

Avatar

Level 3

 

 

Hi,

After I create aem project from maven and using react as front-end,

how can I deploy the project to other AEM instant using the packages

 

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi @foalowaini ,

React enabled AEM project can be created using the latest archetype. Please follow the below links in order to create AEM based project:

https://medium.com/adobe-experience-manager/how-to-build-a-new-project-in-aem-with-react-as-frontend...

https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/s...

 

There are two ways to build and install your project on local AEM instance:

  • You can build the project using "mvn clean install" and then go to http://localhost:4502/crx/packmgr/index.jsp . Upload the zip file created in apps/target folder and install. This will install all of your code (UI and jar files) to the local AEM instance.
  • otherwise you can use command "mvn clean install -PautoInstallPackage" and it will automatically build and install the package to your author instance. To upload and install in publish the command would be "mvn clean install -PautoInstallPackagePublish". 

You can find these commands defined in your parent pom.xml file.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi @foalowaini ,

React enabled AEM project can be created using the latest archetype. Please follow the below links in order to create AEM based project:

https://medium.com/adobe-experience-manager/how-to-build-a-new-project-in-aem-with-react-as-frontend...

https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/s...

 

There are two ways to build and install your project on local AEM instance:

  • You can build the project using "mvn clean install" and then go to http://localhost:4502/crx/packmgr/index.jsp . Upload the zip file created in apps/target folder and install. This will install all of your code (UI and jar files) to the local AEM instance.
  • otherwise you can use command "mvn clean install -PautoInstallPackage" and it will automatically build and install the package to your author instance. To upload and install in publish the command would be "mvn clean install -PautoInstallPackagePublish". 

You can find these commands defined in your parent pom.xml file.