Embeded vendor packages are not getting installed automatically | Community
Skip to main content
Level 2
June 26, 2024
Solved

Embeded vendor packages are not getting installed automatically

  • June 26, 2024
  • 3 replies
  • 1428 views

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>
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 aanchal-sikka

@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. 

 

 

3 replies

h_kataria
Community Advisor
Community Advisor
June 26, 2024

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

 

Level 2
June 26, 2024

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

h_kataria
Community Advisor
Community Advisor
June 26, 2024

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

  

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
June 26, 2024

@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
arunpatidar
Community Advisor
Community Advisor
June 26, 2024

Hi @karthickvijay 
Did you added as dependency as well?

https://github.com/arunpatidar02/aemaacs-aemlab/blob/e31fc62bfd147e56ecaca740c6e2739c66c75f75/all/pom.xml#L210

 

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

Arun Patidar