Deploying zip file of dependency aem project (Similar to acs-aem-commons project) | Community
Skip to main content
sreenu539
Level 7
March 26, 2018

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

  • March 26, 2018
  • 1 reply
  • 2619 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

rmahendra
Adobe Employee
Adobe Employee
April 6, 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>

sreenu539
sreenu539Author
Level 7
April 9, 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