Skip to main content
Level 6
Jul 4, 2022 6:55 AM UTC
Solved

dependency issue in java class

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

Can anyone help me on this.

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Peter_Puzanovs
Peter_PuzanovsAccepted solution
Community Advisor
Jul 4, 2022 11:26 AM UTC

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

3 replies

Peter_Puzanovs
Community Advisor
Community Advisor
Jul 4, 2022 9:16 AM UTC

Hi Vani,

 

Make sure to update your core pom to include assetshare,

 

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

 

Regards,

Peter

Translate
Vani1012Author
Level 6
Jul 4, 2022 9:19 AM UTC

I already included that in core pom.xml

Translate
Peter_Puzanovs
Community Advisor
Peter_PuzanovsCommunity AdvisorAccepted solution
Community Advisor
Jul 4, 2022 11:26 AM UTC

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

Translate