XPPPacketReader not found

Hi I am trying to create an external component to openfire and im using maven to do so. I created it and when i try to run it through the main method

i get NoClassDefFound exception due to XPPPacketReader not found. I am using AbstractComponent and ExternalComponentManager. XPPPacketReader isn’t in my dependencies and I dont know where to find it. I am using openfire 6.5.4 which has XMPPPacketReader in it. I don’t know how dom4j there says XMPP and we need XPP. Can anyone help me out? thanks…