Skip to main content
Level 3
Feb 16, 2023 10:02 AM UTC

AEM Forms on-premise maven archetype dispatcher include issue

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 https://github.com/adobe/aem-project-archetype

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

 

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

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

Mayank_Gandhi
Adobe Employee
Adobe Employee
Feb 17, 2023 12:50 PM UTC

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

Translate
hraiAuthor
Level 3
Feb 17, 2023 1:00 PM UTC

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

Translate
Mayank_Gandhi
Adobe Employee
Adobe Employee
Feb 17, 2023 1:13 PM UTC

@hrai I tried 6.5.2

 

Translate
Adobe Employee
Feb 24, 2023 12:37 AM UTC

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.

 

 

Translate