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?
Solved! Go to Solution.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
i have got build failure
Views
Replies
Total Likes
and my project bundle appears inactive
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies