so i was trying this command to build a project for training but getting stuck with svg error
can some one help me out here how to go further here?
해결되었습니다! 솔루션으로 이동.
조회 수
답글
좋아요 수
Hi @GantaNi,
Disable includeExamples and includeErrorHandler
Try re-running your command without these two flags:
mvn -B archetype:generate \
-D archetypeGroupId=com.adobe.aem \
-D archetypeArtifactId=aem-project-archetype \
-D archetypeVersion=54 \
-D appTitle="Nikhil Project" \
-D appId="nikhil" \
-D groupId="com.nikhil" \
-D artifactId=nikhil-project \
-D version=1.0.0 \
-D aemVersion=6.5.18 \
-D frontendModule=general \
-D singleCountry=n
This avoids the error-generating templates and lets you generate a working project. You can later manually copy the error handler or examples from another clean project if needed.
OR
Use an earlier or newer archetype version, like 42
or 53
, which might not have this issue:
-D archetypeVersion=53
yes as we expected the build was sucessfull but the sample components and templates are not given getting this
so could you please help me out how can i proceed further ?
Regards,
Nikhil Ganta.
조회 수
답글
좋아요 수
Hi @GantaNi ,
Please use below command and open terminal as administrator. This will include examples as well. Change the values according to you. Was able to generate very recently with this.
You will get templates to create pages.
mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=54 -D aemVersion=6.5.23 -D appTitle=”My Adobe Project” -D appId=”practice” -D groupId=”com.practise” -D frontendModule=general -D includeExamples=y -D includeDispatcherConfig=y
Thanks,
Ramesh.
조회 수
답글
좋아요 수
i have got build failure
조회 수
답글
좋아요 수
and my project bundle appears inactive
조회 수
답글
좋아요 수
Hi @GantaNi ,
Do follow below steps as is
1. Open CMD as administrator.
2. Create a folder named author in downloads and copy author folder path.
4. Go to admin CMD and type cd and paste author folder path like cd C:\Users\your-user\Downloads\author
5. Now copy paste the mvn command to create project.
6. Before pasting command, change command values like aemVersion according to your requirements.
7. Ensure having at least 3.3.1+ maven version in your system.
Thanks
Ramesh
조회 수
답글
좋아요 수