How to Use Spring With OpenFire Source

How do I use Spring with OpenFire. This is my progress so far. What I have done compiles successfully, but the Spring Classes (Application, GreetingsController, Greetings) cannot import any Spring classes.

OPenFire/

|src/

|plugins/

|myplugin/

|classes/

|lib/

|pom.xml

|src/

|main/

|java/

|hello/

|Spring Classes

|src/

|java/

|org/

|clinton/

|openfire/

|plugin/

|pluginClass

|database/

|plugin.xml

I have run the command “mvn install” on the “pom.xml”, which runs successfully but still can’t import the classes of the Spring Library in my Project. Any help will will be appreciated. Thank you. @Tom Evans @wroot

Similar questin is here: Can i use Spring framework in Openfire?