Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

Adobe learning manager AEM Package - cloud installation

Avatar

Level 2

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.

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

6 Replies

Avatar

Level 10

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/deploy...

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-...

Avatar

Level 2

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.

 

Avatar

Level 10

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

Avatar

Level 10

@saurabhsingh1 If i am not wrong in current scenario we need multi module project. What you are trying to do is to install one project compiled file with the help of other project which should not be the case.

Avatar

Correct answer by
Community Advisor

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

Avatar

Administrator

@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