Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
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
Employee Advisor

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
Employee Advisor

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.