Solved
Embeded vendor packages are not getting installed automatically
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>