I created an Ext project with Maven:
mvn archetype:generate
mvn package
mvn eclipse:eclipse
mvn install
This actually builds 9 different ext "sub projects":
- <project_name>-ext
- <project_name>-ext-impl
- <project_name>-ext-lib-global
- <project_name>-ext-lib-portal
- <project_name>-ext-services
- <project_name>-ext-util-bridges
- <project_name>-ext-util-java
- <project_name>-ext-util-taglib
- <project_name>-ext-web
The root project <project_name> has its own pom.xml.
Each of the 9 sub directories have their own pom.xml files and generate a JAR or a WAR file.
I imported all from the root into eclipse. This actually imports the root project and all of the 9 sub projects.
I followed the doc guide to modify portal-ext.properties: https://www.liferay.com/fr/documentation/liferay-portal/6.2/development/-/ai/developing-an-ext-plugin-liferay-portal-6-2-dev-guide-12-en This doc was written with an Ant build so I tried to make it using Maven but I probably missed something.
I set the updated portal-ext.properties version into:
...\<project-name>\<project-name>-ext-impl\src (into the SUB-project)
Now I wanted to deploy this and the problems starts:
Eclipse (Mars) does not allow me to drag and drop the root project (<project_name>), nor the sub-project where I added the file (<project_name>-impl).
The only one that I can drag and drop is <project_name>-ext. But if I do drag and drop this one and restart the liferay server, the ext does not work (it uses my normal portal-ext.properties and not the ext version).
Did I miss anything?
Also, am I supposed to see the portal-ext.properties in any of the jar / war files of any of the 9 sub-projects?
I do not see it in <project_name>-ext, nor in <project_name>-ext-impl