ACS-commons 5.1.0 deleting after code push (Not a cloud service) | Community
Skip to main content
Level 3
Jun 28, 2022 5:58 PM UTC
Solved

ACS-commons 5.1.0 deleting after code push (Not a cloud service)

Hi Team,

 

We are trying to include acs-commons through a deployment but are unable to, by adding dependency through pom files. Also, tried directly installing but after code push, it is wiping off. Can someone help me with this issue? 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SantoshSai
SantoshSaiAccepted solution
New Participant
Jun 29, 2022 4:36 PM UTC

Thanks Santosh!

 

<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>6.5.12</version>
<scope>provided</scope>
</dependency>

Do you think i am missing some thing in this? 


@gvaem One last solution worth to check - filter.xml. ACS- Common Tools install under /apps/cq/core/content/nav/tools check if you have any filters in ui.apps as mentioned here https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/420 that should solve your problem!

Santosh Sai

11 replies

SantoshSai
New Participant
Jun 28, 2022 6:10 PM UTC

Hi @gvaem ,

It is recommended to embed ACS Commons in your project so that it will be installed on your AEM instances whenever you deploy your code. 

Below are the steps to be followed for AEMaaCS.

  1. Add the below dependency to your all project's pom.xml
    <dependency>
        <groupId>com.adobe.acs</groupId>
        <artifactId>acs-aem-commons-ui.content</artifactId>
        <version>5.1.0</version>
        <type>zip</type>
        <classifier>min</classifier>
    </dependency>
    <dependency>
        <groupId>com.adobe.acs</groupId>
        <artifactId>acs-aem-commons-ui.apps</artifactId>
        <version>5.1.0</version>
        <type>zip</type>
        <classifier>min</classifier> 
    </dependency>
  2. Add the below embed properties in your all project's pom.xml.
    <embedded>
         <groupId>com.adobe.acs</groupId>
         <artifactId>acs-aem-commons-ui.apps</artifactId>
         <type>zip</type>
         <target>/apps/mysite-packages/application/install</target>
    </embedded>
    <embedded>
          <groupId>com.adobe.acs</groupId>
          <artifactId>acs-aem-commons-ui.content</artifactId>
          <type>zip</type>
          <target>/apps/mysite-packages/content/install</target>
    </embedded>
  3. Add the below dependency to your core project's pom.xml
    <dependency>
        <groupId>com.adobe.acs</groupId>
        <artifactId>acs-aem-commons-bundle</artifactId>
        <version>5.1.0</version>
        <scope>provided</scope>
    </dependency>
             

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

Hope that helps!

Regards,

Santosh

Translate
Santosh Sai
gvaemAuthor
Level 3
Jun 28, 2022 6:48 PM UTC

This doesn't work for local instances. I am not seeing acs commons through sites. Any suggestions?

Translate
gvaemAuthor
Level 3
Jun 28, 2022 6:57 PM UTC

It shows installed but on the front end site unable see the acs commons tab

Translate