AEM project with artifact version 35, dependencies not getting resolved. | Community
Skip to main content
Level 2
November 15, 2022
Solved

AEM project with artifact version 35, dependencies not getting resolved.

  • November 15, 2022
  • 2 replies
  • 1157 views

Hi All,

 

I have created sample project for reference using artifact 35 and deployed on AEM 6.5 instance. Now I am facing this dependency issue.

 

I tried to resolve the issue by adding following dependencies in core.pom but those are not getting picked up.

<dependency>

    <groupId>com.day.cq.wcm</groupId>

    <artifactId>cq-wcm-api</artifactId>

    <version>5.9.4</version>

<scope>provided</scope>

</dependency>

        <dependency>

            <artifactId>org.apache.sling.api</artifactId>

            <version>2.22.0</version>

            <groupId>org.apache.sling</groupId>

            <scope>provided</scope>

        </dependency>

Please Suggest !!

 

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 SantoshSai

@sumit1191 - https://www.linkedin.com/pulse/aem-bundles-resolving-archetype-archetypeversion35-cannot-vikraman/ this article belongs to AEMaaCS -  In your above screenshot I can see you are using AEM version is 6.5.0 - in that case please install latest AEM SP - that should resolve your problem!

Why are you facing this problem?
More details are here: 
Please check System requirements here: https://github.com/adobe/aem-project-archetype

 based on this - It requires at least AEM 6.5.7.0+ 

2 replies

Saravanan_Dharmaraj
Community Advisor
Community Advisor
November 15, 2022
Sumit1191Author
Level 2
November 15, 2022

Hi @saravanan_dharmaraj ,

 

Yes I have this linked in post before but I don't see installed product info in felix productinfo,

Let me check with any random versions of aem-sdk-api https://mvnrepository.com/artifact/com.adobe.aem/aem-sdk-api 

SantoshSai
Community Advisor
SantoshSaiCommunity AdvisorAccepted solution
Community Advisor
November 15, 2022

@sumit1191 - https://www.linkedin.com/pulse/aem-bundles-resolving-archetype-archetypeversion35-cannot-vikraman/ this article belongs to AEMaaCS -  In your above screenshot I can see you are using AEM version is 6.5.0 - in that case please install latest AEM SP - that should resolve your problem!

Why are you facing this problem?
More details are here: 
Please check System requirements here: https://github.com/adobe/aem-project-archetype

 based on this - It requires at least AEM 6.5.7.0+ 

Santosh Sai
Level 4
November 15, 2022

Hi @sumit1191 ,

 

This issue is caused due to the SP package issues, as suggested install the required service pack for the archetype you are using.

Hope this is helpful.