Expand my Community achievements bar.

SOLVED

dependency issue in java class

Avatar

Level 8

Hi,

I have an maven multimodule aem project, I added asset share common dependencies to this project

I am trying to implement computed properties but when I written class which extends AbstractComputatedProperty itsnt able to fetch dependency.

 

In .m2/repository there is a asset share commons jar

Vani1012_1-1656917501813.pngVani1012_2-1656917537888.png

Can anyone help me on this.

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi Vani,

 

Check other rules you have in your bundle's pom, make sure scope is right, given all good IntelliJ should not show it as unresolved.

 

Regards,

Peter

View solution in original post

3 Replies

Avatar

Community Advisor

Hi Vani,

 

Make sure to update your core pom to include assetshare,

 

         <groupId>com.adobe.aem.commons</groupId>
         <artifactId>assetshare.core</artifactId>

 

Regards,

Peter

Avatar

Correct answer by
Community Advisor

Hi Vani,

 

Check other rules you have in your bundle's pom, make sure scope is right, given all good IntelliJ should not show it as unresolved.

 

Regards,

Peter