Adds the following property to @Component annotation when we are registering a portlet:
After re-deploying the portlet it shouldn't appears on portal, but actually it's still there.
- Add one porlet to a page, for example Web Content Display
- Add com.liferay.portlet.include=false to the @Component annotation in one portlet, for example Web Content Display
- Re-deploy the portlet
You still seeing the portlet on the pages and it is available to add into a page.
You cannot see the portlet on the portal