The following article describes how to update plugins to be compatible with a new version of the Liferay platform.
Resolution
The Liferay API may change from release to release, causing issues when trying to port code to a new version of Liferay. Please follow these steps in order to begin updating your plugins to be compatible with a new version of the Liferay platform.
- Download the Plugins SDK for the version of Liferay you are migrating to
- Copy your code and resources to the new Plugins SDK
- Review documentation to better understand how the API has changed in the new version of Liferay (see below)
- Implement API changes as needed to your existing code
- Compile and test
At this point, you may need to address several issues, depending on what is indicated by the compiler or in testing, in order to make the plugin work as intended and be compatible with the new version.
Helpful Articles for Updating Plugins
- Liferay 6.1 Development Guide
- Liferay 6.0 Development Guide
- Upgrading 6.1 plugins to 6.2
- Migrating old extension environments to 6.1