Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

How to deploy Reference site package in AEM cloud manager

Avatar

Level 2

Trying to integrate alm with aem

 

One of the prerequisite is to install the below package in cloud service .

 

https://github.com/adobe/adobe-learning-manager-reference-site/releases/tag/1.0.0

 

How this can be acheived

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

you download this package, build it and and host the zip in your artifactory and from there you can install it using embed.



Arun Patidar

View solution in original post

11 Replies

Avatar

Community Advisor

@chandrakanthim You can embed package in your project so that it will get deployed with your code.

Go to all/pom.xml

<embedded>
    <groupId>GROUP ID</groupId>
    <artifactId>ARTIFACT ID</artifactId>
    <type>zip</type>
    <target>/apps/your-project/container/install</target>
    <filter>true</filter>
    <isAllVersionsFilter>true</isAllVersionsFilter>
</embedded>

 

In the <dependencies> section of your all (container-package) project’s pom.xml file, add this:

<dependency>
    <groupId>GROUP ID</groupId>
    <artifactId>ARTIFACT ID</artifactId>
    <version>VERSION</version>
    <classifier>min</classifier>
    <type>zip</type>
</dependency>

Please refer below document of adding ACS Commons in project. You can follow same steps for ALM.

https://adobe-consulting-services.github.io/acs-aem-commons/pages/maven.html

 

Avatar

Community Advisor

you can embed this package in all/pom.xml similar to your own/other vendor packages 

e.g. https://github.com/arunpatidar02/aemaacs-aemlab/blob/f96ce5316dfa4798c72d2e87d3a0b41fc49791a4/all/po... 



Arun Patidar

Avatar

Level 2

Please let me know if below steps are correct

 

download source code from https://github.com/adobe/adobe-learning-manager-reference-site/releases/tag/1.0.0

 

paste the contents into git repo folder

 

git add, git commit and push the files.

 

OR is there any other source code to be pushed to git ?

Avatar

Correct answer by
Community Advisor

you download this package, build it and and host the zip in your artifactory and from there you can install it using embed.



Arun Patidar

Avatar

Level 2

Hi Thanks for the solution. I had followed the steps.

Now in cloud pipeline i am getting below error while build

 

Please commit a correct symlink: ../available_vhosts/learning.vhost

 

I am using windows machine for this . 

Avatar

Community Advisor

Hi,

you ned to create symlink , make sure you use relative paths to ceate symlnk 

https://woshub.com/create-symlink-windows/ 

 

example, (however please check the correct syntax)

cd disptacherfolder/enable_vhost

mklink learning.vhost ../available_vhosts/learning.vhost



Arun Patidar

Avatar

Community Advisor

I doubt the following package has a public Maven repository to embed as a dependency in POM file.
In that case, you need to install it manually using the maven command or via the package manager.

Maven Build: https://github.com/adobe/adobe-learning-manager-reference-site#how-to-build 

Avatar

Level 2

Hi 

I dont have java environment in my machine. Is there any other way to deploy package to aem cloud service ?