Expand my Community achievements bar.

SOLVED

Embeded vendor packages are not getting installed automatically

Avatar

Level 1

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>
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@KarthickVijay 

 

Please look for any errors while installing these bundles. Manually install and check logs

  • Package install logs in CRX package manager
  • in error.log

 

If there are any, please resolve them. 

 

 


Aanchal Sikka

View solution in original post

7 Replies

Avatar

Level 5

You are trying this in wknd repo itself ? And have you added the asset share's dependency as well in your pom ? 

 

Avatar

Level 1

Yes, have added asset share's dependency in all/pom and main/pom as well

Avatar

Level 5

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"/>

  

Avatar

Level 5

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? 

Avatar

Level 1

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

Avatar

Correct answer by
Community Advisor

@KarthickVijay 

 

Please look for any errors while installing these bundles. Manually install and check logs

  • Package install logs in CRX package manager
  • in error.log

 

If there are any, please resolve them. 

 

 


Aanchal Sikka

Avatar

Community Advisor

Hi @KarthickVijay 
Did you added as dependency as well?

https://github.com/arunpatidar02/aemaacs-aemlab/blob/e31fc62bfd147e56ecaca740c6e2739c66c75f75/all/po...

 

Sometimes it may take time to install and reflect the status.



Arun Patidar