Forums de discussion

Portlet name and version conventions

Daniel Nordhoff-Vergien, modifié il y a 10 années.

Portlet name and version conventions

New Member Publications: 7 Date d'inscription: 17/03/13 Publications récentes
Hi,

I'm developing a portlet for liferay 6.1.1 using maven. I've got some questions to nameing and versioning:

Nameing: maven creates a ware named my-protlet-0.1.war. If I deploy version 0.2 in an liferay enviroment where 0.1 exists, it does not update it duplicates just the portlet. Is there a way to tell liferay to update or do I have to create a war without version information in the name?

Versioning: I would like the "maven version" to show up in the update manager. If tried to put it in module-incremental-version in liferay-plugin-package.properties but it did not help. It shows my 6.1.1 as a version which is just my liferay version. So where to put the version information?

Regards

Daniel