Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

acs comons is not showing in tools section when we are deploying on aem cloud

Avatar

Level 4

HI All, 

i am deploying  acs commons version (<version>6.0.6</version>) on aem cloud according to this article (https://adobe-consulting-services.github.io/acs-aem-commons/pages/maven.html)

 

If I am deploying in local sdk i am able to see ACS commons inside tools. But when same code i am deploying on AEM cloud the acs commons icon is not showing in AEM cloud.

 

please find the attached screenshot local_sdk_iamge.png

            CLOUD : 

 

cloud_sdk_sreenshot.png

Thanks

Raushan

@

6 Replies

Avatar

Community Advisor

Hi @raushan123 

 

Can you please check if you have acscommons all zip file located in your custom project path after the code depoyment?

This custom path should be the one which has been added in the all pom.xml as mentioned below (/apps/my-app-vendor-packages/container/install)

<plugins>
    <plugin>
        <groupId>org.apache.jackrabbit</groupId>
        <artifactId>filevault-package-maven-plugin</artifactId>
        ...
        <configuration>
            <embeddeds>
                ...
                <embedded>
                    <groupId>com.adobe.acs</groupId>
                    <artifactId>acs-aem-commons-all</artifactId>
                    <type>zip</type>
                    <target>/apps/my-app-vendor-packages/container/install</target>
                    <filter>true</filter>
                    <isAllVersionsFilter>true</isAllVersionsFilter>
                </embedded> 

 

 

Avatar

Level 4

HI @Rohit_Utreja  thanks for your quick reply.

 

 

<target>/apps/raittcore-packages/application/install</target>

 

 

and after deploying it came in root level 

raushan123_0-1679903593316.png

 

But i am not able to see in tools section

Avatar

Community Advisor
/apps/raittcore-packages/application/install

this path should have ...all.zip package, can you please check.

Avatar

Level 2

Is this still happening? Or have you found a solution? Thank you. 

Avatar

Employee

I was facing the same issue then below have resolved this issue for me
Note: I am using ACS Common version < 6

In all pom.xml I added

 

<!-- AEM ACS Commons in Plugin Section-->
<embedded>
    <groupId>com.adobe.acs</groupId>
    <artifactId>acs-aem-commons-content</artifactId>
    <type>zip</type>
    <target>/apps/my-app-packages/container/install</target>
    <filter>true</filter>
    <isAllVersionsFilter>true</isAllVersionsFilter>
</embedded>

<!-- ACS Commons in Dependency Section -->
<dependency>
    <groupId>com.adobe.acs</groupId>
    <artifactId>acs-aem-commons-content</artifactId>
    <version>5.3.4</version>
    <type>zip</type>
</dependency>

I also added below in core > pom.xml
<!-- ACS Commons -->
<dependency>
    <groupId>com.adobe.acs</groupId>
    <artifactId>acs-aem-commons-bundle</artifactId>
    <version>5.3.4</version>
    <scope>provided</scope>
</dependency>

 

 

Please note, In ACS AEM Commons 6.0.0, the main dependency artifact ID was renamed from acs-aem-commons-content to acs-aem-commons-all

Hope it will resolve your issue.