core components 2.11.1 in archetype 23

Avatar

Avatar
Give Back 3
Level 2
Aryan12345
Level 2

Likes

6 likes

Total Posts

32 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
Boost 5
View profile

Avatar
Give Back 3
Level 2
Aryan12345
Level 2

Likes

6 likes

Total Posts

32 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
Boost 5
View profile
Aryan12345
Level 2

10-09-2020

Two quick questions.

1. Is archetype 23 the latest for aem 6.5 SP 6?

2. How can I get core components 2.11.1 (latest) to work with this archetype? I changed the POM to reflect this version and i get error.

[ERROR] Failed to execute goal on project aem656.all: Could not resolve dependencies for project com.aem656:aem656.all:content-package:1.0-SNAPSHOT: Failure to find com.adobe.cq:core.wcm.components.examples:zip:2.11.0 in https://repo.adobe.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of adobe-public-releases has elapsed or updates are forced -> [Help 1]

View Entire Topic

Avatar

Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
MVP

11-09-2020

Hi @Aryan12345,

Could the issue be caused by the way you fetch your artifacts? What version of core components were you using before? 

Since v2.7.0, the core components artifacts are no longer available on the Adobe Public repo, as you can see here: https://repo.adobe.com/nexus/content/groups/public/com/adobe/cq/core.wcm.components.core/

Theo_Pendle_0-1599842453825.png

However, based on your error message, it seems like you are still trying to use the public Adobe repo. Instead, you should be fetching them from Maven Central. You can see this in my build of the Archetype 23 with Core Components v2.11.1

Theo_Pendle_1-1599842518063.png

As you can see, the artifact is not found on the adobe public repo or the experience cloud repo 😕

This is the project I built without a problem (its just the Archetype 23 with a single change: bumping the Core Components version to 2.11.1) : https://filebin.net/nxqk9qqf8qj8xysm