1 Reply Latest reply on Jun 17, 2011 10:59 AM by Kyle Bober

    jbossws-cxf-3.4.0.GA WAR deployment issue

    Kyle Bober Newbie

      I have a series of WAR that I am trying to deploy on JBoss 5.1.0 using JBossWS-CXF-3.4.0 and I am continuosly running into this issue upon deploying the WAR via the JBoss Admin Console:

       

      Caused by: org.springframework.beans.FatalBeanException: Class [org.apache.cxf.jaxws.spring.NamespaceHandler] for namespace [http://cxf.apache.org/jaxws] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface

       

      This is similar to the following discussion here but the difference is we are runnning JBoss 5.1.0 :

      http://mail-archives.apache.org/mod_mbox//cxf-users/201104.mbox/%3CBANLkTinF3F1PLaO47=PqpPc-=05uZwjKig@mail.gmail.com%3E

       

      I couldn't find the exact thread in the forums:

       

      I would like to solve this issue and any help I can get from any one would be much appreciated!!!

       

      10:06:04,025 INFO  [DeployHandler] Begin start, [vfszip:/C:/Users/KBober/ApplicationServers/dev-cil/JBoss-5.1.0.GA-CFX-3.4.0-Interchange/server/default/deploy/document-query-service.war/]
      10:06:12,999 INFO  [TomcatDeployment] deploy, ctxPath=/document-query-service
      10:06:27,513 INFO  [[/document-query-service]] Initializing Spring root WebApplicationContext
      10:06:27,513 INFO  [ContextLoader] Root WebApplicationContext: initialization started
      10:06:27,567 INFO  [XmlWebApplicationContext] Refreshing Root WebApplicationContext: startup date [Fri Jun 17 10:06:27 EDT 2011]; root of context hierarchy
      10:06:27,639 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [spring/DocumentQueryContext.xml]
      10:06:27,986 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [spring/DocumentQueryRestContext.xml]
      10:06:28,006 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]
      10:06:28,027 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-jaxrs-binding.xml]
      10:06:28,039 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [META-INF/cxf/cxf-servlet.xml]
      10:06:28,053 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-http.xml]
      10:06:28,074 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-soap.xml]
      10:06:28,198 ERROR [ContextLoader] Context initialization failed
      org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [DocumentQueryRestContext.xml]
      Offending resource: class path resource [spring/DocumentQueryContext.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [spring/DocumentQueryRestContext.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [org.apache.cxf.jaxrs.spring.NamespaceHandler] for namespace [http://cxf.apache.org/jaxrs] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface
                at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
                at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
                at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)
                at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocumentReader.java:218)
                at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:147)
                at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:132)
                at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
                at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
                at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
                at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
                at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
                at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
                at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
                at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
                at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
                at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
                at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
                at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
                at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
                at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
                at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
                at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
                at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
                at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
                at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
                at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
                at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
                at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:597)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
                at $Proxy38.start(Unknown Source)
                at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
                at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                at org.jboss.system.ServiceController.start(ServiceController.java:460)
                at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
                at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
                at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
                at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
                at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:263)
                at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:177)
                at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
                at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744)
                at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697)
                at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524)
                at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)
      Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [spring/DocumentQueryRestContext.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [org.apache.cxf.jaxrs.spring.NamespaceHandler] for namespace [http://cxf.apache.org/jaxrs] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface
                at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)
                at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
                at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
                at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocumentReader.java:202)
                ... 78 more
      Caused by: org.springframework.beans.FatalBeanException: Class [org.apache.cxf.jaxrs.spring.NamespaceHandler] for namespace [http://cxf.apache.org/jaxrs] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface
                at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.resolve(DefaultNamespaceHandlerResolver.java:126)
                at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1330)
                at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1325)
                at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)
                at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
                at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
                at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
                ... 81 more
      10:06:28,201 ERROR [[/document-query-service]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
      org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [DocumentQueryRestContext.xml]
      Offending resource: class path resource [spring/DocumentQueryContext.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [spring/DocumentQueryRestContext.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [org.apache.cxf.jaxrs.spring.NamespaceHandler] for namespace [http://cxf.apache.org/jaxrs] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface
                at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
                at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
                at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)
                at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocumentReader.java:218)
                at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:147)
                at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:132)
                at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
                at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
                at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
                at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
                at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
                at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
                at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
                at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
                at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
                at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
                at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
                at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
                at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
                at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
                at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
                at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
                at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
                at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
                at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
                at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
                at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
                at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:597)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
                at $Proxy38.start(Unknown Source)
                at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
                at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                at org.jboss.system.ServiceController.start(ServiceController.java:460)
                at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
                at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
                at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
                at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
                at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:263)
                at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:177)
                at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
                at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744)
                at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697)
                at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524)
                at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)
      Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [spring/DocumentQueryRestContext.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [org.apache.cxf.jaxrs.spring.NamespaceHandler] for namespace [http://cxf.apache.org/jaxrs] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface
                at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)
                at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
                at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
                at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocumentReader.java:202)
                ... 78 more
      Caused by: org.springframework.beans.FatalBeanException: Class [org.apache.cxf.jaxrs.spring.NamespaceHandler] for namespace [http://cxf.apache.org/jaxrs] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface
                at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.resolve(DefaultNamespaceHandlerResolver.java:126)
                at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1330)
                at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1325)
                at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)
                at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
                at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
                at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
                ... 81 more
      10:06:28,202 ERROR [StandardContext] Error listenerStart
      10:06:28,202 ERROR [StandardContext] Context [/document-query-service] startup failed due to previous errors
      10:06:28,202 INFO  [[/document-query-service]] Closing Spring root WebApplicationContext
      10:06:28,206 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/document-query-service state=Create mode=Manual requiredState=Installed
      org.jboss.deployers.spi.DeploymentException: URL file:/C:/Users/KBober/ApplicationServers/dev-cil/JBoss-5.1.0.GA-CFX-3.4.0-Interchange/server/default/tmp/5c4o7147-x24fc1-gp16ctiu-1-gp17ovo7-ai/document-query-service.war/ deployment failed
                at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:331)
                at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
                at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
                at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:597)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
                at $Proxy38.start(Unknown Source)
                at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
                at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                at org.jboss.system.ServiceController.start(ServiceController.java:460)
                at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
                at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
                at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
                at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
                at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:263)
                at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:177)
                at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
                at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744)
                at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697)
                at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524)
                at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)
      10:06:30,344 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/C:/Users/KBober/ApplicationServers/dev-cil/JBoss-5.1.0.GA-CFX-3.4.0-Interchange/server/default/deploy/document-query-service.war/ state=PreReal mode=Manual requiredState=Real
      org.jboss.deployers.spi.DeploymentException: URL file:/C:/Users/KBober/ApplicationServers/dev-cil/JBoss-5.1.0.GA-CFX-3.4.0-Interchange/server/default/tmp/5c4o7147-x24fc1-gp16ctiu-1-gp17ovo7-ai/document-query-service.war/ deployment failed
                at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:331)
                at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
                at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
                at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:597)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
                at $Proxy38.start(Unknown Source)
                at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
                at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                at org.jboss.system.ServiceController.start(ServiceController.java:460)
                at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
                at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
                at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
                at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
                at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:263)
                at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:177)
                at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
                at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744)
                at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697)
                at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524)
                at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)
      10:06:30,352 INFO  [DeployHandler] Failed to complete command: [start] for deployment: names=[vfszip:/C:/Users/KBober/ApplicationServers/dev-cil/JBoss-5.1.0.GA-CFX-3.4.0-Interchange/server/default/deploy/document-query-service.war/], copyContent=true
      org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      
      *** DEPLOYMENTS IN ERROR: Name -> Error
      
      
      vfszip:/C:/Users/KBober/ApplicationServers/dev-cil/JBoss-5.1.0.GA-CFX-3.4.0-Interchange/server/default/deploy/document-query-service.war/ -> org.jboss.deployers.spi.DeploymentException: URL file:/C:/Users/KBober/ApplicationServers/dev-cil/JBoss-5.1.0.GA-CFX-3.4.0-Interchange/server/default/tmp/5c4o7147-x24fc1-gp16ctiu-1-gp17ovo7-ai/document-query-service.war/ deployment failed
      
      
      
      
      DEPLOYMENTS IN ERROR:
        Deployment "vfszip:/C:/Users/KBober/ApplicationServers/dev-cil/JBoss-5.1.0.GA-CFX-3.4.0-Interchange/server/default/deploy/document-query-service.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/Users/KBober/ApplicationServers/dev-cil/JBoss-5.1.0.GA-CFX-3.4.0-Interchange/server/default/tmp/5c4o7147-x24fc1-gp16ctiu-1-gp17ovo7-ai/document-query-service.war/ deployment failed
      
      
                at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
                at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
                at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
                at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:265)
                at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:177)
                at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
                at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744)
                at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697)
                at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524)
                at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)
      
      

       

       

      Also if it helps this is our our Maven POM:

       

       

      <?xml version="1.0"?>
      <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <modelVersion>4.0.0</modelVersion>
        <parent>
          <artifactId>DocumentQueryService</artifactId>
          <groupId>com.medfx.interchange.service.documentquery</groupId>
          <version>2.0.0-SNAPSHOT</version>
        </parent>
        <groupId>com.medfx.interchange.service.documentquery</groupId>
        <artifactId>DocumentQueryService-core</artifactId>
        <version>2.0.0-SNAPSHOT</version>
        <name>Interchange DocumentQuery Service Core - JAR</name>
        <description>This is the Interchange DocumentQuery Service Parent POM for all Interchange DocumentQuery Service Sub-Modules.</description>
        <inceptionYear>2010</inceptionYear>
        <distributionManagement>
          <repository>
            <id>releases</id>
            <name>Nexus Managed Releases Repository</name>
            <url>http://nexus.medfx.local:8081/nexus/content/repositories/releases/</url>
          </repository>
          <snapshotRepository>
            <id>snapshots</id>
            <name>Nexus Managed Snapshots Repository</name>
            <url>http://nexus.medfx.local:8081/nexus/content/repositories/snapshots</url>
          </snapshotRepository>
        </distributionManagement>
        <properties>
          <build.host>http://bamboo.medfx.local:8085</build.host>
          <jboss.version>5.1.0.GA</jboss.version>
          <spring.version>3.0.5.RELEASE</spring.version>
          <distMgmtReleasesUrl>http://nexus.medfx.local:8081/nexus/content/repositories/releases/</distMgmtReleasesUrl>
          <jsr311.version>1.1.1</jsr311.version>
          <cargo.version>1.0.5</cargo.version>
          <skip.tests>false</skip.tests>
          <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
          <sonar.host.url>http://sonar.medfx.local:9000/</sonar.host.url>
          <hibernate.scope>compile</hibernate.scope>
          <cxf.scope>compile</cxf.scope>
          <cxf.version>2.3.1</cxf.version>
          <spring.scope>compile</spring.scope>
          <distMgmtReleasesName>Nexus Managed Releases Repository</distMgmtReleasesName>
          <cargo.rmi.port>1299</cargo.rmi.port>
          <scm.host>https://svn.medfx.local:8443/svn</scm.host>
          <aspectj.version>1.6.8</aspectj.version>
          <ci.host>http://bamboo.medfx.local:8085/bamboo</ci.host>
          <repository.host>http://nexus.medfx.local:8081/nexus/content/repositories</repository.host>
        </properties>
        <dependencyManagement>
          <dependencies>
            <dependency>
              <groupId>com.medfx.common</groupId>
              <artifactId>Domain</artifactId>
              <version>2.0.0-SNAPSHOT</version>
              <exclusions>
                <exclusion>
                  <artifactId>errai-bus</artifactId>
                  <groupId>org.jboss.errai</groupId>
                </exclusion>
              </exclusions>
            </dependency>
            <dependency>
              <groupId>com.medfx.common</groupId>
              <artifactId>Validation</artifactId>
              <version>2.0.0-SNAPSHOT</version>
            </dependency>
            <dependency>
              <groupId>com.medfx.common</groupId>
              <artifactId>Exception</artifactId>
              <version>2.0.0-SNAPSHOT</version>
            </dependency>
            <dependency>
              <groupId>com.medfx.nhin.adapters</groupId>
              <artifactId>mpi-xlate-ejb</artifactId>
              <version>1.2.0-SNAPSHOT</version>
            </dependency>
            <dependency>
              <groupId>com.medfx.interchange.common</groupId>
              <artifactId>ServiceInterfaces</artifactId>
              <version>2.0.0-SNAPSHOT</version>
            </dependency>
            <dependency>
              <groupId>com.medfx.interchange.common</groupId>
              <artifactId>AdapterInterfaces</artifactId>
              <version>2.0.0-SNAPSHOT</version>
            </dependency>
            <dependency>
              <groupId>com.medfx.interchange.common</groupId>
              <artifactId>Utilities</artifactId>
              <version>2.0.0-SNAPSHOT</version>
            </dependency>
            <dependency>
              <groupId>com.medfx.interchange.common</groupId>
              <artifactId>ServiceClient</artifactId>
              <version>2.0.0-SNAPSHOT</version>
            </dependency>
            <dependency>
              <groupId>com.medfx.common</groupId>
              <artifactId>Auditor</artifactId>
              <version>2.0.0-SNAPSHOT</version>
            </dependency>
            <dependency>
              <groupId>com.gbahn.connectfx.thirdparty</groupId>
              <artifactId>NhincCommonLib</artifactId>
              <version>2.4.8</version>
            </dependency>
            <dependency>
              <groupId>com.gbahn.connectfx.thirdparty</groupId>
              <artifactId>NhincCommonTypesLib</artifactId>
              <version>2.4.8</version>
            </dependency>
            <dependency>
              <groupId>org.springframework</groupId>
              <artifactId>spring-core</artifactId>
              <version>3.0.5.RELEASE</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.springframework</groupId>
              <artifactId>spring-beans</artifactId>
              <version>3.0.5.RELEASE</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.springframework</groupId>
              <artifactId>spring-context</artifactId>
              <version>3.0.5.RELEASE</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.springframework</groupId>
              <artifactId>spring-context-support</artifactId>
              <version>3.0.5.RELEASE</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.springframework</groupId>
              <artifactId>spring-web</artifactId>
              <version>3.0.5.RELEASE</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.springframework</groupId>
              <artifactId>spring-orm</artifactId>
              <version>3.0.5.RELEASE</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.springframework</groupId>
              <artifactId>spring-tx</artifactId>
              <version>3.0.5.RELEASE</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.springframework</groupId>
              <artifactId>spring-jms</artifactId>
              <version>3.0.5.RELEASE</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.springframework</groupId>
              <artifactId>spring-oxm</artifactId>
              <version>3.0.5.RELEASE</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.springframework</groupId>
              <artifactId>spring-jdbc</artifactId>
              <version>3.0.5.RELEASE</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.springframework</groupId>
              <artifactId>spring-aop</artifactId>
              <version>3.0.5.RELEASE</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.springframework</groupId>
              <artifactId>spring-aspects</artifactId>
              <version>3.0.5.RELEASE</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.springframework.security</groupId>
              <artifactId>spring-security-core</artifactId>
              <version>3.0.5.RELEASE</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.springframework.security</groupId>
              <artifactId>spring-security-config</artifactId>
              <version>3.0.5.RELEASE</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.springbyexample</groupId>
              <artifactId>org.springbyexample.threadscope</artifactId>
              <version>1.0.1</version>
              <exclusions>
                <exclusion>
                  <artifactId>com.springsource.slf4j.api</artifactId>
                  <groupId>org.slf4j</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>com.springsource.slf4j.org.apache.commons.logging</artifactId>
                  <groupId>org.slf4j</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>cglib</artifactId>
                  <groupId>cglib</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>com.springsource.org.aopalliance</artifactId>
                  <groupId>org.aopalliance</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>org.springframework.aop</artifactId>
                  <groupId>org.springframework</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>org.springframework.asm</artifactId>
                  <groupId>org.springframework</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>org.springframework.beans</artifactId>
                  <groupId>org.springframework</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>org.springframework.context</artifactId>
                  <groupId>org.springframework</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>org.springframework.context.support</artifactId>
                  <groupId>org.springframework</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>org.springframework.core</artifactId>
                  <groupId>org.springframework</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>org.springframework.expression</artifactId>
                  <groupId>org.springframework</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>com.springsource.org.apache.commons.collections</artifactId>
                  <groupId>org.apache.commons</groupId>
                </exclusion>
              </exclusions>
            </dependency>
            <dependency>
              <groupId>org.aspectj</groupId>
              <artifactId>aspectjrt</artifactId>
              <version>1.6.8</version>
            </dependency>
            <dependency>
              <groupId>org.aspectj</groupId>
              <artifactId>aspectjweaver</artifactId>
              <version>1.6.8</version>
            </dependency>
            <dependency>
              <groupId>org.hibernate</groupId>
              <artifactId>hibernate-core</artifactId>
              <version>3.3.2.GA</version>
              <scope>compile</scope>
              <exclusions>
                <exclusion>
                  <artifactId>slf4j-api</artifactId>
                  <groupId>org.slf4j</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>commons-collections</artifactId>
                  <groupId>commons-collections</groupId>
                </exclusion>
              </exclusions>
            </dependency>
            <dependency>
              <groupId>org.hibernate</groupId>
              <artifactId>hibernate-annotations</artifactId>
              <version>3.4.0.GA</version>
              <scope>compile</scope>
              <exclusions>
                <exclusion>
                  <artifactId>slf4j-api</artifactId>
                  <groupId>org.slf4j</groupId>
                </exclusion>
              </exclusions>
            </dependency>
            <dependency>
              <groupId>org.hibernate</groupId>
              <artifactId>hibernate-entitymanager</artifactId>
              <version>3.3.2.GA</version>
              <scope>compile</scope>
              <exclusions>
                <exclusion>
                  <artifactId>commons-collections</artifactId>
                  <groupId>commons-collections</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>commons-logging</artifactId>
                  <groupId>commons-logging</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>javassist</artifactId>
                  <groupId>javassist</groupId>
                </exclusion>
              </exclusions>
            </dependency>
            <dependency>
              <groupId>org.hibernate</groupId>
              <artifactId>hibernate-ehcache</artifactId>
              <version>3.3.2.GA</version>
              <exclusions>
                <exclusion>
                  <artifactId>slf4j-api</artifactId>
                  <groupId>org.slf4j</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>commons-collections</artifactId>
                  <groupId>commons-collections</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>commons-logging</artifactId>
                  <groupId>commons-logging</groupId>
                </exclusion>
              </exclusions>
            </dependency>
            <dependency>
              <groupId>org.hibernate</groupId>
              <artifactId>hibernate-validator</artifactId>
              <version>4.0.2.GA</version>
              <exclusions>
                <exclusion>
                  <artifactId>commons-logging</artifactId>
                  <groupId>commons-logging</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>jaxb-impl</artifactId>
                  <groupId>com.sun.xml.bind</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>jaxb-api</artifactId>
                  <groupId>javax.xml.bind</groupId>
                </exclusion>
              </exclusions>
            </dependency>
            <dependency>
              <groupId>org.apache.cxf</groupId>
              <artifactId>cxf-common-utilities</artifactId>
              <version>2.3.1</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.apache.cxf</groupId>
              <artifactId>cxf-api</artifactId>
              <version>2.3.1</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.apache.cxf</groupId>
              <artifactId>cxf-rt-core</artifactId>
              <version>2.3.1</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.apache.cxf</groupId>
              <artifactId>cxf-rt-transports-http</artifactId>
              <version>2.3.1</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.apache.cxf</groupId>
              <artifactId>cxf-rt-bindings-soap</artifactId>
              <version>2.3.1</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.apache.cxf</groupId>
              <artifactId>cxf-rt-frontend-jaxws</artifactId>
              <version>2.3.1</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.apache.cxf</groupId>
              <artifactId>cxf-rt-frontend-jaxrs</artifactId>
              <version>2.3.1</version>
              <scope>compile</scope>
            </dependency>
            <dependency>
              <groupId>org.jboss.resteasy</groupId>
              <artifactId>resteasy-jaxrs</artifactId>
              <version>2.1.0.GA</version>
              <exclusions>
                <exclusion>
                  <artifactId>javassist</artifactId>
                  <groupId>javassist</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>jsr250-api</artifactId>
                  <groupId>javax.annotation</groupId>
                </exclusion>
              </exclusions>
            </dependency>
            <dependency>
              <groupId>org.jboss.resteasy</groupId>
              <artifactId>resteasy-spring</artifactId>
              <version>2.1.0.GA</version>
              <exclusions>
                <exclusion>
                  <artifactId>jaxb-impl</artifactId>
                  <groupId>com.sun.xml.bind</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>sjsxp</artifactId>
                  <groupId>com.sun.xml.stream</groupId>
                </exclusion>
              </exclusions>
            </dependency>
            <dependency>
              <groupId>javax.ws.rs</groupId>
              <artifactId>jsr311-api</artifactId>
              <version>1.1.1</version>
            </dependency>
            <dependency>
              <groupId>javax.persistence</groupId>
              <artifactId>persistence-api</artifactId>
              <version>1.0</version>
              <scope>provided</scope>
            </dependency>
            <dependency>
              <groupId>javax.xml.bind</groupId>
              <artifactId>jaxb-api</artifactId>
              <version>2.1</version>
            </dependency>
            <dependency>
              <groupId>javax.xml.bind</groupId>
              <artifactId>activation</artifactId>
              <version>1.0.2</version>
            </dependency>
            <dependency>
              <groupId>javax.annotation</groupId>
              <artifactId>jsr250-api</artifactId>
              <version>1.0</version>
            </dependency>
            <dependency>
              <groupId>javax.xml</groupId>
              <artifactId>jaxb-xjc</artifactId>
              <version>2.0EA3</version>
            </dependency>
            <dependency>
              <groupId>javax.xml</groupId>
              <artifactId>jsr173</artifactId>
              <version>1.0</version>
            </dependency>
            <dependency>
              <groupId>javax.xml.soap</groupId>
              <artifactId>saaj-api</artifactId>
              <version>1.3</version>
            </dependency>
            <dependency>
              <groupId>com.sun.xml.messaging.saaj</groupId>
              <artifactId>saaj-impl</artifactId>
              <version>1.3</version>
            </dependency>
            <dependency>
              <groupId>net.sf.ehcache</groupId>
              <artifactId>ehcache</artifactId>
              <version>1.5.0</version>
            </dependency>
            <dependency>
              <groupId>com.googlecode.ehcache-spring-annotations</groupId>
              <artifactId>ehcache-spring-annotations</artifactId>
              <version>1.1.3</version>
            </dependency>
            <dependency>
              <groupId>ojdbc</groupId>
              <artifactId>ojdbc</artifactId>
              <version>5</version>
            </dependency>
            <dependency>
              <groupId>org.apache.httpcomponents</groupId>
              <artifactId>httpcore</artifactId>
              <version>4.0.1</version>
            </dependency>
            <dependency>
              <groupId>org.apache.httpcomponents</groupId>
              <artifactId>httpcore-nio</artifactId>
              <version>4.0.1</version>
            </dependency>
            <dependency>
              <groupId>org.apache.httpcomponents</groupId>
              <artifactId>httpmime</artifactId>
              <version>4.0.1</version>
              <exclusions>
                <exclusion>
                  <artifactId>apache-mime4j</artifactId>
                  <groupId>org.apache.james</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>commons-logging</artifactId>
                  <groupId>commons-logging</groupId>
                </exclusion>
              </exclusions>
            </dependency>
            <dependency>
              <groupId>org.apache.httpcomponents</groupId>
              <artifactId>httpclient</artifactId>
              <version>4.0.1</version>
              <exclusions>
                <exclusion>
                  <artifactId>commons-codec</artifactId>
                  <groupId>commons-codec</groupId>
                </exclusion>
                <exclusion>
                  <artifactId>commons-logging</artifactId>
                  <groupId>commons-logging</groupId>
                </exclusion>
              </exclusions>
            </dependency>
            <dependency>
              <groupId>commons-httpclient</groupId>
              <artifactId>commons-httpclient</artifactId>
              <version>3.1</version>
            </dependency>
            <dependency>
              <groupId>commons-codec</groupId>
              <artifactId>commons-codec</artifactId>
              <version>1.4</version>
            </dependency>
            <dependency>
              <groupId>commons-io</groupId>
              <artifactId>commons-io</artifactId>
              <version>2.0.1</version>
            </dependency>
            <dependency>
              <groupId>commons-lang</groupId>
              <artifactId>commons-lang</artifactId>
              <version>2.5</version>
            </dependency>
            <dependency>
              <groupId>commons-logging</groupId>
              <artifactId>commons-logging</artifactId>
              <version>1.1.1</version>
            </dependency>
            <dependency>
              <groupId>commons-collections</groupId>
              <artifactId>commons-collections</artifactId>
              <version>3.2.1</version>
            </dependency>
            <dependency>
              <groupId>commons-beanutils</groupId>
              <artifactId>commons-beanutils</artifactId>
              <version>1.8.3</version>
            </dependency>
            <dependency>
              <groupId>joda-time</groupId>
              <artifactId>joda-time</artifactId>
              <version>1.6.2</version>
            </dependency>
            <dependency>
              <groupId>cglib</groupId>
              <artifactId>cglib-nodep</artifactId>
              <version>2.2</version>
            </dependency>
            <dependency>
              <groupId>c3p0</groupId>
              <artifactId>c3p0</artifactId>
              <version>0.9.1.2</version>
            </dependency>
            <dependency>
              <groupId>org.slf4j</groupId>
              <artifactId>slf4j-log4j12</artifactId>
              <version>1.5.8</version>
            </dependency>
            <dependency>
              <groupId>javassist</groupId>
              <artifactId>javassist</artifactId>
              <version>3.9.0.GA</version>
            </dependency>
            <dependency>
              <groupId>log4j</groupId>
              <artifactId>log4j</artifactId>
              <version>1.2.16</version>
              <scope>provided</scope>
            </dependency>
            <dependency>
              <groupId>com.sun.xml.bind</groupId>
              <artifactId>jaxb-impl</artifactId>
              <version>2.1.9</version>
              <scope>test</scope>
            </dependency>
            <dependency>
              <groupId>org.springframework</groupId>
              <artifactId>spring-test</artifactId>
              <version>3.0.5.RELEASE</version>
              <scope>test</scope>
            </dependency>
            <dependency>
              <groupId>org.easytesting</groupId>
              <artifactId>fest-assert</artifactId>
              <version>1.2</version>
              <scope>test</scope>
            </dependency>
            <dependency>
              <groupId>junit</groupId>
              <artifactId>junit</artifactId>
              <version>4.8.1</version>
              <scope>test</scope>
            </dependency>
            <dependency>
              <groupId>org.mockito</groupId>
              <artifactId>mockito-all</artifactId>
              <version>1.8.5</version>
              <scope>test</scope>
            </dependency>
          </dependencies>
        </dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>com.medfx.common</groupId>
            <artifactId>Domain</artifactId>
            <version>2.0.0-SNAPSHOT</version>
            <scope>compile</scope>
            <exclusions>
              <exclusion>
                <artifactId>errai-bus</artifactId>
                <groupId>org.jboss.errai</groupId>
              </exclusion>
            </exclusions>
          </dependency>
          <dependency>
            <groupId>com.medfx.interchange.common</groupId>
            <artifactId>ServiceInterfaces</artifactId>
            <version>2.0.0-SNAPSHOT</version>
            <scope>compile</scope>
          </dependency>
          <dependency>
            <groupId>com.medfx.interchange.common</groupId>
            <artifactId>AdapterInterfaces</artifactId>
            <version>2.0.0-SNAPSHOT</version>
            <scope>compile</scope>
          </dependency>
          <dependency>
            <groupId>com.medfx.interchange.common</groupId>
            <artifactId>Utilities</artifactId>
            <version>2.0.0-SNAPSHOT</version>
            <scope>compile</scope>
          </dependency>
          <dependency>
            <groupId>com.medfx.common</groupId>
            <artifactId>Auditor</artifactId>
            <version>2.0.0-SNAPSHOT</version>
            <scope>compile</scope>
          </dependency>
          <dependency>
            <groupId>com.medfx.common</groupId>
            <artifactId>Exception</artifactId>
            <version>2.0.0-SNAPSHOT</version>
            <scope>compile</scope>
          </dependency>
          <dependency>
            <groupId>com.medfx.interchange.common</groupId>
            <artifactId>ServiceClient</artifactId>
            <version>2.0.0-SNAPSHOT</version>
            <scope>compile</scope>
          </dependency>
          <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-rt-frontend-jaxrs</artifactId>
            <version>2.2.4</version>
            <scope>provided</scope>
          </dependency>
          <dependency>
            <groupId>commons-codec</groupId>
            <artifactId>commons-codec</artifactId>
            <version>1.4</version>
            <scope>compile</scope>
          </dependency>
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
            <version>3.0.5.RELEASE</version>
            <scope>compile</scope>
          </dependency>
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-beans</artifactId>
            <version>3.0.5.RELEASE</version>
            <scope>compile</scope>
          </dependency>
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-tx</artifactId>
            <version>3.0.5.RELEASE</version>
            <scope>compile</scope>
          </dependency>
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-web</artifactId>
            <version>3.0.5.RELEASE</version>
            <scope>compile</scope>
          </dependency>
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-aop</artifactId>
            <version>3.0.5.RELEASE</version>
            <scope>compile</scope>
          </dependency>
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-aspects</artifactId>
            <version>3.0.5.RELEASE</version>
            <scope>compile</scope>
          </dependency>
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
            <version>3.0.5.RELEASE</version>
            <scope>compile</scope>
          </dependency>
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context-support</artifactId>
            <version>3.0.5.RELEASE</version>
            <scope>compile</scope>
          </dependency>
          <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-core</artifactId>
            <version>3.0.5.RELEASE</version>
            <scope>compile</scope>
          </dependency>
          <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-config</artifactId>
            <version>3.0.5.RELEASE</version>
            <scope>compile</scope>
          </dependency>
          <dependency>
            <groupId>org.springbyexample</groupId>
            <artifactId>org.springbyexample.threadscope</artifactId>
            <version>1.0.1</version>
            <scope>compile</scope>
            <exclusions>
              <exclusion>
                <artifactId>com.springsource.slf4j.api</artifactId>
                <groupId>org.slf4j</groupId>
              </exclusion>
              <exclusion>
                <artifactId>com.springsource.slf4j.org.apache.commons.logging</artifactId>
                <groupId>org.slf4j</groupId>
              </exclusion>
              <exclusion>
                <artifactId>cglib</artifactId>
                <groupId>cglib</groupId>
              </exclusion>
              <exclusion>
                <artifactId>com.springsource.org.aopalliance</artifactId>
                <groupId>org.aopalliance</groupId>
              </exclusion>
              <exclusion>
                <artifactId>org.springframework.aop</artifactId>
                <groupId>org.springframework</groupId>
              </exclusion>
              <exclusion>
                <artifactId>org.springframework.asm</artifactId>
                <groupId>org.springframework</groupId>
              </exclusion>
              <exclusion>
                <artifactId>org.springframework.beans</artifactId>
                <groupId>org.springframework</groupId>
              </exclusion>
              <exclusion>
                <artifactId>org.springframework.context</artifactId>
                <groupId>org.springframework</groupId>
              </exclusion>
              <exclusion>
                <artifactId>org.springframework.context.support</artifactId>
                <groupId>org.springframework</groupId>
              </exclusion>
              <exclusion>
                <artifactId>org.springframework.core</artifactId>
                <groupId>org.springframework</groupId>
              </exclusion>
              <exclusion>
                <artifactId>org.springframework.expression</artifactId>
                <groupId>org.springframework</groupId>
              </exclusion>
              <exclusion>
                <artifactId>com.springsource.org.apache.commons.collections</artifactId>
                <groupId>org.apache.commons</groupId>
              </exclusion>
            </exclusions>
          </dependency>
          <dependency>
            <groupId>cglib</groupId>
            <artifactId>cglib-nodep</artifactId>
            <version>2.2</version>
            <scope>compile</scope>
          </dependency>
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-test</artifactId>
            <version>3.0.5.RELEASE</version>
            <scope>test</scope>
          </dependency>
          <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.8.1</version>
            <scope>test</scope>
          </dependency>
        </dependencies>
        <repositories>
          <repository>
            <releases>
              <enabled>true</enabled>
            </releases>
            <snapshots>
              <enabled>false</enabled>
            </snapshots>
            <id>releases</id>
            <url>http://nexus.medfx.local:8081/nexus/content/repositories/releases/</url>
          </repository>
          <repository>
            <releases>
              <enabled>false</enabled>
            </releases>
            <snapshots>
              <enabled>true</enabled>
            </snapshots>
            <id>snapshots</id>
            <url>http://nexus.medfx.local:8081/nexus/content/repositories/snapshots/</url>
          </repository>
          <repository>
            <releases>
              <enabled>true</enabled>
            </releases>
            <snapshots>
              <enabled>false</enabled>
            </snapshots>
            <id>thirdparty</id>
            <name>MedFx Maven Third-Party Repo</name>
            <url>http://nexus.medfx.local:8081/nexus/content/repositories/thirdparty</url>
          </repository>
          <repository>
            <snapshots>
              <enabled>false</enabled>
            </snapshots>
            <id>central</id>
            <name>Maven Repository Switchboard</name>
            <url>http://repo1.maven.org/maven2</url>
          </repository>
        </repositories>
        <pluginRepositories>
          <pluginRepository>
            <releases>
              <enabled>true</enabled>
            </releases>
            <snapshots>
              <enabled>true</enabled>
            </snapshots>
            <id>releases</id>
            <url>http://nexus.medfx.local:8081/nexus/content/groups/public</url>
          </pluginRepository>
          <pluginRepository>
            <releases>
              <updatePolicy>never</updatePolicy>
            </releases>
            <snapshots>
              <enabled>false</enabled>
            </snapshots>
            <id>central</id>
            <name>Maven Plugin Repository</name>
            <url>http://repo1.maven.org/maven2</url>
          </pluginRepository>
        </pluginRepositories>
        <build>
          <sourceDirectory>C:\Users\KBober\workspace\interchange\trunk\Services\DocumentQueryService\DocumentQueryService-core\src\main\java</sourceDirectory>
          <scriptSourceDirectory>C:\Users\KBober\workspace\interchange\trunk\Services\DocumentQueryService\DocumentQueryService-core\src\main\scripts</scriptSourceDirectory>
          <testSourceDirectory>C:\Users\KBober\workspace\interchange\trunk\Services\DocumentQueryService\DocumentQueryService-core\src\test\java</testSourceDirectory>
          <outputDirectory>C:\Users\KBober\workspace\interchange\trunk\Services\DocumentQueryService\DocumentQueryService-core\target\classes</outputDirectory>
          <testOutputDirectory>C:\Users\KBober\workspace\interchange\trunk\Services\DocumentQueryService\DocumentQueryService-core\target\test-classes</testOutputDirectory>
          <resources>
            <resource>
              <directory>C:\Users\KBober\workspace\interchange\trunk\Services\DocumentQueryService\DocumentQueryService-core\src\main\resources</directory>
            </resource>
          </resources>
          <testResources>
            <testResource>
              <directory>C:\Users\KBober\workspace\interchange\trunk\Services\DocumentQueryService\DocumentQueryService-core\src\test\resources</directory>
            </testResource>
          </testResources>
          <directory>C:\Users\KBober\workspace\interchange\trunk\Services\DocumentQueryService\DocumentQueryService-core\target</directory>
          <finalName>DocumentQueryService-core-2.0.0-SNAPSHOT</finalName>
          <pluginManagement>
            <plugins>
              <plugin>
                <artifactId>maven-antrun-plugin</artifactId>
                <version>1.3</version>
              </plugin>
              <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>2.2-beta-4</version>
              </plugin>
              <plugin>
                <artifactId>maven-clean-plugin</artifactId>
                <version>2.3</version>
              </plugin>
              <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.3.2</version>
                <configuration>
                  <source>1.6</source>
                  <target>1.6</target>
                  <compilerVersion>1.6</compilerVersion>
                  <encoding>UTF-8</encoding>
                </configuration>
              </plugin>
              <plugin>
                <artifactId>maven-dependency-plugin</artifactId>
                <version>2.0</version>
              </plugin>
              <plugin>
                <artifactId>maven-deploy-plugin</artifactId>
                <version>2.4</version>
              </plugin>
              <plugin>
                <artifactId>maven-ear-plugin</artifactId>
                <version>2.3.1</version>
              </plugin>
              <plugin>
                <artifactId>maven-ejb-plugin</artifactId>
                <version>2.1</version>
              </plugin>
              <plugin>
                <artifactId>maven-install-plugin</artifactId>
                <version>2.3</version>
              </plugin>
              <plugin>
                <artifactId>maven-jar-plugin</artifactId>
                <version>2.3.1</version>
                <configuration>
                  <archive>
                    <manifest>
                      <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                    </manifest>
                    <manifestEntries>
                      <Implementation-Build>${buildNumber}</Implementation-Build>
                    </manifestEntries>
                  </archive>
                </configuration>
              </plugin>
              <plugin>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>2.5</version>
              </plugin>
              <plugin>
                <artifactId>maven-plugin-plugin</artifactId>
                <version>2.5.1</version>
              </plugin>
              <plugin>
                <artifactId>maven-rar-plugin</artifactId>
                <version>2.2</version>
              </plugin>
              <plugin>
                <artifactId>maven-surefire-report-plugin</artifactId>
                <version>2.6</version>
              </plugin>
              <plugin>
                <artifactId>maven-release-plugin</artifactId>
                <version>2.0</version>
              </plugin>
              <plugin>
                <artifactId>maven-resources-plugin</artifactId>
                <version>2.4.1</version>
              </plugin>
              <plugin>
                <artifactId>maven-site-plugin</artifactId>
                <version>2.0.1</version>
              </plugin>
              <plugin>
                <artifactId>maven-source-plugin</artifactId>
                <version>2.0.4</version>
              </plugin>
              <plugin>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.4.3</version>
              </plugin>
              <plugin>
                <artifactId>maven-war-plugin</artifactId>
                <version>2.1.1</version>
                <configuration>
                  <archive>
                    <manifest>
                      <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                    </manifest>
                    <manifestEntries>
                      <Implementation-Build>${buildNumber}</Implementation-Build>
                    </manifestEntries>
                  </archive>
                </configuration>
              </plugin>
              <plugin>
                <groupId>org.codehaus.cargo</groupId>
                <artifactId>cargo-maven2-plugin</artifactId>
                <version>1.0.5</version>
                <executions>
                  <execution>
                    <id>deploy</id>
                    <phase>pre-integration-test</phase>
                    <goals>
                      <goal>redeploy</goal>
                    </goals>
                    <configuration>
                      <container>
                        <containerId>jboss51x</containerId>
                        <type>remote</type>
                        <timeout>300000</timeout>
                      </container>
                      <configuration>
                        <type>runtime</type>
                        <properties>
                          <cargo.remote.username>${cargo.remote.username}</cargo.remote.username>
                          <cargo.remote.password>${cargo.remote.password}</cargo.remote.password>
                          <cargo.hostname>${cargo.hostname}</cargo.hostname>
                          <cargo.rmi.port>1299</cargo.rmi.port>
                        </properties>
                      </configuration>
                    </configuration>
                  </execution>
                </executions>
                <dependencies>
                  <dependency>
                    <groupId>org.codehaus.cargo</groupId>
                    <artifactId>cargo-core-tools-jboss-deployer-5.1-and-onwards</artifactId>
                    <version>1.0.5</version>
                  </dependency>
                  <dependency>
                    <groupId>org.jboss.integration</groupId>
                    <artifactId>jboss-profileservice-spi</artifactId>
                    <version>5.1.0.GA</version>
                  </dependency>
                  <dependency>
                    <groupId>org.jboss.jbossas</groupId>
                    <artifactId>jboss-as-client</artifactId>
                    <version>5.1.0.GA</version>
                    <type>pom</type>
                  </dependency>
                </dependencies>
                <configuration>
                  <container>
                    <containerId>jboss51x</containerId>
                    <type>remote</type>
                    <timeout>300000</timeout>
                  </container>
                  <configuration>
                    <type>runtime</type>
                    <properties>
                      <cargo.remote.username>${cargo.remote.username}</cargo.remote.username>
                      <cargo.remote.password>${cargo.remote.password}</cargo.remote.password>
                      <cargo.hostname>${cargo.hostname}</cargo.hostname>
                      <cargo.rmi.port>1299</cargo.rmi.port>
                    </properties>
                  </configuration>
                </configuration>
              </plugin>
              <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>build-helper-maven-plugin</artifactId>
                <executions>
                  <execution>
                    <id>add-source</id>
                    <phase>generate-sources</phase>
                    <goals>
                      <goal>add-source</goal>
                    </goals>
                    <configuration>
                      <sources>
                        <source>C:\Users\KBober\workspace\interchange\trunk\Services\DocumentQueryService\DocumentQueryService-core/target/generated/src/main/java</source>
                      </sources>
                    </configuration>
                  </execution>
                </executions>
              </plugin>
              <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>buildnumber-maven-plugin</artifactId>
                <version>1.0</version>
                <executions>
                  <execution>
                    <id>useLastCommittedRevision</id>
                    <phase>validate</phase>
                    <goals>
                      <goal>create</goal>
                    </goals>
                    <configuration>
                      <useLastCommittedRevision>true</useLastCommittedRevision>
                      <revisionOnScmFailure>0000</revisionOnScmFailure>
                    </configuration>
                  </execution>
                </executions>
              </plugin>
              <plugin>
                <groupId>org.jvnet.jaxb2.maven2</groupId>
                <artifactId>maven-jaxb2-plugin</artifactId>
                <version>0.7.4</version>
              </plugin>
              <plugin>
                <groupId>com.sun.tools.xjc.maven2</groupId>
                <artifactId>maven-jaxb-plugin</artifactId>
                <version>1.1.1</version>
              </plugin>
              <plugin>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-codegen-plugin</artifactId>
                <version>2.3.1</version>
              </plugin>
              <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>aspectj-maven-plugin</artifactId>
                <version>1.3.1</version>
                <executions>
                  <execution>
                    <goals>
                      <goal>compile</goal>
                      <goal>test-compile</goal>
                    </goals>
                    <configuration>
                      <verbose>true</verbose>
                      <showWeaveInfo>true</showWeaveInfo>
                      <complianceLevel>1.6</complianceLevel>
                    </configuration>
                  </execution>
                </executions>
                <dependencies>
                  <dependency>
                    <groupId>org.aspectj</groupId>
                    <artifactId>aspectjtools</artifactId>
                    <version>1.6.8</version>
                  </dependency>
                </dependencies>
                <configuration>
                  <verbose>true</verbose>
                  <showWeaveInfo>true</showWeaveInfo>
                  <complianceLevel>1.6</complianceLevel>
                </configuration>
              </plugin>
            </plugins>
          </pluginManagement>
          <plugins>
            <plugin>
              <artifactId>maven-compiler-plugin</artifactId>
              <version>2.0.2</version>
              <executions>
                <execution>
                  <id>default-compile</id>
                  <phase>compile</phase>
                  <goals>
                    <goal>compile</goal>
                  </goals>
                  <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                    <compilerVersion>1.6</compilerVersion>
                    <encoding>UTF-8</encoding>
                  </configuration>
                </execution>
                <execution>
                  <id>default-testCompile</id>
                  <phase>test-compile</phase>
                  <goals>
                    <goal>testCompile</goal>
                  </goals>
                  <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                    <compilerVersion>1.6</compilerVersion>
                    <encoding>UTF-8</encoding>
                  </configuration>
                </execution>
              </executions>
              <configuration>
                <source>1.6</source>
                <target>1.6</target>
                <compilerVersion>1.6</compilerVersion>
                <encoding>UTF-8</encoding>
              </configuration>
            </plugin>
            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>build-helper-maven-plugin</artifactId>
              <version>1.5</version>
              <executions>
                <execution>
                  <id>add-source</id>
                  <phase>generate-sources</phase>
                  <goals>
                    <goal>add-source</goal>
                  </goals>
                  <configuration>
                    <sources>
                      <source>C:\Users\KBober\workspace\interchange\trunk\Services\DocumentQueryService\DocumentQueryService-core/target/generated/src/main/java</source>
                    </sources>
                  </configuration>
                </execution>
                <execution>
                  <id>remove-old-installers</id>
                  <goals>
                    <goal>remove-project-artifact</goal>
                  </goals>
                  <configuration>
                    <removeAll>true</removeAll>
                  </configuration>
                </execution>
              </executions>
            </plugin>
            <plugin>
              <artifactId>maven-pmd-plugin</artifactId>
              <version>2.5</version>
            </plugin>
            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>findbugs-maven-plugin</artifactId>
              <version>2.3.1</version>
            </plugin>
            <plugin>
              <artifactId>maven-checkstyle-plugin</artifactId>
              <version>2.6</version>
            </plugin>
            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>cobertura-maven-plugin</artifactId>
              <version>2.4</version>
              <configuration>
                <check>
                  <haltOnFailure>false</haltOnFailure>
                </check>
              </configuration>
            </plugin>
            <plugin>
              <artifactId>maven-surefire-plugin</artifactId>
              <version>2.6</version>
              <executions>
                <execution>
                  <id>default-test</id>
                  <phase>test</phase>
                  <goals>
                    <goal>test</goal>
                  </goals>
                  <configuration>
                    <skipTests>false</skipTests>
                  </configuration>
                </execution>
              </executions>
              <configuration>
                <skipTests>false</skipTests>
              </configuration>
            </plugin>
            <plugin>
              <artifactId>maven-site-plugin</artifactId>
              <version>2.2</version>
              <executions>
                <execution>
                  <id>default-site</id>
                  <phase>site</phase>
                  <goals>
                    <goal>site</goal>
                  </goals>
                </execution>
                <execution>
                  <id>default-deploy</id>
                  <phase>site-deploy</phase>
                  <goals>
                    <goal>deploy</goal>
                  </goals>
                </execution>
              </executions>
              <configuration>
                <outputDirectory>C:\Users\KBober\workspace\interchange\trunk\Services\DocumentQueryService\DocumentQueryService-core\target\site</outputDirectory>
                <reportPlugins>
                  <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-report-plugin</artifactId>
                    <version>2.6</version>
                  </plugin>
                  <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-pmd-plugin</artifactId>
                    <version>2.5</version>
                    <configuration>
                      <linkXRef>true</linkXRef>
                      <sourceEncoding>utf-8</sourceEncoding>
                      <minimumTokens>100</minimumTokens>
                      <targetJdk>1.6</targetJdk>
                      <excludes>
                        <exclude>**/*Bean.java</exclude>
                        <exclude>**/generated/*.java</exclude>
                      </excludes>
                      <excludeRoots>
                        <excludeRoot>target/generated-sources/stubs</excludeRoot>
                      </excludeRoots>
                      <rulesets>
                        <ruleset>http://bamboo.medfx.local:8085:8080/project/report-rules/pmd-rules.xml</ruleset>
                      </rulesets>
                    </configuration>
                  </plugin>
                  <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>findbugs-maven-plugin</artifactId>
                    <version>2.3.1</version>
                    <configuration>
                      <xmlOutput>true</xmlOutput>
                      <xmlOutputDirectory>target/site</xmlOutputDirectory>
                      <findbugsXmlOutput>true</findbugsXmlOutput>
                      <findbugsXmlOutputDirectory>target/site</findbugsXmlOutputDirectory>
                      <effort>Max</effort>
                      <threshold>Low</threshold>
                      <includeFilterFile>http://bamboo.medfx.local:8085:8080/project/report-rules/findbugs-rules.xml</includeFilterFile>
                    </configuration>
                  </plugin>
                  <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-checkstyle-plugin</artifactId>
                    <version>2.6</version>
                    <configuration>
                      <configLocation>http://sonar.medfx.local:9000//profiles/export?format=checkstyle&language=java&name=MEDfx</configLocation>
                    </configuration>
                  </plugin>
                  <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>cobertura-maven-plugin</artifactId>
                    <version>2.4</version>
                  </plugin>
                  <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-site-plugin</artifactId>
                    <version>2.2</version>
                  </plugin>
                  <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-project-info-reports-plugin</artifactId>
                  </plugin>
                </reportPlugins>
              </configuration>
            </plugin>
            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>buildnumber-maven-plugin</artifactId>
              <version>1.0</version>
              <executions>
                <execution>
                  <id>useLastCommittedRevision</id>
                  <phase>validate</phase>
                  <goals>
                    <goal>create</goal>
                  </goals>
                  <configuration>
                    <useLastCommittedRevision>true</useLastCommittedRevision>
                    <revisionOnScmFailure>0000</revisionOnScmFailure>
                  </configuration>
                </execution>
              </executions>
            </plugin>
            <plugin>
              <artifactId>maven-deploy-plugin</artifactId>
              <version>2.4</version>
              <executions>
                <execution>
                  <id>default-deploy</id>
                  <phase>deploy</phase>
                  <goals>
                    <goal>deploy</goal>
                  </goals>
                </execution>
              </executions>
            </plugin>
            <plugin>
              <artifactId>maven-install-plugin</artifactId>
              <version>2.3</version>
              <executions>
                <execution>
                  <id>default-install</id>
                  <phase>install</phase>
                  <goals>
                    <goal>install</goal>
                  </goals>
                </execution>
              </executions>
            </plugin>
            <plugin>
              <artifactId>maven-jar-plugin</artifactId>
              <version>2.3.1</version>
              <executions>
                <execution>
                  <id>default-jar</id>
                  <phase>package</phase>
                  <goals>
                    <goal>jar</goal>
                  </goals>
                  <configuration>
                    <archive>
                      <manifest>
                        <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                      </manifest>
                      <manifestEntries>
                        <Implementation-Build>${buildNumber}</Implementation-Build>
                      </manifestEntries>
                    </archive>
                  </configuration>
                </execution>
              </executions>
              <configuration>
                <archive>
                  <manifest>
                    <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                  </manifest>
                  <manifestEntries>
                    <Implementation-Build>${buildNumber}</Implementation-Build>
                  </manifestEntries>
                </archive>
              </configuration>
            </plugin>
            <plugin>
              <artifactId>maven-resources-plugin</artifactId>
              <version>2.4.1</version>
              <executions>
                <execution>
                  <id>default-resources</id>
                  <phase>process-resources</phase>
                  <goals>
                    <goal>resources</goal>
                  </goals>
                </execution>
                <execution>
                  <id>default-testResources</id>
                  <phase>process-test-resources</phase>
                  <goals>
                    <goal>testResources</goal>
                  </goals>
                </execution>
              </executions>
            </plugin>
            <plugin>
              <artifactId>maven-clean-plugin</artifactId>
              <version>2.3</version>
              <executions>
                <execution>
                  <id>default-clean</id>
                  <phase>clean</phase>
                  <goals>
                    <goal>clean</goal>
                  </goals>
                </execution>
              </executions>
            </plugin>
          </plugins>
        </build>
        <reporting>
          <outputDirectory>C:\Users\KBober\workspace\interchange\trunk\Services\DocumentQueryService\DocumentQueryService-core\target\site</outputDirectory>
          <plugins>
            <plugin>
              <artifactId>maven-surefire-report-plugin</artifactId>
              <version>2.6</version>
            </plugin>
            <plugin>
              <artifactId>maven-pmd-plugin</artifactId>
              <version>2.5</version>
              <configuration>
                <linkXRef>true</linkXRef>
                <sourceEncoding>utf-8</sourceEncoding>
                <minimumTokens>100</minimumTokens>
                <targetJdk>1.6</targetJdk>
                <excludes>
                  <exclude>**/*Bean.java</exclude>
                  <exclude>**/generated/*.java</exclude>
                </excludes>
                <excludeRoots>
                  <excludeRoot>target/generated-sources/stubs</excludeRoot>
                </excludeRoots>
                <rulesets>
                  <ruleset>http://bamboo.medfx.local:8085:8080/project/report-rules/pmd-rules.xml</ruleset>
                </rulesets>
              </configuration>
            </plugin>
            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>findbugs-maven-plugin</artifactId>
              <version>2.3.1</version>
              <configuration>
                <xmlOutput>true</xmlOutput>
                <xmlOutputDirectory>target/site</xmlOutputDirectory>
                <findbugsXmlOutput>true</findbugsXmlOutput>
                <findbugsXmlOutputDirectory>target/site</findbugsXmlOutputDirectory>
                <effort>Max</effort>
                <threshold>Low</threshold>
                <includeFilterFile>http://bamboo.medfx.local:8085:8080/project/report-rules/findbugs-rules.xml</includeFilterFile>
              </configuration>
            </plugin>
            <plugin>
              <artifactId>maven-checkstyle-plugin</artifactId>
              <version>2.6</version>
              <configuration>
                <configLocation>http://sonar.medfx.local:9000//profiles/export?format=checkstyle&language=java&name=MEDfx</configLocation>
              </configuration>
            </plugin>
            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>cobertura-maven-plugin</artifactId>
              <version>2.4</version>
            </plugin>
            <plugin>
              <artifactId>maven-site-plugin</artifactId>
              <version>2.2</version>
            </plugin>
          </plugins>
        </reporting>
      </project>