


Hi,
I was trying to build an aem project with maven archetype project version 27 and aem version 6.4.8.4. I'm wondering to generate the project in two languages, english and ukrainian, but after the generation of the archetype the project is not genetated correctly. I had executed the following command for two languages:
mvn -B archetype:generate \ -D archetypeGroupId=com.adobe.aem \ -D archetypeArtifactId=aem-project-archetype \ -D archetypeVersion=27 \ -D appTitle="My Multilanguage project" \ -D appId="my-project" \ -D artifactId="my-project" \ -D groupId="com.my.project" \ -D frontendModule="react" \ -D aemVersion="6.4.8.4" \ -D language=en,uk \ -D includeExamples=y \ -D includeErrorHandler=y
How can i generate from the archetype the project with these 2 languages?
Views
Replies
Sign in to like this content
Total Likes
Hi @rinaudosal
Please use the below command:
mvn -B archetype:generate \
-D archetypeGroupId=com.adobe.aem \
-D archetypeArtifactId=aem-project-archetype \
-D archetypeVersion=27 \
-D appTitle="My Multilanguage project" \
-D appId="my-project" \
-D artifactId="my-project" \
-D groupId="com.my.project" \
-D frontendModule="react" \
-D aemVersion="6.4.8.4" \
-D language="en" \
-D country="us" \
-D singleCountry=n \
-D includeExamples=y \
-D includeErrorHandler=y
Once the project is created, please create the language copy from the language masters page.
Thanks!
Hi @rinaudosal
Please use the below command:
mvn -B archetype:generate \
-D archetypeGroupId=com.adobe.aem \
-D archetypeArtifactId=aem-project-archetype \
-D archetypeVersion=27 \
-D appTitle="My Multilanguage project" \
-D appId="my-project" \
-D artifactId="my-project" \
-D groupId="com.my.project" \
-D frontendModule="react" \
-D aemVersion="6.4.8.4" \
-D language="en" \
-D country="us" \
-D singleCountry=n \
-D includeExamples=y \
-D includeErrorHandler=y
Once the project is created, please create the language copy from the language masters page.
Thanks!