Highlighted

Deploying zip file of dependency aem project (Similar to acs-aem-commons project)

sreenu539

26-03-2018

I have foundation-project ( AEM project with bundle, components modules). foundation-project is added as <dependency> in the pom file of CompanyProject.

When I do autoInstallPackage on CompanyProject, I would like to have foundation-project bundle, components deployed to local AEM instance.

How to achieve this using Maven?

acs-aem-commons project .zip file uploaded to package manager when I do my project build, in the similar way, I would like to have foundation project zip file to be uploaded to package manager and bundle also gets deployed to admin console.

Thanks,

Sri

Replies

Highlighted

rmahendra

Employee

06-04-2018

You have to add foundation-project as a sub package in the content package maven plugin configuration in the pom file. If you have a separate bundle, you can embed it in the plugin configuration.

Example:

<subPackages>

     <subPackage>

          <groupId>com.adobe.cq</groupId>

          <artifactId>core.wcm.components.all</artifactId>

          <filter>true</filter>

     </subPackage>

</subPackages>

Highlighted

sreenu539

09-04-2018

It is correct. It needs one more configuration in filter.xml of ui.apps for zip package to be exported to File system/crxde