Add additional library to bundle.

Avatar

Avatar
Validate 1
Level 1
marcinn
Level 1

Likes

2 likes

Total Posts

9 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
marcinn
Level 1

Likes

2 likes

Total Posts

9 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
marcinn
Level 1

29-04-2021

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

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Springboard
Level 7
KiranVedantam1992
Level 7

Likes

195 likes

Total Posts

213 posts

Correct reply

60 solutions
Top badges earned
Springboard
Give Back 5
Ignite 1
Affirm 50
Validate 1
View profile

Avatar
Springboard
Level 7
KiranVedantam1992
Level 7

Likes

195 likes

Total Posts

213 posts

Correct reply

60 solutions
Top badges earned
Springboard
Give Back 5
Ignite 1
Affirm 50
Validate 1
View profile
KiranVedantam1992
Level 7

01-06-2021

Hi @marcinn,

Please find my answer here.

Hope this helps.

Thanks,

Kiran Vedantam.

Answers (0)