Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

Avatar

Level 2

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.

Sumit1191_0-1668521308106.png

 

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 !!

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@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

Screen Shot 2022-11-15 at 1.00.57 PM.png

 based on this - It requires at least AEM 6.5.7.0+ 

View solution in original post

4 Replies

Avatar

Level 2

Hi @Saravanan_Dharmaraj ,

 

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

Sumit1191_0-1668532393424.png

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

Avatar

Correct answer by
Community Advisor

@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

Screen Shot 2022-11-15 at 1.00.57 PM.png

 based on this - It requires at least AEM 6.5.7.0+ 

Avatar

Level 4

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.