title: Apache cxf Jax-RS 2.0 interceptors
body: <p>I am facing an error while parsing. I am not able to understand how to resolve it.</p>
  
  <p>The exception is</p>
  
  <pre><code>####&lt;Dec 3, 2014 3:06:25 AM EST&gt; &lt;Notice&gt; &lt;StdErr&gt; &lt;55NWBS1&gt; &lt;AdminServer&gt; &lt;[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;&gt; &lt;&gt; &lt;1417593985449&gt; &lt;BEA-000000&gt; &lt;Dec 3, 2014 3:06:25 AM org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
  WARNING: Interceptor for {http://service.automatedbluesheets.clearsum.mks.iis.korra.org/}Version has thrown exception, unwinding now
  java.lang.NullPointerException
      at org.apache.cxf.jaxrs.validation.ValidationUtils.getResourceInstance(ValidationUtils.java:39)
      at org.apache.cxf.jaxrs.validation.JAXRSBeanValidationOutInterceptor.getServiceObject(JAXRSBeanValidationOutInterceptor.java:44)
      at org.apache.cxf.validation.AbstractValidationInterceptor.handleMessage(AbstractValidationInterceptor.java:60)
      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
      at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:83)
      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
      at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
      at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:243)
      at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
      at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:197)
      at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)
      at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:171)
      at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:290)
      at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPut(AbstractHTTPServlet.java:226)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:730)
      at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:265)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3714)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)&gt; 
  </code></pre>
  
  <p>cxf beans configuration file is</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;beans:beans xmlns:beans="http://www.springframework.org/schema/beans"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxrs="http://cxf.apache.org/jaxrs"
          xmlns:context="http://www.springframework.org/schema/context"
          xmlns:jee="http://www.springframework.org/schema/jee"
          xmlns:util="http://www.springframework.org/schema/util"
          xsi:schemaLocation=" http://www.springframework.org/schema/beans  http://www.springframework.org/schema/beans/spring-beans-3.0.xsd 
          http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd 
          http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd
          http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee.xsd
          http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"&gt;
  
          &lt;beans:import resource="classpath:META-INF/cxf/cxf.xml" /&gt;
  
          &lt;context:property-placeholder /&gt;
          &lt;context:annotation-config /&gt;
  
          &lt;beans:bean
              class="org.springframework.web.context.support.ServletContextPropertyPlaceholderConfigurer" /&gt;
          &lt;beans:bean
              class="org.springframework.beans.factory.config.PreferencesPlaceholderConfigurer" /&gt;
  
  
          &lt;jee:jndi-lookup id="insiderManagerFacadeEJB"
              jndi-name="InsiderManagerFacade#com.nyse.mks.iis.InsiderManager.domain.facade.session.InsiderManagerFacade"
              expected-type="com.nyse.mks.iis.InsiderManager.domain.facade.session.InsiderManagerFacade" /&gt;
  
          &lt;jee:jndi-lookup id="blueSheetFacadeEJB"
              jndi-name="RequestBluesheetFacade#com.nyse.mks.iis.requestbluesheet.facade.RequestBluesheetFacade"
              expected-type="com.nyse.mks.iis.requestbluesheet.facade.RequestBluesheetFacade" /&gt;
  
          &lt;jee:jndi-lookup id="bsFacadeEJB"
              jndi-name="BSFacade#com.nyse.mks.iis.requestbluesheet.facade.BSFacade"
              expected-type="com.nyse.mks.iis.requestbluesheet.facade.BSFacade" /&gt;
  
          &lt;beans:bean id="bluesheetRequestFacade"
              class="org.korra.iis.mks.clearsum.bluesheets.BluesheetRequestFacadeOfClearsumImpl"&gt;
              &lt;beans:property name="blueSheetFacade" ref="blueSheetFacadeEJB" /&gt;
              &lt;beans:property name="insiderManagerFacade" ref="insiderManagerFacadeEJB" /&gt;
              &lt;beans:property name="bsFacade" ref="bsFacadeEJB" /&gt;
          &lt;/beans:bean&gt;
  
      &lt;!--    &lt;beans:bean id="marketParticipantDao" class="com.nyse.mks.iis.requestbluesheet.daoimpl.bluesheet.MarketParticipantDAO" /&gt; --&gt;
  
  
          &lt;beans:bean id="jsonProvider"
              class="org.codehaus.jackson.jaxrs.JacksonJsonProvider" &gt;
          &lt;/beans:bean&gt;
  
      &lt;!--    &lt;beans:bean id="jsonProvider" class="org.apache.cxf.jaxrs.provider.json.JSONProvider"&gt;
             &lt;beans:property name="schemaHandler" ref="schemaHolder"/&gt;
          &lt;/beans:bean&gt; --&gt;
  
      &lt;!--    &lt;beans:bean id="schemaHolder" class="org.apache.cxf.jaxrs.utils.schemas.SchemaHandler"&gt; --&gt;
      &lt;!--       &lt;beans:property name="schemas" ref="theSchemas"/&gt; --&gt;
      &lt;!--    &lt;/beans:bean&gt; --&gt;
  
      &lt;!--    &lt;util:list id="theSchemas"&gt; --&gt;
      &lt;!--      &lt;beans:value&gt;&lt;![CDATA[classpath:/META-INF/schemas/AutomatedBluesheets_V1.xsd]]&gt;&lt;/beans:value&gt; --&gt;
      &lt;!--    &lt;/util:list&gt;    --&gt;
  
          &lt;beans:bean id="versionBean"
              class="org.korra.iis.mks.clearsum.automatedbluesheets.service.Version"&gt;
              &lt;beans:property name="automatedBluesheet" ref="automatedBluesheet" /&gt;
          &lt;/beans:bean&gt;
          &lt;beans:bean id="automatedBluesheet"
              class="org.korra.iis.mks.clearsum.automatedbluesheets.service.AutomatedBluesheet"&gt;
              &lt;beans:property name="bluesheetRequestFacade" ref="bluesheetRequestFacade" /&gt;
          &lt;/beans:bean&gt;
  
          &lt;!-- &lt;jee:local-slsb id="myComponent" jndi-name="InsiderManagerFacade#com.nyse.mks.iis.InsiderManager.domain.facade.session.InsiderManagerFacade" 
              business-interface="com.nyse.mks.iis.InsiderManager.domain.facade.session.InsiderManagerFacade"/&gt; --&gt;
  
          &lt;beans:bean id="exceptionMapper" class="org.apache.cxf.jaxrs.validation.ValidationExceptionMapper" /&gt;
          &lt;beans:bean id="validationProvider" class="org.apache.cxf.validation.BeanValidationProvider" /&gt;
  
          &lt;beans:bean id="validationInInterceptor"
                  class="org.apache.cxf.jaxrs.validation.JAXRSBeanValidationInInterceptor"&gt;
              &lt;beans:property name="provider" ref="validationProvider" /&gt;
          &lt;/beans:bean&gt;
  
          &lt;beans:bean id="validationOutInterceptor"
                  class="org.apache.cxf.jaxrs.validation.JAXRSBeanValidationOutInterceptor"&gt;
              &lt;beans:property name="provider" ref="validationProvider" /&gt;
          &lt;/beans:bean&gt;
  
  
          &lt;!-- &lt;bean class="org.apache.cxf.management.web.logging.atom.AtomPushBean" 
              init-method="init"&gt; --&gt;
          &lt;!-- &lt;property name="url" value="http://localhost:8080/automatedbluesheets-1.0-SNAPSHOT/"/&gt; --&gt;
          &lt;!-- &lt;property name="level" value="ALL" /&gt; --&gt;
          &lt;!-- &lt;/bean&gt; --&gt;
  
  
          &lt;jaxrs:server id="services" address="/"&gt;
              &lt;jaxrs:serviceBeans&gt;
                  &lt;beans:ref bean="versionBean" /&gt;
                  &lt;beans:ref bean="automatedBluesheet" /&gt;
              &lt;/jaxrs:serviceBeans&gt;
  
              &lt;jaxrs:providers&gt;
                  &lt;beans:ref bean="exceptionMapper"/&gt;
                  &lt;beans:ref bean="jsonProvider" /&gt;
              &lt;/jaxrs:providers&gt;
  
              &lt;jaxrs:extensionMappings&gt;
                  &lt;entry key="json" value="application/json" /&gt;
                  &lt;entry key="xml" value="application/xml" /&gt;
              &lt;/jaxrs:extensionMappings&gt;
  
              &lt;jaxrs:languageMappings&gt;
                  &lt;entry key="en" value="en-gb" /&gt;
              &lt;/jaxrs:languageMappings&gt;
  
      &lt;!--        &lt;jaxrs:features&gt; --&gt;
      &lt;!--             &lt;cxf:logging/&gt; --&gt;
      &lt;!--        &lt;/jaxrs:features&gt; --&gt;
  
              &lt;jaxrs:inInterceptors&gt;
                  &lt;ref bean="validationInInterceptor" /&gt;
              &lt;/jaxrs:inInterceptors&gt;
  
              &lt;jaxrs:outInterceptors&gt;
                  &lt;ref bean="validationOutInterceptor" /&gt;
              &lt;/jaxrs:outInterceptors&gt; 
  
                &lt;jaxrs:schemaLocations&gt;
                   &lt;jaxrs:schemaLocation&gt;&lt;![CDATA[classpath:META-INF/schemas/AutomatedBluesheets_V1.xsd]]&gt;&lt;/jaxrs:schemaLocation&gt;
                   &lt;!-- Possible from CXF 3.0.0 milestone2: --&gt;
                   &lt;!-- 
                   &lt;jaxrs:schemaLocation&gt;classpath:/META-INF/schemas/&lt;/jaxrs:schemaLocation&gt;
                   --&gt; 
                &lt;/jaxrs:schemaLocations&gt;
  
          &lt;/jaxrs:server&gt;
  
      &lt;/beans:beans&gt;
  </code></pre>
  
  <p>Rest service java classes are:
          /**
           * Created by Apache CXF WadlToJava code generator
           **/
          package org.korra.iis.mks.clearsum.automatedbluesheets.service;</p>
  
  <pre><code>    import javax.ws.rs.Consumes;
      import javax.ws.rs.PUT;
      import javax.ws.rs.Produces;
      import javax.ws.rs.WebApplicationException;
      import javax.ws.rs.core.MediaType;
  
      import org.korra.iis.mks.clearsum.automatedbluesheets.schema.AutomatedBluesheetRequestInput;
      import org.korra.iis.mks.clearsum.automatedbluesheets.schema.AutomatedBluesheetResponse;
      import org.korra.iis.mks.clearsum.bluesheets.BluesheetRequestFacadeOfClearsum;
  
      public class AutomatedBluesheet {
  
          /**
           * This is variable to hold the bluesheetRequestFacade
           */
          private BluesheetRequestFacadeOfClearsum bluesheetRequestFacade;
  
          /**
           * @return the bluesheetRequestFacade
           */
          public BluesheetRequestFacadeOfClearsum getBluesheetRequestFacade() {
              return bluesheetRequestFacade;
          }
  
          /**
           * @param bluesheetRequestFacade
           *            the bluesheetRequestFacade to set
           */
          public void setBluesheetRequestFacade(
                  BluesheetRequestFacadeOfClearsum bluesheetRequestFacade) {
              this.bluesheetRequestFacade = bluesheetRequestFacade;
          }
  
          @PUT
          @Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
          @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
          public AutomatedBluesheetResponse createRequest(
                  AutomatedBluesheetRequestInput automatedBluesheetRequest)
                  throws WebApplicationException {
  
              AutomatedBluesheetResponse automatedBluesheetResponse = null;
              try {
                  automatedBluesheetResponse = bluesheetRequestFacade
                          .instateBlueSheet(automatedBluesheetRequest);
              } catch (Exception e) {
                  e.printStackTrace(System.err);
                  throw new WebApplicationException(e);
              }
              return automatedBluesheetResponse;
          }
  
      }
  </code></pre>
  
  <p>Class 2:
          /**
           * Created by Apache CXF WadlToJava code generator
          **/
          package org.korra.iis.mks.clearsum.automatedbluesheets.service;</p>
  
  <pre><code>    import javax.ws.rs.Path;
  
      @Path("/v1")
      public class Version {
  
          /**
           * 
           */
          private AutomatedBluesheet automatedBluesheet;
  
          /**
           * @param automatedBluesheet the automatedBluesheet to set
           */
          public void setAutomatedBluesheet(AutomatedBluesheet automatedBluesheet) {
              this.automatedBluesheet = automatedBluesheet;
          }
  
          @Path("/automatedBluesheet")
          public AutomatedBluesheet getAutomatedBluesheet() {
          return automatedBluesheet;
          }
  
      }
  </code></pre>
  
  <p>POM file:</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
  
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;org.korra.mks.iis.clearsum&lt;/groupId&gt;
      &lt;artifactId&gt;RequestBluesheetWEB&lt;/artifactId&gt;
      &lt;packaging&gt;war&lt;/packaging&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;properties&gt;
          &lt;jackson.version&gt;1.8.6&lt;/jackson.version&gt;
          &lt;cxf.version&gt;3.0.2&lt;/cxf.version&gt;
          &lt;spring.version&gt;4.0.5.RELEASE&lt;/spring.version&gt;
          &lt;jaxb2.version&gt;2.1.0&lt;/jaxb2.version&gt;
          &lt;hibernate.validator.version&gt;5.1.3.Final&lt;/hibernate.validator.version&gt;
          &lt;javax.el.version&gt;2.2.4&lt;/javax.el.version&gt;
          &lt;jettison.version&gt;1.3&lt;/jettison.version&gt;
      &lt;/properties&gt;
      &lt;build&gt;
          &lt;finalName&gt;RequestBluesheetWEB&lt;/finalName&gt;
          &lt;sourceDirectory&gt;src&lt;/sourceDirectory&gt;
          &lt;resources&gt;
              &lt;resource&gt;
                  &lt;directory&gt;src/main/jasperreports&lt;/directory&gt;
                  &lt;excludes&gt;
                      &lt;exclude&gt;*&lt;/exclude&gt;
                  &lt;/excludes&gt;
              &lt;/resource&gt;
              &lt;resource&gt;
                  &lt;directory&gt;resources&lt;/directory&gt;
              &lt;/resource&gt;
              &lt;resource&gt;
                  &lt;directory&gt;src&lt;/directory&gt;
                  &lt;filtering&gt;false&lt;/filtering&gt;
              &lt;/resource&gt;
          &lt;/resources&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.3.2&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;verbose&gt;true&lt;/verbose&gt;
                      &lt;compilerVersion&gt;1.6&lt;/compilerVersion&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
  
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.1&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;warSourceDirectory&gt;WebContent&lt;/warSourceDirectory&gt;
                      &lt;warSourceExcludes&gt;WEB-INF/lib/*.jar&lt;/warSourceExcludes&gt;
                      &lt;webXml&gt;WebContent/WEB-INF/web.xml&lt;/webXml&gt;
                      &lt;archive&gt;
                          &lt;manifest&gt;
                              &lt;addClasspath&gt;true&lt;/addClasspath&gt;
                          &lt;/manifest&gt;
                      &lt;/archive&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;unpack&lt;/id&gt;
                          &lt;phase&gt;compile&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;unpack&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;artifactItems&gt;
                                  &lt;artifactItem&gt;
                                      &lt;groupId&gt;org.korra.mks.iis.clearsum&lt;/groupId&gt;
                                      &lt;artifactId&gt;Client&lt;/artifactId&gt;
                                      &lt;version&gt;${pom.version}&lt;/version&gt;
                                      &lt;type&gt;jar&lt;/type&gt;
                                      &lt;overWrite&gt;false&lt;/overWrite&gt;
                                      &lt;outputDirectory&gt;${project.build.directory}/${project.artifactId}&lt;/outputDirectory&gt;
                                      &lt;excludes&gt;**/org/**&lt;/excludes&gt;
                                  &lt;/artifactItem&gt;
                              &lt;/artifactItems&gt;
                              &lt;outputDirectory&gt;${project.build.directory}/${project.artifactId}&lt;/outputDirectory&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                  &lt;artifactId&gt;jasperreports-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.0-beta-2&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;outputDirectory&gt;${project.build.directory}/${project.artifactId}/WEB-INF/classes/reports&lt;/outputDirectory&gt;
                  &lt;/configuration&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;compile-reports&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
                  &lt;dependencies&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;net.sf.jasperreports&lt;/groupId&gt;
                          &lt;artifactId&gt;jasperreports&lt;/artifactId&gt;
                          &lt;version&gt;3.7.5&lt;/version&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;log4j&lt;/groupId&gt;
                          &lt;artifactId&gt;log4j&lt;/artifactId&gt;
                          &lt;version&gt;1.2.15&lt;/version&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;commons-collections&lt;/groupId&gt;
                          &lt;artifactId&gt;commons-collections&lt;/artifactId&gt;
                          &lt;version&gt;3.2.1&lt;/version&gt;
                      &lt;/dependency&gt;
                  &lt;/dependencies&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                  &lt;artifactId&gt;gwt-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.1.0&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;configuration&gt;
                              &lt;logLevel&gt;ALL&lt;/logLevel&gt;
                              &lt;module&gt;org.korra.clearsum.Clearsum&lt;/module&gt;
                              &lt;output&gt;${project.build.directory}&lt;/output&gt;
                              &lt;style&gt;PRETTY&lt;/style&gt;
                          &lt;/configuration&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;compile&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
  
              &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                  &lt;artifactId&gt;jaxb2-maven-plugin&lt;/artifactId&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;xjc&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;schemaDirectory&gt;WebContent/META-INF/schemas&lt;/schemaDirectory&gt;
                              &lt;schemaFiles&gt;*.xsd&lt;/schemaFiles&gt;
                              &lt;packageName&gt;org.korra.iis.mks.clearsum.automatedbluesheets.schema&lt;/packageName&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.korra.mks.iis.clearsum&lt;/groupId&gt;
              &lt;artifactId&gt;I2RequestBluesheetCommon&lt;/artifactId&gt;
              &lt;version&gt;${pom.version}&lt;/version&gt;
              &lt;optional&gt;true&lt;/optional&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.korra.mks.iis.clearsum&lt;/groupId&gt;
              &lt;artifactId&gt;I2RequestBluesheetDAL&lt;/artifactId&gt;
              &lt;version&gt;${pom.version}&lt;/version&gt;
              &lt;optional&gt;true&lt;/optional&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.korra.mks.iis.clearsum&lt;/groupId&gt;
                      &lt;artifactId&gt;I2RequestBluesheetCommon&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.korra.mks.iis.clearsum&lt;/groupId&gt;
              &lt;artifactId&gt;RequestBluesheetEJB&lt;/artifactId&gt;
              &lt;version&gt;${pom.version}&lt;/version&gt;
              &lt;optional&gt;true&lt;/optional&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.korra.mks.iis.wsstub&lt;/groupId&gt;
                      &lt;artifactId&gt;LGSWSDelegate&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.korra.mks.iis.clearsum&lt;/groupId&gt;
                      &lt;artifactId&gt;I2RequestBluesheetCommon&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.korra.mks.iis.clearsum&lt;/groupId&gt;
              &lt;artifactId&gt;Client&lt;/artifactId&gt;
              &lt;version&gt;${pom.version}&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.korra.mks.iis.commonutility2&lt;/groupId&gt;
              &lt;artifactId&gt;IISCommonUtility2&lt;/artifactId&gt;
              &lt;version&gt;0.0.3-SNAPSHOT&lt;/version&gt;
              &lt;optional&gt;true&lt;/optional&gt;
              &lt;exclusions&gt;
                  &lt;!-- &lt;exclusion&gt; &lt;groupId&gt;log4j&lt;/groupId&gt; &lt;artifactId&gt;log4j&lt;/artifactId&gt; 
                      &lt;/exclusion&gt; --&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.codehaus.castor&lt;/groupId&gt;
                      &lt;artifactId&gt;castor-core&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.codehaus.castor&lt;/groupId&gt;
                      &lt;artifactId&gt;castor-xml&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.korra.mks.iis.insiderManager&lt;/groupId&gt;
              &lt;artifactId&gt;InsiderManagerEJB&lt;/artifactId&gt;
              &lt;version&gt;0.0.2-SNAPSHOT&lt;/version&gt;
              &lt;optional&gt;true&lt;/optional&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.korra.mks.iis.insiderManager&lt;/groupId&gt;
              &lt;artifactId&gt;InsiderManagerDAL&lt;/artifactId&gt;
              &lt;version&gt;0.0.2-SNAPSHOT&lt;/version&gt;
              &lt;optional&gt;true&lt;/optional&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.gwt&lt;/groupId&gt;
              &lt;artifactId&gt;gwt-servlet&lt;/artifactId&gt;
              &lt;version&gt;2.1.0.M2&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.json&lt;/groupId&gt;
              &lt;artifactId&gt;json&lt;/artifactId&gt;
              &lt;version&gt;20090211&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
              &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
              &lt;version&gt;2.5&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;javax.ejb&lt;/groupId&gt;
              &lt;artifactId&gt;ejb-api&lt;/artifactId&gt;
              &lt;version&gt;3.0&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.extjs&lt;/groupId&gt;
              &lt;artifactId&gt;gxt&lt;/artifactId&gt;
              &lt;version&gt;2.2.0&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.json&lt;/groupId&gt;
              &lt;artifactId&gt;json&lt;/artifactId&gt;
              &lt;version&gt;20090211&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.gwt&lt;/groupId&gt;
              &lt;artifactId&gt;gwt-user&lt;/artifactId&gt;
              &lt;version&gt;2.1.0&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
              &lt;artifactId&gt;poi-ooxml&lt;/artifactId&gt;
              &lt;version&gt;3.8-beta5&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
              &lt;artifactId&gt;poi&lt;/artifactId&gt;
              &lt;version&gt;3.8-beta5&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
              &lt;artifactId&gt;poi-ooxml-schemas&lt;/artifactId&gt;
              &lt;version&gt;3.8-beta5&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;net.sf.ezmorph&lt;/groupId&gt;
              &lt;artifactId&gt;ezmorph&lt;/artifactId&gt;
              &lt;version&gt;1.0.4&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;commons-beanutils&lt;/groupId&gt;
              &lt;artifactId&gt;commons-beanutils&lt;/artifactId&gt;
              &lt;version&gt;1.7.0&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;commons-lang&lt;/groupId&gt;
              &lt;artifactId&gt;commons-lang&lt;/artifactId&gt;
              &lt;version&gt;2.4&lt;/version&gt;
              &lt;optional&gt;true&lt;/optional&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;commons-io&lt;/groupId&gt;
              &lt;artifactId&gt;commons-io&lt;/artifactId&gt;
              &lt;version&gt;1.3.1&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- &lt;dependency&gt; &lt;groupId&gt;commons-collections&lt;/groupId&gt; &lt;artifactId&gt;commons-collections&lt;/artifactId&gt; 
              &lt;version&gt;3.2.1&lt;/version&gt; &lt;/dependency&gt; --&gt;
  
  
          &lt;dependency&gt;
              &lt;groupId&gt;commons-digester&lt;/groupId&gt;
              &lt;artifactId&gt;commons-digester&lt;/artifactId&gt;
              &lt;version&gt;2.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.lowagie&lt;/groupId&gt;
              &lt;artifactId&gt;itext&lt;/artifactId&gt;
              &lt;version&gt;2.1.7&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;net.sf.jasperreports&lt;/groupId&gt;
              &lt;artifactId&gt;jasperreports&lt;/artifactId&gt;
              &lt;version&gt;3.7.6&lt;/version&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;eclipse&lt;/groupId&gt;
                      &lt;artifactId&gt;jdtcore&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;net.sf.jasperreports&lt;/groupId&gt;
              &lt;artifactId&gt;jasperreports-fonts&lt;/artifactId&gt;
              &lt;version&gt;3.7.6&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;xerces&lt;/groupId&gt;
              &lt;artifactId&gt;xercesImpl&lt;/artifactId&gt;
              &lt;version&gt;2.9.1&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;net.sf.json-lib&lt;/groupId&gt;
              &lt;artifactId&gt;json-lib&lt;/artifactId&gt;
              &lt;version&gt;2.2.2&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.korra.mks.iis.wsstub&lt;/groupId&gt;
              &lt;artifactId&gt;StarWSClient&lt;/artifactId&gt;
              &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- Rest service dependent jars start  --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
              &lt;artifactId&gt;cxf-rt-frontend-jaxrs&lt;/artifactId&gt;
              &lt;version&gt;${cxf.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
              &lt;artifactId&gt;cxf-rt-rs-client&lt;/artifactId&gt;
              &lt;version&gt;${cxf.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
              &lt;artifactId&gt;cxf-rt-rs-extension-providers&lt;/artifactId&gt;
              &lt;version&gt;${cxf.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
              &lt;artifactId&gt;jackson-core-asl&lt;/artifactId&gt;
              &lt;version&gt;${jackson.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
              &lt;artifactId&gt;jackson-mapper-asl&lt;/artifactId&gt;
              &lt;version&gt;${jackson.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
              &lt;artifactId&gt;jackson-jaxrs&lt;/artifactId&gt;
              &lt;version&gt;${jackson.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
  &lt;!--        &lt;dependency&gt;
              &lt;groupId&gt;org.codehaus.jettison&lt;/groupId&gt;
              &lt;artifactId&gt;jettison&lt;/artifactId&gt;
              &lt;version&gt;${jettison.version}&lt;/version&gt;
          &lt;/dependency&gt; --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
              &lt;version&gt;${spring.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
              &lt;version&gt;${spring.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.xml.bind&lt;/groupId&gt;
              &lt;artifactId&gt;jaxb-api&lt;/artifactId&gt;
              &lt;version&gt;2.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.validation&lt;/groupId&gt;
              &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
              &lt;version&gt;1.1.0.Final&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
             &lt;groupId&gt;javax.el&lt;/groupId&gt;
             &lt;artifactId&gt;javax.el-api&lt;/artifactId&gt;
             &lt;version&gt;3.0-b02&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
             &lt;groupId&gt;org.glassfish&lt;/groupId&gt;
             &lt;artifactId&gt;javax.el&lt;/artifactId&gt;
             &lt;version&gt;3.0-b01&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
             &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
             &lt;artifactId&gt;hibernate-validator-cdi&lt;/artifactId&gt;
             &lt;version&gt;${hibernate.validator.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
             &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
             &lt;artifactId&gt;hibernate-validator&lt;/artifactId&gt;
             &lt;version&gt;${hibernate.validator.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- Rest service dependence ends --&gt;
      &lt;/dependencies&gt;
  &lt;/project&gt;
  </code></pre>