One command scaffolds a full multimodule AEM project. Pick the version for your shell and copy it — then change the app title / id / groupId / artifactId to match your project. Adobe maintains the archetype; always use the latest archetypeVersion.
mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate \ -D archetypeGroupId=com.adobe.aem \ -D archetypeArtifactId=aem-project-archetype \ -D archetypeVersion=49 \ -D appTitle="AEM Insider Site" \ -D appId="aeminsider" \ -D groupId="com.aeminsider" \ -D artifactId="aeminsider-site" \ -D aemVersion="cloud" \ -D includeExamples=n \ -D includeFrontendModule=general
mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate '-DarchetypeGroupId=com.adobe.aem' '-DarchetypeArtifactId=aem-project-archetype' '-DarchetypeVersion=49' '-DappTitle=AEM Insider Site' '-DappId=aeminsider' '-DgroupId=com.aeminsider' '-DartifactId=aeminsider-site' '-DaemVersion=cloud' '-DincludeExamples=n' '-DincludeFrontendModule=general'
mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=49 -D appTitle="AEM Insider Site" -D appId="aeminsider" -D groupId="com.aeminsider" -D artifactId="aeminsider-site" -D aemVersion="cloud" -D includeExamples=n -D includeFrontendModule=general
Archetype source: github.com/adobe/aem-project-archetype. Not affiliated with Adobe Inc.