Hello Fellow Forums Followers,
I have a simple question.
What is the recommended WAR file naming convention for plugins to support Liferay Portal 6.1 and 6.2 ?
The Liferay Portal 6.1 and 6.2 Developer guides at
* https://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/lp-6-1-dgen10-marketplace-basics-0
* https://www.liferay.com/documentation/liferay-portal/6.2/development/-/ai/marketplace-basics-liferay-portal-6-2-dev-guide-11-en
state the following regarding WAR file names,
WAR file names must conform to the following naming convention:
context_name- plugin_type -A.B.C.D.war
I want to build and deploy the same functionality to both platforms, hence want to retain the same version number (e.g.. 1.0.4).
However, the Marketplace uploader checks and verifies names according to the Marketplace developer guide and does not allow a naming convention such as
plugin_type -A.B.C.D-LPVERSION.war
or
plugin_type -LPVERSION-A.B.C.D.war
eg.
my-app-1.0.4.1-lp-6.1.x.war
my-app-1.0.4.1-lp-6.2.x.war
What is the recommended approach for building and naming plugins (eg. hook plugins) to support Liferay Portal 6.1 and 6.2 ?
Due to core JSP changes between LP 6.1 and 6.2 I cannot simply build one plugin and target 2 platforms. I must maintain 2 plugins, one per platform.
Have I missed something in the docs ?
Thanks,
Tim