Description
In order to disable automatic namespacing of portlet parameters, Liferay Portal requires a companion descriptor to WEB-INF/portlet.xml named WEB-INF/liferay-portlet.xml.
This task involves adding the Liferay descriptors and two Maven Profiles to the Portlet 3.0 TCK:
<profile> <id>pluto</id> <activation> <activeByDefault>true</activeByDefault> </activation> ... </profile> <profile> <id>liferay</id> ... </profile>
The "pluto" profile is active by default, and will cause the maven-war-plugin to exclude the WEB-INF/liferay-portlet.xml descriptor from the .war artifacts that it builds.