Upgrade server without loosing plugins

I’m a newbie in this technology and have just started to understand how openfire works. The project I got is highly customized with plugins and uses the openfire version 4.0.4.
My agenda is to upgrade this to 4.3.2. without losing any current functionality and plugins.
Is this possible? if yes then what will be the easiest way to do so?

By customized do you mean custom plugins? Then you can probably setup a test environment by backing up you current setup and restoring it to the test location. And then see if plugins are loading, etc.

What i meant to say was i have a openfire sourcecode v4.0 in which we have implemented plugins. I want same plugins to work in the latest source code of openfire which is 4.3.