Message Boards

Portlet version managment

William Groc, modified 7 Years ago.

Portlet version managment

New Member Posts: 2 Join Date: 4/7/16 Recent Posts
Hi,

I want manage portlets version. But I don't know how display it properly.
I want display portlet version in version label in App Manager, but when i create a portlet, the version is set in portlet title and not in version label.
However, when i create a service builder, the version is set in version label.

Help me please.
thumbnail
David H Nebinger, modified 7 Years ago.

RE: Portlet version managment

Liferay Legend Posts: 14917 Join Date: 9/2/06 Recent Posts
IIRC the version in App Manager actually displays from custom resource bundle keys.

I had to add the following to my LR6-based portlets for them to display properly in the App Manager:

javax.portlet.description=Long and boring description that appears in App Manager
javax.portlet.keywords=Same value as portlet.xml
javax.portlet.long-title=Same value as portlet.xml
javax.portlet.short-title=Same value as portlet.xml
javax.portlet.title=Same value as portlet.xml


Also make sure you define the version in liferay-plugin-package.properties.

module-incremental-version=1.1.5.0
William Groc, modified 7 Years ago.

RE: Portlet version managment

New Member Posts: 2 Join Date: 4/7/16 Recent Posts
It does not change anything. The portlet version is link with maven project version.