Skip to main content
Level 2
Apr 9, 2024 1:07 PM UTC

Is there any way to embed core in ui apps using filevault-package-maven-plugin

Hi, Is there any way to embed core into ui.apps using filevault-package-maven-plugin but also keeping the packageType as application? Basically I am trying to replicate similar behaviour that was used in older versions of content-package-maven-plugin where core is bundles along with ui.apps and not part of the all module.

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

6 replies

arunpatidar
Community Advisor
Community Advisor
Apr 9, 2024 4:05 PM UTC
sindhusrAuthor
Level 2
Apr 10, 2024 2:02 AM UTC

Hi @arunpatidar ,

Thank you for your response.

When I tried adding embeddable in the ui.apps I get this error --  ValidationViolation: "jackrabbit-packagetype: Package of type 'APPLICATION' is not supposed to contain OSGi bundles or configurations!.

I tried this previously as well  but could not get it working. how did you get around that?

Translate
sindhusrAuthor
Level 2
Apr 10, 2024 4:24 AM UTC

Looks like the issue above happens only in version 1.1.6 of filevault plugin. I used the same version as in your example and everything works fine but I noticed that the core bundle automatically activates and deactivates by itself in a loop. Do you know why? or have you faced anything similar?

Translate
joerghoh
Adobe Employee
Adobe Employee
Apr 14, 2024 12:08 PM UTC

That approach is not compatible with AEM CS. May I ask why you try to achieve this?

Translate
kautuk_sahni
Level 9
May 17, 2024 8:20 AM UTC

@sindhusr Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Translate
Kautuk Sahni