Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
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.

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @marcinn,

Please find my answer here.

Hope this helps.

Thanks,

Kiran Vedantam.