Expand my Community achievements bar.

SOLVED

Add additional library to bundle.

Avatar

Level 2

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. 

marcinn_0-1619686752290.png

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. 

 

marcinn_1-1619687045890.png

 

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

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @marcinn,

Please find my answer here.

Hope this helps.

Thanks,

Kiran Vedantam.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @marcinn,

Please find my answer here.

Hope this helps.

Thanks,

Kiran Vedantam.