Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Geeting the following error while building a project with archetype 31

Avatar

Level 3

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

3 Replies

Avatar

Community Advisor

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

 

Asutosh_Jena__0-1637149755259.png

 

 

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

 

Thanks!