Expand my Community achievements bar.

SOLVED

Upgrade acs-commons in AEM 6.5

Avatar

Level 4

Is there a procedure to upgrade acs-commons version in AEM 6.5?

Currently we have version 4.7 and we'd like to use the recent version on acs-commons?

I have downloaded the package from https://adobe-consulting-services.github.io/acs-aem-commons/.

Is it enough to just install this? Will the existing acs-commons content be affected with the version change?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@pixislinger Upgrade the version in the POM, and run the tests to make sure nothing is breaking.

View solution in original post

4 Replies

Avatar

Community Advisor

Hi @pixislinger 

 

There are two ways to install acs commons. One is to install the acs commons package in each of your aem instances. And the other way is to embed acs commons in your project so that it will be installed on your aem instances whenever you deploy your code. I would recommended you to embed acs to your project.

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.2.0</version>
        <type>zip</type>
        <classifier>min</classifier>
    </dependency>
    
    <dependency>
        <groupId>com.adobe.acs</groupId>
        <artifactId>acs-aem-commons-ui.apps</artifactId>
        <version>5.2.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/my-app-packages/application/install</target>
                    </embedded>
                    <embedded>
                        <groupId>com.adobe.acs</groupId>
                        <artifactId>acs-aem-commons-ui.content</artifactId>
                        <type>zip</type>
                        <target>/apps/my-app-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.2.0</version>
        <scope>provided</scope>
    </dependency>

Below is a link to the acs commons documentation.

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

 

Thanks

Avatar

Correct answer by
Employee Advisor

@pixislinger Upgrade the version in the POM, and run the tests to make sure nothing is breaking.

Avatar

Level 4

Thanks @Mayank_Gandhi , @ksh_ingole7 

Does upgrading this break any existing acs-commons used content, say lists for example?

Avatar

Employee Advisor

@pixislinger not necessarily but we just saw some issue with latest cfp in forms with upgrade of commons thus the heads up.