Adobe learning manager AEM Package - cloud installation | Community
Skip to main content
Level 2
February 22, 2024
Solved

Adobe learning manager AEM Package - cloud installation

  • February 22, 2024
  • 3 replies
  • 1183 views

Hello. 

 

we have a project archetype and we need to install https://github.com/adobe/adobe-learning-manager-reference-site/tree/master packages - core, ui.apps and others - on cloud manager too. Can someone please help on standard approach of doing this. 

 

Thank you.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by aanchal-sikka

Hello @saurabhsingh1 

 

Its surprising that the dependency isn't available in maven yet. Generally, all such Adobe libraries are present in maven.

 

Suggestion:

  • Please raise an Adobe ticket to inform them and also confirm that it can be used in production
  • Only use released versions.

 

Please follow the instructions on blog

https://techrevel.blog/2023/09/27/managing-third-party-dependencies-in-aem/

 

Step-1: Create local repository

Step-2: Configure maven repository:

- You inform the project to look in local repo

- Declare dependencies on learning project

- Embed via all project (This step will pick this leaning package and deploy in AEM. All previous steps will make leaning available to application project)

 

Please note: I generally cheery-pick and use only essential modules. Like I ignore samples, thus use only specific modules

 

3 replies

Imran Khan
Community Advisor
Community Advisor
February 22, 2024

Use below link to deploy code packages on AEM as a cloud service instance in below 2 steps:

 

1. Sync code to Adobe GIT with the help of video as part of below link
https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/deploying/overview.html?lang=en

2. Deploy above synced code to on of the AEM instance using cloud manager

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/using-cloud-manager/deploy-code.html?lang=en

Level 2
February 22, 2024

Hello Imran. 

 

Thanks man. These documents describe processes of pushing AEM archetype to cloud author.

 

Our problem was to include a git project - which is not available on maven - to your main project. and solution for reader who is interested in this problem is following. 

 

1. Get .all package, either by local compilation or on git release e.g. https://github.com/adobe/adobe-learning-manager-reference-site/releases/tag/1.0.5 

2. On your project archetype, ui.apps, create a folder install (/apps/project-name/install) and put .all package there. 

3. On your ui.apps filter file put this path e.g.  <filter root="/apps/project-name/install"/>

 

All set, these packages will be installed peacefully. 

 

Cheers.

 

Imran Khan
Community Advisor
Community Advisor
February 22, 2024

@saurabhsingh1 thanks for details, it is alwasy good to provide complete details to have correct solution, diagnosis and suggestion.

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
February 23, 2024

Hello @saurabhsingh1 

 

Its surprising that the dependency isn't available in maven yet. Generally, all such Adobe libraries are present in maven.

 

Suggestion:

  • Please raise an Adobe ticket to inform them and also confirm that it can be used in production
  • Only use released versions.

 

Please follow the instructions on blog

https://techrevel.blog/2023/09/27/managing-third-party-dependencies-in-aem/

 

Step-1: Create local repository

Step-2: Configure maven repository:

- You inform the project to look in local repo

- Declare dependencies on learning project

- Embed via all project (This step will pick this leaning package and deploy in AEM. All previous steps will make leaning available to application project)

 

Please note: I generally cheery-pick and use only essential modules. Like I ignore samples, thus use only specific modules

 

Aanchal Sikka
kautuk_sahni
Community Manager
Community Manager
February 28, 2024

@saurabhsingh1  Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni