Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Problems with migrating liferay 6.2 portlets to 7.2 workspace
Hi,
I'm having some problems with migrating 6.2 portlet project to 7.2 workspace. I've tried using upgrade planner but when I get to the step "Migrate existing plugins to workspace" and I try to select my portlet project I get this error
In this tutorialhttps://portal.liferay.dev/docs/7-2/tutorials/-/knowledge_base/t/migrating-plugins-sdk-projects-to-liferay-workspace#migrating-existing-plugins-to-workspace
I've seen that if I project is migrated to maven (which is not my case - I try to migrate to gradle) then it need to be done manually. Even though I'm migrating to gradle I'm fine with doing that manually but I can't really find and reference how to do that.There is something about copying project to wars but then what? I can't find any informations about that.If that matters I have 100+ portlets inside that one portlet project. Each of them is defined in portlet.xml and liferay-portlet.xml. For each of the portlets I have defined view (written in Primefaces) which then calls backing bean (you know the one with @ManagedBean and for example @ViewScoped annotations). The beans call other classes and perform further logic.I'm also using service builder for managing my database entities (defined in service.xml)
I'd be grateful for pointing me what should I read or watch or just giving me some tips how to start the migration process
Best regards
I'm having some problems with migrating 6.2 portlet project to 7.2 workspace. I've tried using upgrade planner but when I get to the step "Migrate existing plugins to workspace" and I try to select my portlet project I get this error

In this tutorialhttps://portal.liferay.dev/docs/7-2/tutorials/-/knowledge_base/t/migrating-plugins-sdk-projects-to-liferay-workspace#migrating-existing-plugins-to-workspace
I've seen that if I project is migrated to maven (which is not my case - I try to migrate to gradle) then it need to be done manually. Even though I'm migrating to gradle I'm fine with doing that manually but I can't really find and reference how to do that.There is something about copying project to wars but then what? I can't find any informations about that.If that matters I have 100+ portlets inside that one portlet project. Each of them is defined in portlet.xml and liferay-portlet.xml. For each of the portlets I have defined view (written in Primefaces) which then calls backing bean (you know the one with @ManagedBean and for example @ViewScoped annotations). The beans call other classes and perform further logic.I'm also using service builder for managing my database entities (defined in service.xml)
I'd be grateful for pointing me what should I read or watch or just giving me some tips how to start the migration process
Best regards
Moved to Liferay Faces - English
Hi Rafal,
I apologize for taking so long to get back to you. Do you still need help with this issue? Are your JSF portlet projects based on the 6.2 Ant-based Plugins SDK or on Maven? If based on the Ant-based Plugins SDK then you will need to migrate to Maven or Gradle. If based on Maven, then it will probably be easiest for you to stay with Maven. Please let me know.
Kind Regards,
Neil
I apologize for taking so long to get back to you. Do you still need help with this issue? Are your JSF portlet projects based on the 6.2 Ant-based Plugins SDK or on Maven? If based on the Ant-based Plugins SDK then you will need to migrate to Maven or Gradle. If based on Maven, then it will probably be easiest for you to stay with Maven. Please let me know.
Kind Regards,
Neil
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™