jersey-spring jar is compilation issue
<p>I want to create a maven jersey spring integrated project. When I am trying to add </p>

<blockquote>
  <p>com.sun.jersey.contribs:jersey-spring:jar:1.9.1</p>
</blockquote>

<p>jar my project is not compiling, without this jar, its working fine.</p>

<p>Here is my pom.xml</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;com.jwt.rest&lt;/groupId&gt;
      &lt;artifactId&gt;myapp&lt;/artifactId&gt;
      &lt;packaging&gt;war&lt;/packaging&gt;
      &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
      &lt;name&gt;RESTfullApp Maven Webapp&lt;/name&gt;
      &lt;url&gt;http://maven.apache.org&lt;/url&gt;
      &lt;dependencies&gt;
        &lt;dependency&gt;
          &lt;groupId&gt;junit&lt;/groupId&gt;
          &lt;artifactId&gt;junit&lt;/artifactId&gt;
          &lt;version&gt;3.8.1&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;com.sun.jersey&lt;/groupId&gt;
            &lt;artifactId&gt;jersey-server&lt;/artifactId&gt;
            &lt;version&gt;1.17&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;com.sun.jersey&lt;/groupId&gt;
            &lt;artifactId&gt;jersey-servlet&lt;/artifactId&gt;
            &lt;version&gt;1.17&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;javax.ws.rs&lt;/groupId&gt;
            &lt;artifactId&gt;jsr311-api&lt;/artifactId&gt;
            &lt;version&gt;1.1.1&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;com.sun.jersey&lt;/groupId&gt;
            &lt;artifactId&gt;jersey-client&lt;/artifactId&gt;
            &lt;version&gt;1.17&lt;/version&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;org.springframework&lt;/groupId&gt;
            &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
            &lt;version&gt;4.3.2.RELEASE&lt;/version&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;org.springframework&lt;/groupId&gt;
            &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
            &lt;version&gt;4.3.2.RELEASE&lt;/version&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;org.springframework&lt;/groupId&gt;
            &lt;artifactId&gt;spring-aop&lt;/artifactId&gt;
            &lt;version&gt;4.3.2.RELEASE&lt;/version&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;org.springframework&lt;/groupId&gt;
            &lt;artifactId&gt;spring-beans&lt;/artifactId&gt;
            &lt;version&gt;4.3.2.RELEASE&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;4.3.2.RELEASE&lt;/version&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;org.springframework&lt;/groupId&gt;
            &lt;artifactId&gt;spring-expression&lt;/artifactId&gt;
            &lt;version&gt;4.3.2.RELEASE&lt;/version&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;com.sun.jersey.contribs&lt;/groupId&gt;
            &lt;artifactId&gt;jersey-spring&lt;/artifactId&gt;
            &lt;version&gt;1.9.1&lt;/version&gt;
        &lt;/dependency&gt;

      &lt;/dependencies&gt;
      &lt;build&gt;
        &lt;finalName&gt;myapp&lt;/finalName&gt;
      &lt;/build&gt;
    &lt;/project&gt;
</code></pre>

<p>Stacktrace</p>

<pre><code>[WARNING] POM for 'com.sun.jersey:jersey-server:pom:1.9.1:compile' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[ERROR] An error occurred during dependency resolution of the following artifact:
    org.springframework:spring-core:null
Caused by: Unable to get dependency information: Unable to read local copy of metadata: Cannot read metadata from '/home/innoeye/repo2/org/springframework/spring-core/maven-metadata-glassfish-repository.xml': end tag name &lt;/body&gt; must match start tag name &lt;hr&gt; from line 5 (position: TEXT seen ...&lt;/center&gt;\r\n&lt;/body&gt;... @6:8) 
  org.springframework:spring-core:jar:null

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  m2.java.net (http://download.java.net/maven/2),
  jvnet-nexus-snapshots (https://maven.java.net/content/repositories/snapshots),
  glassfish-repository (http://maven.glassfish.org/content/groups/glassfish),
  repository.jboss.org (http://repository.jboss.org/nexus/content/groups/public/)

Path to dependency: 
    1) com.jwt.rest:myapp:war:1.0-SNAPSHOT
    2) com.sun.jersey.contribs:jersey-spring:jar:1.9.1
</code></pre>