How to package openfire source code to .exe file

i got the openfire code, and added one plugin. However, i don’t know how to make it an .exe file?

Is here any body can help me? thank you!

I am also interested in a solution in order to mimic the Ant build process with Maven.

To build the basic Openfire you can execute “ant” in the “build” directory.

But I assume there’s a lot more. Some paramaters, which eventually builds the exe.

Can somebody share the build configurations / build parameters?