All module is installing the embedded packages directly under /apps, but it fails when we are changing filter.xml and Target to some folder.
Solved! Go to Solution.
Views
Replies
Total Likes
@Bhuwan_B
I did re-structured
and all went well, here is the github project for you I have uploaded, have a look at it - https://github.com/sansai2011/myproject-aem-project
Everything is deployed as per your expectation.
Hope that helps!
Regards,
Santosh
Hi @Bhuwan_B
It works for me!
<workspaceFilter version="1.0">
<filter root="/apps/demo/myproject-packages"/>
<filter root="/apps/demo/myproject-vendor-packages"/>
</workspaceFilter>
<embeddeds>
<embedded>
<groupId>com.myproject.aem</groupId>
<artifactId>myproject-aem-project.ui.apps</artifactId>
<type>zip</type>
<target>/apps/demo/myproject-packages/application/install</target>
</embedded>
<embedded>
<groupId>com.myproject.aem</groupId>
<artifactId>myproject-aem-project.core</artifactId>
<target>/apps/demo/myproject-packages/application/install</target>
</embedded>
<embedded>
<groupId>com.myproject.aem</groupId>
<artifactId>myproject-aem-project.ui.content</artifactId>
<type>zip</type>
<target>/apps/demo/myproject-packages/content/install</target>
</embedded>
<embedded>
<groupId>com.myproject.aem</groupId>
<artifactId>myproject-aem-project.ui.config</artifactId>
<type>zip</type>
<target>/apps/demo/myproject-packages/application/install</target>
</embedded>
<embedded>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.content</artifactId>
<type>zip</type>
<target>/apps/demo/myproject-vendor-packages/application/install</target>
</embedded>
<embedded>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.core</artifactId>
<target>/apps/demo/myproject-vendor-packages/application/install</target>
</embedded>
<embedded>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.config</artifactId>
<type>zip</type>
<target>/apps/demo/myproject-vendor-packages/application/install</target>
</embedded>
</embeddeds>
What is the build error you are getting?
Regards,
Santosh
@SantoshSai: Please check if you are getting all changes inside /apps/demo/wknd(Components, Clientlibs, etc.) and other modules changes (like run modes, etc.) appearing within the folder. What I am expecting is like below (Below behavior is when you install it directly under /apps).
@Bhuwan_B for that I believe you have to restructure, all other modules(ui.apps, ui.configs etc.) also to place it under demo, because embed instruction for filevault-package-maven-plugin just club together and just install under <target>/apps/demo/myproject-packages/application/install</target> as you instructed.
@SantoshSai I already tried restructuring other modules and deploying but no luck.
@Bhuwan_B
I did re-structured
and all went well, here is the github project for you I have uploaded, have a look at it - https://github.com/sansai2011/myproject-aem-project
Everything is deployed as per your expectation.
Hope that helps!
Regards,
Santosh