dependency version of asset share commons | Community
Skip to main content
Level 6
July 4, 2022
Solved

dependency version of asset share commons

  • July 4, 2022
  • 1 reply
  • 657 views

Hi, 

I downloaded asset share commons ui.apps, ui content packages(1.9.4) in crxd using package manager in aem instance.

I have a maven project to this I added asset share commons dependencies with 1.6.10 version like this 

<dependency>
<groupId>com.adobe.aem.commons</groupId>
<artifactId>assetshare.core</artifactId>
<version>1.6.10</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.adobe.aem.commons</groupId>
<artifactId>assetshare.ui.apps</artifactId>
<version>1.6.10</version>
<scope>provided</scope>
<type>content-package</type>
</dependency>

 will this version(1.6.10) works fine because in crxd I downloaded asset share commons 1.9.4 version please help me on this.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by lukasz-m

Hi @vani1012,

You have to use the same versions on AEM and project level. 1.6.10 will not work on AEM 6.5, as it was developed before AEM 6.5 was released. 1.9.4 works on AEM 6.5 without issue, so please make sure your maven dependencies corresponds with version you have on AEM.

In case you will use different version on project and AEM level, as a result code that you have compiled and build could not work correctly/ or not work at all on AEM instance due to difference in the version.

1 reply

lukasz-m
Community Advisor
lukasz-mCommunity AdvisorAccepted solution
Community Advisor
July 4, 2022

Hi @vani1012,

You have to use the same versions on AEM and project level. 1.6.10 will not work on AEM 6.5, as it was developed before AEM 6.5 was released. 1.9.4 works on AEM 6.5 without issue, so please make sure your maven dependencies corresponds with version you have on AEM.

In case you will use different version on project and AEM level, as a result code that you have compiled and build could not work correctly/ or not work at all on AEM instance due to difference in the version.