Upgrade resteasy jaxrs-api 3.0.4 -> 3.0.12
[odlparent.git] / odlparent / pom.xml
index 447214b5d551948863d33fc5cc1629580f9cd0db..d0794a386c2bff1168bc6fbe71647415b8bb5bb7 100644 (file)
@@ -17,7 +17,6 @@
     <relativePath>../odlparent-lite</relativePath>
   </parent>
 
-  <groupId>org.opendaylight.odlparent</groupId>
   <artifactId>odlparent</artifactId>
   <packaging>pom</packaging>
   <name>ODL :: odlparent :: ${project.artifactId}</name>
     <!-- Supporting Libraries -->
     <!-- Used by controller -->
     <bouncycastle.version>1.54</bouncycastle.version>
-    <!-- Used by persistence, snmp4sdn; see also didm -->
+    <!-- Used by persistence; see also didm -->
+    <!-- Removed in didm: https://git.opendaylight.org/gerrit/38218 -->
+    <!-- Removed in persistence: https://git.opendaylight.org/gerrit/31285 -->
     <guava.version>18.0</guava.version>
-    <!-- Used by alto; see also affinity, defense4all, integration/distribution, snmp4sdn, toolkit, ttp -->
-    <jackson.version>2.3.2</jackson.version>
-    <!-- Used by snmp4sdn -->
-    <javassist.version>3.20.0-GA</javassist.version>
 
     <!-- FIXME remove all dependencies for jersey 1.17 after migration all projects -->
-    <!-- Used by alto, centinel, tsdr; see also affinity, defense4all, nemo, snmp4sdn, toolkit -->
+    <!-- Used by centinel, tsdr; see also affinity, defense4all, nemo, snmp4sdn, toolkit -->
+    <!-- Removed in centinel: https://git.opendaylight.org/gerrit/38139 -->
+    <!-- Removed in tsdr: https://git.opendaylight.org/gerrit/38140 -->
     <jersey.version>1.17</jersey.version>
 
     <!-- Used by centinel -->
+    <!-- Removed in centinel: https://git.opendaylight.org/gerrit/38139 -->
     <org.json.version>20131018</org.json.version>
 
     <!-- Used by centinel -->
+    <!-- Removed in centinel: https://git.opendaylight.org/gerrit/38139 -->
     <jettison.version>1.3.7</jettison.version>
     <!-- Used by persistence -->
+    <!-- Removed in persistence: https://git.opendaylight.org/gerrit/31285 -->
     <jsr305.api.version>3.0.0</jsr305.api.version>
     <!-- Need to stick to JUnit 4.11 until
          https://github.com/jayway/powermock/issues/560 is fixed (either in
          PowerMock or with a new JUnit release) -->
-    <!-- Used by nic, persistence, tsdr; see also nemo -->
+    <!-- Used by persistence, tsdr; see also nemo -->
+    <!-- Removed in persistence: https://git.opendaylight.org/gerrit/31285 -->
+    <!-- Removed in tsdr: https://git.opendaylight.org/gerrit/38140 -->
     <junit.version>4.11</junit.version>
-    <!-- Used by snmp4sdn; see also affinity, toolkit -->
-    <logback.version>1.1.3</logback.version>
-    <!-- Used by nic, tsdr -->
+    <!-- Used by tsdr -->
+    <!-- Removed in tsdr: https://git.opendaylight.org/gerrit/38140 -->
     <mockito.version>1.10.19</mockito.version>
-    <!-- Used by alto, controller, didm, snbi; see also centinel, dlux, toolkit, tsdr -->
+    <!-- Used by controller, didm, snbi; see also centinel, dlux, toolkit -->
+    <!-- Removed in didm: https://git.opendaylight.org/gerrit/38218 -->
     <osgi.core.version>5.0.0</osgi.core.version>
-    <!-- Used by persistence, snmp4sdn; see also affinity, toolkit -->
+    <!-- Used by persistence; see also affinity, toolkit -->
+    <!-- Removed in persistence: https://git.opendaylight.org/gerrit/31285 -->
     <slf4j.version>1.7.12</slf4j.version>
 
-    <akka.version>2.4.3</akka.version>
+    <akka.version>2.4.4</akka.version>
     <scala.version>2.11</scala.version>
     <scala.micro.version>8</scala.micro.version>
     <leveldb.version>0.7</leveldb.version>
       <dependency>
         <groupId>ch.qos.logback</groupId>
         <artifactId>logback-core</artifactId>
-        <version>${logback.version}</version>
+        <version>1.1.3</version>
       </dependency>
       <dependency>
         <groupId>ch.qos.logback</groupId>
         <artifactId>logback-classic</artifactId>
-        <version>${logback.version}</version>
+        <version>1.1.3</version>
       </dependency>
       <dependency>
         <groupId>com.google.guava</groupId>
       <dependency>
         <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
         <artifactId>jersey-guava</artifactId>
-        <version>2.8</version>
+        <version>2.22.2</version>
+      </dependency>
+      <dependency>
+        <groupId>org.glassfish</groupId>
+        <artifactId>javax.json</artifactId>
+        <version>1.0.4</version>
       </dependency>
       <dependency>
         <groupId>com.eclipsesource.jaxrs</groupId>
         <artifactId>jersey-all</artifactId>
-        <version>2.8</version>
+        <version>2.22.2</version>
       </dependency>
 
       <!-- servlet 3.x support -->
         <artifactId>json</artifactId>
         <version>20090211_1</version>
       </dependency>
-      <!-- FIXME : remove all dependencies for jersey 1.7 -->
+      <!-- FIXME : remove all dependencies for jersey 1.17 -->
       <dependency>
         <groupId>com.sun.jersey</groupId>
         <artifactId>jersey-core</artifactId>
         <version>${jersey.version}</version>
         <scope>test</scope>
       </dependency>
+      <dependency>
+        <groupId>com.sun.jersey.jersey-test-framework</groupId>
+        <artifactId>jersey-test-framework-inmemory</artifactId>
+        <version>${jersey.version}</version>
+        <scope>test</scope>
+      </dependency>
       <dependency>
         <groupId>com.sun.jersey</groupId>
         <artifactId>jersey-client</artifactId>
       <dependency>
         <groupId>org.opendaylight.controller.thirdparty</groupId>
         <artifactId>com.sun.jersey.jersey-servlet</artifactId>
-        <version>1.17</version>
+        <version>${jersey.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.shiro</groupId>
       <dependency>
         <groupId>com.fasterxml.jackson.core</groupId>
         <artifactId>jackson-annotations</artifactId>
-        <version>${jackson.version}</version>
+        <version>2.3.2</version>
       </dependency>
       <dependency>
         <groupId>com.fasterxml.jackson.core</groupId>
         <artifactId>jackson-core</artifactId>
-        <version>${jackson.version}</version>
+        <version>2.3.2</version>
       </dependency>
       <dependency>
         <groupId>com.fasterxml.jackson.core</groupId>
         <artifactId>jackson-databind</artifactId>
-        <version>${jackson.version}</version>
+        <version>2.3.2</version>
       </dependency>
       <dependency>
         <groupId>com.fasterxml.jackson.datatype</groupId>
         <artifactId>jackson-datatype-json-org</artifactId>
-        <version>${jackson.version}</version>
+        <version>2.3.2</version>
       </dependency>
       <!-- TODO do we really need resteasy ? -->
       <dependency>
           <groupId>org.jboss.resteasy</groupId>
           <artifactId>jaxrs-api</artifactId>
-          <version>3.0.4.Final</version>
+          <version>3.0.12.Final</version>
       </dependency>
 
       <dependency>
         <groupId>com.fasterxml.jackson.jaxrs</groupId>
         <artifactId>jackson-jaxrs-base</artifactId>
-        <version>${jackson.version}</version>
+        <version>2.3.2</version>
       </dependency>
       <dependency>
         <groupId>com.fasterxml.jackson.jaxrs</groupId>
         <artifactId>jackson-jaxrs-json-provider</artifactId>
-        <version>${jackson.version}</version>
+        <version>2.3.2</version>
       </dependency>
       <dependency>
         <groupId>com.fasterxml.jackson.module</groupId>
         <artifactId>jackson-module-jaxb-annotations</artifactId>
-        <version>${jackson.version}</version>
+        <version>2.3.2</version>
       </dependency>
       <dependency>
         <groupId>com.sun.xml.txw2</groupId>
         <artifactId>netty-transport</artifactId>
         <version>4.0.36.Final</version>
       </dependency>
+      <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
+      platform and we can't require the build platform to have an implementation (e.g. OS X) -->
       <dependency>
         <groupId>io.netty</groupId>
         <artifactId>netty-transport-native-epoll</artifactId>
+        <classifier>linux-x86_64</classifier>
         <version>4.0.36.Final</version>
-        <classifier>${os.detected.classifier}</classifier>
       </dependency>
       <dependency>
         <groupId>javax.ws.rs</groupId>
         <artifactId>org.apache.felix.fileinstall</artifactId>
         <version>3.1.6</version>
       </dependency>
+      <dependency>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>org.apache.felix.metatype</artifactId>
+        <version>1.1.2</version>
+      </dependency>
       <!-- felix webconsole -->
       <dependency>
         <groupId>org.apache.felix</groupId>
       <dependency>
         <groupId>org.javassist</groupId>
         <artifactId>javassist</artifactId>
-        <version>${javassist.version}</version>
+        <version>3.20.0-GA</version>
       </dependency>
       <dependency>
         <groupId>org.jboss.spec.javax.transaction</groupId>
         <groupId>com.lmax</groupId>
         <artifactId>disruptor</artifactId>
         <!-- If this is updated, the version in features.xml needs to be changed too -->
-        <version>3.3.2</version>
+        <version>3.3.4</version>
       </dependency>
 
       <!-- Add Pax Exam -->
   </dependencyManagement>
 
   <build>
-    <extensions>
-      <extension>
-        <groupId>kr.motd.maven</groupId>
-        <artifactId>os-maven-plugin</artifactId>
-        <version>1.5.0.Final</version>
-      </extension>
-    </extensions>
-
     <pluginManagement>
       <plugins>
         <!-- Official maven plugins, alpha-sorted by artifactId.
               <phase>process-sources</phase>
               <configuration>
                 <configLocation>check-license.xml</configLocation>
+                <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
                 <includeResources>false</includeResources>
                 <includeTestResources>false</includeTestResources>
                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
                     <execute/>
                   </action>
                 </pluginExecution>
+                <pluginExecution>
+                  <pluginExecutionFilter>
+                    <groupId>org.jacoco</groupId>
+                    <artifactId>jacoco-maven-plugin</artifactId>
+                    <versionRange>[0.7.0,)</versionRange>
+                    <goals>
+                      <goal>prepare-agent</goal>
+                      <goal>report</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore/>
+                  </action>
+                </pluginExecution>
               </pluginExecutions>
             </lifecycleMappingMetadata>
           </configuration>