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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

AEM Forms on-premise maven archetype dispatcher include issue


Level 3

hello experts,


Using following command I am trying to build the AEM Forms On-Prem project:


mvn -B archetype:generate -DarchetypeGroupId=com.adobe.aem -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=35 -DaemVersion="6.5.12" -DappTitle="AEMFormsDev" -DappId="AEMFormsDev" -DgroupId="com.AEMFormsDev" -DincludeFormsenrollment="y" -DincludeFormscommunications="y" -DincludeDispatcherConfig="y"


Question is:

- if we include -DincludeDispatcherConfig="y" build fails for which there is workaround on Windows machine as per

- however question is - why does it also creates : folder structure? ours is On-Prem AEM Forms 6.5 setup with inhouse Apache server so how can we exclude setup.


Please share your feedback and let me know how to exclude from options. 





5 Replies


Employee Advisor

@hrai Try changing the DaemVersion="6.5.12"  to lower aem version and retry. Didnt created cloud folder for me


Level 3

thanks Mayank, could you please provide which version I should try?


Level 3

i tried this and still the creates cloud dispatcher setup.


mvn -B archetype:generate -DarchetypeGroupId=com.adobe.aem -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=35 -DaemVersion="6.5.2" -DappTitle="AEMFormsDev" -DappId="AEMFormsDev" -DgroupId="com.AEMFormsDev" -DincludeFormsenrollment="y" -DincludeFormscommunications="y" -DincludeDispatcherConfig="y"



Set -DincludeDispatcherConfig="n". This works for me in Mac. In case, somehow it does not work for you. Simply delete dispatcher folder in the project generated and remove sub-module inclusion in pom.xml.