BUG 4869: Unify lmax versions in ODL. 76/33776/2
authorTony Tkacik <ttkacik@cisco.com>
Fri, 29 Jan 2016 09:16:59 +0000 (10:16 +0100)
committerStephen Kitt <skitt@redhat.com>
Fri, 29 Jan 2016 13:57:35 +0000 (13:57 +0000)
- added lmax disruptor to dependency management
- introduced odl-lmax feature

Change-Id: I631ef892d155c860d9afabfab0b4fe6c13f786b3
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
(cherry picked from commit f0ad6aab8182a3d67e9208269a9ca8f3e71e2bb2)

features-odlparent/pom.xml
features-odlparent/src/main/features/features.xml
odlparent/pom.xml

index ce2efa585694fccd455f6c5f9bbddfc5f6533eb2..7aac84b979d3d0612a308c48a1ee9de32cd8c846 100644 (file)
             <groupId>com.google.guava</groupId>
             <artifactId>guava</artifactId>
         </dependency>
+
+        <!-- odl-lmax -->
+        <dependency>
+            <groupId>com.lmax</groupId>
+            <artifactId>disruptor</artifactId>
+        </dependency>
     </dependencies>
 </project>
index a4ba92428a7ee63e104c49694f2ab172c5c0d7bb..4d3651e60a8b60c8bfeca7724d1cda3dc45f5344 100644 (file)
@@ -14,4 +14,7 @@
     <feature name="odl-guava" description="OpenDaylight :: Guava" version="${guava.version}">
         <bundle>mvn:com.google.guava/guava/{{VERSION}}</bundle>
     </feature>
+    <feature name="odl-lmax" description="OpenDaylight :: LMAX Disruptor" version="${lmax.version}">
+        <bundle>mvn:com.lmax/disruptor/{{VERSION}}</bundle>
+    </feature>
 </features>
index ab1ce49dd4850b878112a8b1ad180dfecf02299a..a2ca20bbe42274b3f4a820f7ba1cf37f39ecd6d3 100644 (file)
     <gson.version>2.3.1</gson.version>
     <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
     <guava.version>18.0</guava.version>
+    <!-- LMAX Disruptor version -->
+    <lmax.version>3.3.2</lmax.version>
     <!-- Used by lispflowmapping, sxp, vtn/manager -->
     <hamcrest.version>1.3</hamcrest.version>
     <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all, integration/distribution, snmp4sdn, toolkit, ttp -->
 
   <dependencyManagement>
     <dependencies>
+
+      <dependency>
+        <groupId>org.opendaylight.odlparent</groupId>
+        <artifactId>odlparent-artifacts</artifactId>
+        <version>1.7.0-SNAPSHOT</version>
+        <scope>import</scope>
+        <type>pom</type>
+      </dependency>
+
       <!-- Testing Dependencies -->
       <dependency>
         <groupId>junit</groupId>
         <version>1.2.1</version>
       </dependency>
 
+      <!-- LMAX Disruptor -->
+      <dependency>
+        <groupId>com.lmax</groupId>
+        <artifactId>disruptor</artifactId>
+        <version>${lmax.version}</version>
+      </dependency>
+
       <!-- Add Pax Exam -->
       <dependency>
         <groupId>org.ops4j.pax.exam</groupId>