I need to remove a framework(vertx, to be specific) from a project(lib) which is the base for other projects as well. What would be the best approach to remove all dependencies on the framework from the project. I am new to this and I do not have enough understanding of the project yet. They are thinking to replace it with Spring Cloud.
Per the comments, and with a few assumptions I would take the following approach.
First, Make sure the current framework (vertx) is as decoupled as possible. This will make replacing whole or parts of the framework easier in the long run.
Second, Option 1: You can do this in one giant change, as suggested in the comments remove all libs and wait fr compile errors. Then start to fix it.
Second, Option 2: If you are a little more hesitant about the change, refactor one part (or module) of the application, test it, repeat.
Whatever you choose, make sure you have amazing tests that pass before the changes and after the changes. This will save you from feature regressions.