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]

Accepted Solutions (1)

Accepted Solutions (1)

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  

 

Answers (3)

Answers (3)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,442 likes

Total Posts

3,314 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,442 likes

Total Posts

3,314 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

11-09-2020

Avatar

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

484 likes

Total Posts

1,048 posts

Correct reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

484 likes

Total Posts

1,048 posts

Correct reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile
Veena_Vikram
MVP

11-09-2020

I don't think archetype is something you can change in the pom.xml, once project is created using a particular archetype.

 

I would like more expert opinion here @Jörg_Hoh @Arun_Patidar @Theo_Pendle 

Avatar

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

484 likes

Total Posts

1,048 posts

Correct reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

484 likes

Total Posts

1,048 posts

Correct reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile
Veena_Vikram
MVP

10-09-2020

Hi @Aryan12345 

 

1. Latest AEM archetype is 23 . Please refer https://github.com/adobe/aem-project-archetype

 

2. Why do you have to change the core components archetype ? 

 

Thanks

Veena