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
Solved! Go to Solution.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Are you referring to this:
https://github.com/Adobe-Marketing-Cloud/aem-project-archetype
Views
Replies
Total Likes
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).
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Views
Like
Replies