Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACS Commons not getting upgraded with the mvn clean install -PautoInstallPackage #3307

Closed
1 task
kashifsyedqd opened this issue Mar 31, 2024 · 1 comment
Closed
1 task

Comments

@kashifsyedqd
Copy link

kashifsyedqd commented Mar 31, 2024

  • [ aem-sdk-2023.12.14697.20231215T125030Z-231200 ] AEM Version, including Service Packs, Cumulative Fix Packs, etc: _______
  • ACS AEM Commons Version: 6.5.0 (latest)_
  • [ yes ] Reproducible on Latest? yes/no

Expected Behavior

I have followed the instruction to use ACS Commons to be installed as an embedded package for AEM Cloud SDK. I am using the cloud classifier as well. I have an older version of acs commons installed (6.1.0) but it did not get upgraded to the 6.5.0 version I was going for:
https://adobe-consulting-services.github.io/acs-aem-commons/pages/maven.html

Actual Behavior

I am building using :
mvn clean install -PautoInstallPackage

I am using this in the all/pom.xml:

<embedded>
                            <groupId>com.adobe.acs</groupId>
                            <artifactId>acs-aem-commons-all</artifactId>
                            <classifier>cloud</classifier>
                            <type>zip</type>
                            <target>/apps/csh-aem-core-packages/content/install</target>
                            <filter>true</filter>
                            <isAllVersionsFilter>true</isAllVersionsFilter>
                        </embedded>

and

      <dependency>
            <groupId>com.adobe.acs</groupId>
            <artifactId>acs-aem-commons-all</artifactId>
            <classifier>cloud</classifier>
            <version>6.5.0</version>
            <type>zip</type>
        </dependency>

Even after the build I am still seeing the existing acs package 6.1.0

What am I missing here to get ACS Commons package upgraded to the latest version for the AEM Cloud SDK and then for the AEM Cloud Servers?

Thanks,
Kash

@kashifsyedqd kashifsyedqd changed the title ACS Commons not getting installed with the mvn clean install ACS Commons not getting upgraded with the mvn clean install -PautoInstallPackage Mar 31, 2024
@kashifsyedqd
Copy link
Author

The issue is fixed after I have changed the following

                   
            <embedded>
                            <groupId>com.adobe.acs</groupId>
                            <artifactId>acs-aem-commons-all</artifactId>
                            <classifier>cloud</classifier>
                            <type>zip</type>
                            <target>/apps/csh-aem-core-packages/content/install</target>
                            <filter>true</filter>
                            <isAllVersionsFilter>true</isAllVersionsFilter>
               </embedded>

to

<embedded>
                            <groupId>com.adobe.acs</groupId>
                            <artifactId>acs-aem-commons-all</artifactId>
                            <classifier>cloud</classifier>
                            <type>zip</type>
                            <target>/apps/csh-aem-core-packages/application/install</target>
                            <filter>true</filter>
                            <isAllVersionsFilter>true</isAllVersionsFilter>
                        </embedded>

The key was to have this path
/apps/csh-aem-core-packages/application/install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant