Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

AEMaaCS DEV deployment failing in "Build transform" step

Avatar

Level 9

The only changes I made include:

  • adding ACS commons into my maven project
  • some component changes

all/pom.xml

 

 

                        <embedded>
                            <artifactId>acs-aem-commons-all</artifactId>
                            <target>/apps/myhost-vendor-packages/container/install</target>
                            <filter>true</filter>
                            <isAllVersionsFilter>true</isAllVersionsFilter>
                        </embedded>
...
...
        <dependency>
            <groupId>com.adobe.acs</groupId>
            <artifactId>acs-aem-commons-all</artifactId>
            <classifier>cloud</classifier>
            <version>6.6.2</version>
            <type>zip</type>
        </dependency>

 

 

core/pom.xml

 

 

        <dependency>
            <groupId>com.adobe.acs</groupId>
            <artifactId>acs-aem-commons-bundle</artifactId>
            <version>6.6.2</version>
            <scope>provided</scope>
        </dependency>

 

 

all/vault/filter.xml

 

 

    <filter root="/apps/myhost-vendor-packages"/>
</workspaceFilter>

 

 

 

I built/installed the project locally first, I can see ACS commons option in Tools.

2024-07-29 10_25_05-Annotate Image and 16 more pages - Work - Microsoft​ Edge.jpg

 

I can also see these 2 packages has been installed

2024-07-29 10_31_40-CRX Package Manager - _etc_packages_au.edu.holmesglen_holmesglen.all-1.0-SNAPSHO.jpg

 

I downloaded and viewed the log BUT nothing jumps out to me that should cause the error. Here's a link to the logs => https://pastebin.com/A4h2rrzr

 

Any ideas what could be wrong and how to fix? Thanks

 

UPDATE: I reverted my changes (removed adding ACS commons to my maven project) and the DEV deployment pipeline has successfully completed.
2024-07-29 10_37_37-Pipeline Execution _ Cloud Manager and 18 more pages - Work - Microsoft​ Edge.jpg

1 Accepted Solution

Avatar

Correct answer by
Level 8

@jayv25585659 

Please follow below steps to install ACS commons in 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>6.6.2</version>
        <type>zip</type>
        <classifier>min</classifier>
    </dependency>
    
    <dependency>
        <groupId>com.adobe.acs</groupId>
        <artifactId>acs-aem-commons-ui.apps</artifactId>
        <version>6.6.2</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/myhost-packages/application/install</target>
                    </embedded>
                    <embedded>
                        <groupId>com.adobe.acs</groupId>
                        <artifactId>acs-aem-commons-ui.content</artifactId>
                        <type>zip</type>
                        <target>/apps/myhost-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>6.6.2</version>
        <scope>provided</scope>
    </dependency>

View solution in original post

7 Replies

Avatar

Correct answer by
Level 8

@jayv25585659 

Please follow below steps to install ACS commons in 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>6.6.2</version>
        <type>zip</type>
        <classifier>min</classifier>
    </dependency>
    
    <dependency>
        <groupId>com.adobe.acs</groupId>
        <artifactId>acs-aem-commons-ui.apps</artifactId>
        <version>6.6.2</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/myhost-packages/application/install</target>
                    </embedded>
                    <embedded>
                        <groupId>com.adobe.acs</groupId>
                        <artifactId>acs-aem-commons-ui.content</artifactId>
                        <type>zip</type>
                        <target>/apps/myhost-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>6.6.2</version>
        <scope>provided</scope>
    </dependency>

Avatar

Level 9

according to this site (click here for link), "In ACS AEM Commons 6.0.0, the main dependency artifact ID was renamed from acs-aem-commons-content to acs-aem-commons-all."

 

but I'll test your suggestion. Thanks

(all I'm saying is that your suggestion goes against the suggestion in the ACS documentation)

 

 

Avatar

Level 9

question please, where did you get the "min" classifier? thanks

Avatar

Level 9

just tried your suggestion (classifier=min) and I'm getting this error

 

com.adobe.acs:acs-aem-commons-ui.content:zip:min:6.6.2 was not found in https://repo.maven.apache.org/maven2

Avatar

Administrator

@jayv25585659 Did you find the suggestions from users helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni