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

Geeting the following error while building a project with archetype 31

KKeerthi
Level 2
Level 2

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
Asutosh_Jena_
Community Advisor
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!