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.
arunpatidar
arunpatidarAccepted solution
New Participant
Apr 14, 2023 7:02 AM UTC

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

11 replies

Sady_Rifat
New Participant
Apr 13, 2023 7:38 AM UTC

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 

Translate
Level 2
Apr 13, 2023 11:29 AM UTC

Hi 

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

Translate
arunpatidar
New Participant
Apr 13, 2023 7:10 AM UTC

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 

Translate
Arun Patidar
Level 2
Apr 13, 2023 7:16 AM UTC

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 ?

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
Apr 14, 2023 7:02 AM UTC

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

Translate
Arun Patidar
Sachin_Arora_
New Participant
Apr 13, 2023 7:08 AM UTC

@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

 

Translate