How to install third party jar files in AEM as a cloud service? | Community
Skip to main content
GK-007
Level 9
March 28, 2022
Solved

How to install third party jar files in AEM as a cloud service?

  • March 28, 2022
  • 2 replies
  • 4909 views

Hello all,

We are in the phase of migrating from AEM managed service to AEM cloud service, we want to deploy third-party jar. When we are in AEM managed services we have created an OSGI bundle from this jar but in AEM as a cloud, we can not upload and install this OSGI bundle using package manager because it will not allow installing immutable content manually.

Please suggest what's the process to be followed to deploy the jars which are not part of OSGI container.

 

Thanks,

Kishore

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 arunpatidar

you can put this osgi bundle in the resources folder in your project core and copy in apps.ui /apps/myapp/vendor/install using POM similar to core bundle

 

2 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
March 29, 2022

you can put this osgi bundle in the resources folder in your project core and copy in apps.ui /apps/myapp/vendor/install using POM similar to core bundle

 

Arun Patidar
B_Sravan
Community Advisor
Community Advisor
May 15, 2022

Hi @arun-2 , by resources folder you mean, core/src/test/resources or core/src/main/ (create a folder resources) here?
also, by same pom you mean to use the <embedded> under plugins?
Please help, thank you.

 

Regards,

Sravan

February 2, 2023

Hi @b_sravan ,
Any Luck in resolving the above issue?
Have tried including our custom bundle under the .core/src/main/resources/xxxx.jar. As well having the embedded entry in all/pom.xml and dependency in main& core pom.xml.
There is always a warning and the jar is not pushed to our install.
[WARNING] No matching artifacts for Embedded:

@arunpatidar , @gk-007@b_sravan   - Please suggest if there is an resolution and steps to be followed.
Thanks

Cheers
Thabrez

Adobe Employee
September 17, 2024

It is an old thread but here is an ExL tutorial on How to install 3rd party artifacts (bundle, Java & packages) that are not part of Maven Central. 

https://experienceleague.adobe.com/en/docs/experience-manager-learn/foundation/development/install-third-party-artifacts

arunpatidar
Community Advisor
Community Advisor
September 17, 2024

Thanks for sharing @sachin-mali 

Arun Patidar