There is a newly installed AEM 6.5 instance. I want to move code from AEM 6.2 to 6.5. Do we need to create the package from scratch or can we just build the packages and install?
Hi @Aries , Ideally You should migrate it from 6.2 to 6.5. While moving to the 6.5 you need migrate your templates and code (such as code dependencies, uber-jar upgrade, JDK-11 recommended)If you want to directly test it then follow the points below.
1. Create your conf (template package) and deploy on the AEM 6.5
2. Create your dam package and deploy on the AEM 6.5.
3. Create your content package(which includes all the pages) and deployed on the AEM 6.5
4. Now deploy your code or code package on the AEM 6.5.
You can also take the three things(point 1,2,3) in one package also.
You can refer the linke to more on Upgrading to AEM 6.5
You are migrating from AEM 6.2 to AEM 6.5 new instance.
So I will suggest you should go through all the steps mentioned here https://experienceleague.adobe.com/docs/experience-manager-65/deploying/upgrading/upgrading-code-and...
Check you are not using any deprecated APIs and once all the code is available, you can build and deploy it to your AEM 6.5 instance.
For content package you need to take it from AEM 6.2 and move it manually to AEM 6.5