separate package build for UI(apps/myproject/component,templates,etc) and Content (/content/myfolder, etc..) | Community
Skip to main content
March 25, 2016
Solved

separate package build for UI(apps/myproject/component,templates,etc) and Content (/content/myfolder, etc..)

  • March 25, 2016
  • 3 replies
  • 2019 views

it's multi-module maven archetype project, we have one module to build the ui-content along with osgi bundles to install on the AEM instance using maven-content-package plugin. but when we do this, it creates UI, and Content simultaneously. is there any way I can create only UI stuff (apps/myproject/component,templates,etc) related one time and deploy and Content (/content/myfolder, etc..) separately build and deploy.

 

 

thanks

shekhar

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 Lokesh_Shivalingaiah

If you are using Maven Archetype 10, then you will have different modules for ui.apps and ui.content

Each module will have its own pom.xml, you can create the profile in each of the pom.xml like 'full' and use it

3 replies

smacdonald2008
Level 10
March 26, 2016
March 28, 2016

No, I have already created multi-module maven project using the aem maven archetypes. And I have created a profile( mvn install -P full) which creates the package of osgi bundles, UI, and Content and installs on aem instance. is there any way I can separate UI and Content builds when doing this so that I can install it on AEM instance separately. like can create maven profiles similar to full profile( mvn install -P full).

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
March 28, 2016

If you are using Maven Archetype 10, then you will have different modules for ui.apps and ui.content

Each module will have its own pom.xml, you can create the profile in each of the pom.xml like 'full' and use it