Can OpenFire 3.7.0 be used in an app server?

It appears that at some point OpenFire could be used in an app server such as tomcat or resin. I see resin.conf.template but see no simple way to generate a war to use with it.