How to deploy Reference site package in AEM cloud manager | Community
Skip to main content
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 arunpatidar

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

3 replies

Sachin_Arora_
Community Advisor
Community Advisor
April 13, 2023

@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

 

arunpatidar
Community Advisor
Community Advisor
April 13, 2023

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/pom.xml#L60 

Arun Patidar
Level 2
April 13, 2023

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 ?

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
April 14, 2023

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
Sady_Rifat
Community Advisor
Community Advisor
April 13, 2023

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 

Level 2
April 13, 2023

Hi 

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