Add additional library to bundle. | Community
Skip to main content
marcinn
Level 2
April 29, 2021
Solved

Add additional library to bundle.

  • April 29, 2021
  • 1 reply
  • 930 views

Hi

 

I'd like to add 3rd part library to the AEM bundle. I'd like to use jmagick (it's ImageMagick java wrapper) to process images inside the workflow step. 

I've added Maven dependencies to the pom file. 

 

Inside the class, I've imported jmagick as 

 

import magick;

 

But unfortunately, after deploy to the local AEM, the whole bundle couldn't start because of the missing library. 

 

 

Can anyone give me step-by-step instruction on how to add a new library to the bundle?

 

Thank you in advance for your help

 

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 Kiran_Vedantam

Hi @marcinn,

Please find my answer here.

Hope this helps.

Thanks,

Kiran Vedantam.

1 reply

Kiran_Vedantam
Community Advisor
Kiran_VedantamCommunity AdvisorAccepted solution
Community Advisor
June 1, 2021

Hi @marcinn,

Please find my answer here.

Hope this helps.

Thanks,

Kiran Vedantam.