How to create a mvn project with aem forms packages? I need to use this import "com.adobe.fd.output.api.PostProcess" to write a custom post process for letters.
AEM version : 6.5.22.0
Views
Replies
Total Likes
Hi @AravindSe2,
Please use the below command to create the latest maven project for AEM Forms development.
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=53 -D appTitle="MyForm" -D appId="myform" -D groupId="com.myform" -D includeFormsenrollment="y" -D aemVersion="6.5.22"
Thanks
Pranay
Hi @Pranay_M ,
Thanks for your reply, i created the project but while building getting the below error
Views
Replies
Total Likes
Hi @AravindSe2,
Based on the screenshot, it seems that the issue might be related to the permissioning. Can you please make sure the project is created properly and has all the required permissions. Also please make sure you have the correct MAVEN version and Java installed on the system.
Thanks
Pranay
HI @Pranay_M ,
Thank for your comment, I have checked the permission (ran using admin creds), mvn and java also fine. Still got the same kind of issue.
Views
Replies
Total Likes
Hello @AravindSe2
Can you try creating the maven archetype in "Desktop" folder and then run the maven build.
Windows sometimes have permissions issue with Downloads folder.
You can also create a new folder in C:/ drive and test the same.
Thanks,
Rahul Pandey
Views
Replies
Total Likes
Views
Replies
Total Likes
Hello @AravindSe2
Can you please try with below command:
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=52 -D appTitle="MyForm" -D appId="myform" -D groupId="com.myform" -D includeFormsenrollment="y" -D aemVersion="6.5.22"
I am able to build with above command.
There might be an issue with archetype 53 so I have changed it back to 52.
Thanks,
Rahul Pandey
Hi @rahulpandey27 ,
I tried that command as well, got the same kind of error. My requirement is to use the import for this "com.adobe.fd.output.api.PostProcess", i need to create the custom post process and that needs to be called while submitting the letter. Please let me know if you have any reference for this.
Thanks,
Views
Replies
Total Likes
@AravindSe2 Just checking in — were you able to resolve your issue?
We’d love to hear how things worked out. If the suggestions above helped, marking a response as correct can guide others with similar questions. And if you found another solution, feel free to share it — your insights could really benefit the community. Thanks again for being part of the conversation!
Views
Replies
Total Likes
Hi @kautuk_sahni ,
I found other way to achieve (override the ootb submit button api). Still the above issue persists, if i find some more, will add and mark. Thanks
Views
Likes
Replies