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
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" \
mvn clean install
Can you please provide what command was used to generate the project?