Migrate Asset Share Commons from AEM 6.5.18 to AEM cloud
Hi All,
I know Asset share commons is outside the scope of the AEM is open source.
However, for upgrading the Asset share commons to cloud we are facing issues.
in ui.apps we have the below dependency -
<dependency>
<groupId>com.adobe.aem.commons</groupId>
<artifactId>assetshare</artifactId>
<version>2.3.4</version>
<type>zip</type>
</dependency>
<dependency>
<artifactId>assetshare.core</artifactId>
<version>2.0.6</version>
<groupId>com.adobe.aem.commons</groupId>
<scope>provided</scope>
</dependency>
Do we need to change anything other than adding <classifier>cloud</classifier> to the dependency?
If I add that I am getting the below error -
Downloading from central: https://project.jfrog.io/project/cem-assets-maven-virtual/com/adobe/aem/commons/assetshare/2.3.4/assetshare-2.3.4.zip
Downloading from maven-public-releases: https://repo1.maven.org/maven2/com/adobe/aem/commons/assetshare/2.3.4/assetshare-2.3.4.zip
Downloading from adobe-public-releases: https://repo.adobe.com/nexus/content/groups/public/com/adobe/aem/commons/assetshare/2.3.4/assetshare-2.3.4.zip
Downloading from adobe-aem-releases: https://downloads.experiencecloud.adobe.com/content/maven/public/com/adobe/aem/commons/assetshare/2.3.4/assetshare-2.3.4.zip
[ERROR] Failed to execute goal on project aem-assets.ui.apps: Could not resolve dependencies for project com.project.aem.assets:aem-assets.ui.apps:content-package:0.0.1-SNAPSHOT: C
ould not transfer artifact com.adobe.aem.commons:assetshare:zip:2.3.4 from/to maven-public-releases (https://repo1.maven.org/maven2😞 transfer failed for https://repo1.maven.org/m
aven2/com/adobe/aem/commons/assetshare/2.3.4/assetshare-2.3.4.zip: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid cert
ification path to requested target -> [Help 1]