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!