Geeting the following error while building a project with archetype 31 | Community
Skip to main content
Level 2
November 17, 2021

Geeting the following error while building a project with archetype 31

  • November 17, 2021
  • 2 replies
  • 1034 views

I created a project  Aem(6.5) with Archetype as 31.When tried to build I'm getting the following error.

 

Could not resolve dependencies for project com.adobe.aem.guides.wknd:aem-guides-wknd.core:jar:0.0.1-SNAPSHOT: org.apache.commons:commons-imaging:jar:1.0-R1534292 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Asutosh_Jena_
Community Advisor
Community Advisor
November 17, 2021

Hi @kkeerthi 

 

I just created a project with the below command and able to build the project without any issue.

 

mvn -B archetype:generate \
-D archetypeGroupId=com.adobe.aem \
-D archetypeArtifactId=aem-project-archetype \
-D archetypeVersion=31 \
-D appTitle="My Site" \
-D appId="mysite" \
-D groupId="com.mysite"

 

mvn clean install

 

 

 

Can you please provide what command was used to generate the project?

 

Thanks!

KKeerthiAuthor
Level 2
November 19, 2021

I used the same.

 

Kishore_Kumar_
Level 9
November 17, 2021