How to integrate Openfire into my SpringBoot project?

I want to use openfire in my SpringBoot project, but Some Openfire project function that I already Changed by myself(such as core function,plugins…),How can I integrate it into SpringBoot project? thank you very much,(i’m a chinese fresh man ,not very good at english…hah…)