Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

acs commons 4.3.2 not getting deployed as subpackage

sreedobe
Level 4
Level 4

I have an aem project migrating to AEM 6.5.1 and made all uber, acs commons changes as needed for this.

Screen Shot 2019-09-23 at 6.30.15 PM.png

Screen Shot 2019-09-23 at 6.30.09 PM.png

ACS Commons bundle, content package not deployed.

Global POM:

            <dependency>

                <groupId>com.adobe.acs</groupId>

                <artifactId>acs-aem-commons-bundle</artifactId>

                <version>4.3.2</version>

                <scope>provided</scope>

            </dependency>

In UI.APPS pom:

  <plugin>

                <groupId>com.day.jcr.vault</groupId>

                <artifactId>content-package-maven-plugin</artifactId>

                <extensions>true</extensions>

                <configuration>

                    <filterSource>${basedir}/META-INF/vault/filter.xml</filterSource>

                    <verbose>true</verbose>

                    <failOnError>true</failOnError>

                    <group>test-site</group>

                    <timeout>30</timeout>

                    <embeddeds>

                        <embedded>

                            <groupId>com.test</groupId>

                            <artifactId>test-site.core</artifactId>

                            <target>/apps/test-site/install</target>

                        </embedded>

                    </embeddeds>

                    <subPackages>

                        <subPackage>

                            <groupId>com.adobe.acs</groupId>

                            <artifactId>acs-aem-commons-content</artifactId>

                            <filter>true</filter>

                        </subPackage>

                        <subPackage>

                            <groupId>com.adobe.cq</groupId>

                            <artifactId>core.wcm.components.all</artifactId>

                            <filter>true</filter>

                        </subPackage>

                    </subPackages>

                </configuration>

            </plugin>

In UI.CONTENT POM:

            <plugin>

                <groupId>com.day.jcr.vault</groupId>

                <artifactId>content-package-maven-plugin</artifactId>

                <extensions>true</extensions>

                <configuration>

                    <group>test-site</group>

                    <filterSource>src/main/content/META-INF/vault/filter.xml</filterSource>

                    <verbose>true</verbose>

                    <failOnError>true</failOnError>

                    <embeddeds>

                        <embedded>

                            <groupId>com.test</groupId>

                            <artifactId>test-site.core</artifactId>

                            <target>/apps/test-site/install</target>

                        </embedded>

                    </embeddeds>

                </configuration>

            </plugin>

Thanks for any help.

1 Reply
dvnSudheer
Level 3
Level 3

You have to use the content package for deploying the package in the environment. acs-aem-commons-bundle is used for compilation any files during the build.

Please refer to this document for step by step process to install acs-aem-commons bundle

Set up ACS commons