hello experts,
I am trying to run this maven command: (do not need commerce component though)
mvn -B archetype:generate -DarchetypeGroupId=com.adobe.aem -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=35 -DaemVersion="6.5.12" -Dversion="1.0.0" -DappTitle="TestProject" -DappId="TestProject" -DgroupId="com.TestProject" -DincludeFormsenrollment="y" -DincludeFormscommunications="y" -DincludeDispatcherConfig="y"
Issue is:
- if included -DincludeDispatcherConfig="y"
- it creates commerce component here: ui.apps\target\generated-sources\htl\org\apache\sling\scripting\sightly\apps\TestProject\components\commerce\logo
- then build fails with the error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project TestProject.ui.apps: Compilation failure
[ERROR] /C:/Users/hrai/AEM-Forms/Test-project/ui.apps/target/generated-sources/htl/org/apache/sling/scripting/sightly/apps/TestProject/components/commerce/logo/logo__002e__html.java:[46,95] package com.adobe.cq.commerce.core.components.models.header does not exist
Please let me know if someone has faced this issue and if there is any solution.