dependency issue in java class | Community
Skip to main content
Level 6
July 4, 2022
Solved

dependency issue in java class

  • July 4, 2022
  • 1 reply
  • 2641 views

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.
Best answer by Peter_Puzanovs

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

1 reply

Peter_Puzanovs
Community Advisor
Community Advisor
July 4, 2022

Hi Vani,

 

Make sure to update your core pom to include assetshare,

 

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

 

Regards,

Peter

Vani1012Author
Level 6
July 4, 2022

I already included that in core pom.xml

Peter_Puzanovs
Community Advisor
Peter_PuzanovsCommunity AdvisorAccepted solution
Community Advisor
July 4, 2022

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