Hello all,
I have a custom AEM project which I've built some services/servlet and will only be installing the core module (lets say osgi bundle a) on to AEM.
Now I want to add this bundle a into another AEM Project which will consume bundle a's services & servlets.
How can I go about adding my custom bundle to my custom AEM Project while resolving dependencies. I would also like to know what to add to my pom.xml's if possible.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @akatsuki07!
There are multiple approaches to achieve this:
Hope that helps!
@akatsuki07 You would require a nexus repository to export the bundle into that and then include that nexus repository into your parent pom.xml & use <embed-dependency> to include this bundle.
Hi @akatsuki07 ,
The following documents may be helpful:
1) https://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html
Hope this helps!!
Thanks
Hi @akatsuki07!
There are multiple approaches to achieve this:
Hope that helps!
Hi @akatsuki07!
Option 2 will embed the bundle into package, resulting in a single deployment package that deploys both parts together.
Option 3 will tell the bundle that there is a dependency, but the other bundle has to be deployed separately. So you will have to separate deployments.
Hope that clarifies it at bit!
Hi @akatsuki07 My two cents you can also refer to this blog for additional info
http://www.wemblog.com/2014/01/how-to-include-cq-package-from-other.html
Regards,
Rajashankar.R
Views
Likes
Replies
Views
Likes
Replies