I have included the asset share commons package in the all/pom.xml. However, the vendor packages do not get installed automatically after running the build command (mvn clean install -PautoInstallSinglePackage).
<embedded>
<groupId>com.adobe.aem.guides</groupId>
<artifactId>aem-guides-wknd-shared.ui.content</artifactId>
<type>zip</type>
<target>/apps/wknd-vendor-packages/content/install</target>
</embedded>
<embedded>
<groupId>com.adobe.aem.commons</groupId>
<artifactId>assetshare.all</artifactId>
<type>zip</type>
<target>/apps/wknd-vendor-packages/container/install</target>
</embedded>
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Please look for any errors while installing these bundles. Manually install and check logs
If there are any, please resolve them.
You are trying this in wknd repo itself ? And have you added the asset share's dependency as well in your pom ?
Yes, have added asset share's dependency in all/pom and main/pom as well
Can you check once from package manager which pakages are getting installed when you do a project build? Do you see asset share commons package there or not ?
Also cross check once if wknd-vendor-packages is present in your all filter.xml or not (all/src/main/content/META-INF/vault/filter.xml)
<filter root="/apps/wknd-vendor-packages"/>
If you are using AEMaaCS then I also found this (https://opensource.adobe.com/asset-share-commons/pages/development/deploying/ ) in Asset share commons documentation which suggests to add a cloud classifier as well in the dependency
<dependency>
<groupId>com.adobe.aem.commons</groupId>
<artifactId>assetshare.all</artifactId>
<version>3.x.x</version>
<!-- Add the cloud classifier when deploying to AEM as a Cloud Service; omit if deploying to AEM 6.5 -->
<classifier>cloud</classifier>
<type>zip</type>
</dependency>
Can you try that as well if you are using AEM as cloud?
There was a mismatch between the SDK version specified in the main/pom.xml file and the local SDK version. Thank you for your pointers
Please look for any errors while installing these bundles. Manually install and check logs
If there are any, please resolve them.
Hi @KarthickVijay
Did you added as dependency as well?
Sometimes it may take time to install and reflect the status.
Views
Likes
Replies