Hi @manasi29
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.
- 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> - 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> - 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