WAR Core Ext template for Liferay 7.2

Abdul Kareem, modified 5 Years ago. Junior Member Posts: 30 Join Date: 9/4/14 Recent Posts
I Have used below command to create Ext in Liferay 7.2, But it is not creating the expected structure.

mvn archetype:generate \
    -DarchetypeGroupId=com.liferay \
    -DarchetypeArtifactId=com.liferay.project.templates.war.core-ext \
    -DgroupId=com.liferay \
    -DartifactId=my-war-core-ext-project \
    -DliferayVersion=7.2
It is creating below structure. Kindly help on this.


Thanks in advance,Abdul
thumbnail
Olaf Kock, modified 5 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts
Abdul Kareem:

I Have used below command to create Ext in Liferay 7.2, But it is not creating the expected structure.

...


That triggers my counter-question: What would be "the expected structure"? What are you trying to achieve? Maybe you'll need a different archetype, maybe this one is indeed wrong, but most likely there might be a way to get to your goal without using any ext.
Abdul Kareem, modified 5 Years ago. Junior Member Posts: 30 Join Date: 9/4/14 Recent Posts
Thanks for the response.I am expecting a structure as mention in the "https://portal.liferay.dev/docs/7-2/reference/-/knowledge_base/r/war-core-ext" docs.
​​​​​​​