Use serviceutils artifacts
[netvirt.git] / commons / binding-parent / pom.xml
index 506eaa640d255fbfb1dbe8a8545c16b733f07f49..aadd21ebecf60578cca70abf88f4f6113328ca87 100644 (file)
@@ -6,13 +6,12 @@ This program and the accompanying materials are made available under the
 terms of the Eclipse Public License v1.0 which accompanies this distribution,
 and is available at http://www.eclipse.org/legal/epl-v10.html
 -->
-<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/xsd/maven-4.0.0.xsd">
+<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/xsd/maven-4.0.0.xsd">
 
   <parent>
     <groupId>org.opendaylight.mdsal</groupId>
     <artifactId>binding-parent</artifactId>
-    <version>0.13.0-SNAPSHOT</version>
+    <version>3.0.2</version>
     <relativePath/>
   </parent>
 
@@ -20,17 +19,18 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   <groupId>org.opendaylight.netvirt</groupId>
   <artifactId>binding-parent</artifactId>
   <name>ODL :: netvirt :: ${project.artifactId}</name>
-  <version>0.7.0-SNAPSHOT</version>
+  <version>0.8.0-SNAPSHOT</version>
   <packaging>pom</packaging>
 
   <properties>
-    <controller.mdsal.version>1.8.0-SNAPSHOT</controller.mdsal.version>
-    <genius.version>0.5.0-SNAPSHOT</genius.version>
-    <infrautils.version>1.4.0-SNAPSHOT</infrautils.version>
-    <model.bgp.version>2013.07.15.13.0-SNAPSHOT</model.bgp.version>
-    <neutron.version>0.11.0-SNAPSHOT</neutron.version>
-    <openflowplugin.version>0.7.0-SNAPSHOT</openflowplugin.version>
-    <ovsdb.version>1.7.0-SNAPSHOT</ovsdb.version>
+    <controller.mdsal.version>1.9.0-SNAPSHOT</controller.mdsal.version>
+    <genius.version>0.6.0-SNAPSHOT</genius.version>
+    <infrautils.version>1.5.0-SNAPSHOT</infrautils.version>
+    <model.bgp.version>2013.07.15.14.0-SNAPSHOT</model.bgp.version>
+    <neutron.version>0.12.0-SNAPSHOT</neutron.version>
+    <openflowplugin.version>0.8.0-SNAPSHOT</openflowplugin.version>
+    <ovsdb.version>1.8.0-SNAPSHOT</ovsdb.version>
+    <serviceutils.version>0.3.0-SNAPSHOT</serviceutils.version>
   </properties>
 
   <dependencyManagement>
@@ -42,6 +42,13 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         <type>pom</type>
         <scope>import</scope>
       </dependency>
+      <dependency>
+        <groupId>org.opendaylight.serviceutils</groupId>
+        <artifactId>serviceutils-artifacts</artifactId>
+        <version>${serviceutils.version}</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
     </dependencies>
   </dependencyManagement>
 
@@ -62,31 +69,44 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   <build>
     <pluginManagement>
       <plugins>
-      <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
+        <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
         <plugin>
           <!-- Support Blueprint XML construction using annotations -->
           <groupId>org.apache.aries.blueprint</groupId>
           <artifactId>blueprint-maven-plugin</artifactId>
-          <version>1.4.0</version>
           <configuration>
             <scanPaths>
               <scanPath>org.opendaylight.netvirt</scanPath>
             </scanPaths>
           </configuration>
+        </plugin>
+        <plugin>
+          <artifactId>maven-checkstyle-plugin</artifactId>
           <dependencies>
             <dependency>
-              <!-- See https://issues.apache.org/jira/browse/ARIES-1596 -->
-              <!-- This shouldn't be necessary with plugin version 1.5.0 -->
-              <groupId>org.apache.xbean</groupId>
-              <artifactId>xbean-finder-shaded</artifactId>
-              <version>4.5</version>
+              <groupId>org.opendaylight.netvirt</groupId>
+              <artifactId>checkstyle</artifactId>
+              <version>0.8.0-SNAPSHOT</version>
             </dependency>
           </dependencies>
           <executions>
             <execution>
+              <id>check-databroker</id>
               <goals>
-                <goal>blueprint-generate</goal>
+                <goal>check</goal>
               </goals>
+              <phase>process-sources</phase>
+              <configuration>
+                <configLocation>databroker-checks.xml</configLocation>
+                <includeResources>false</includeResources>
+                <includeTestSourceDirectory>false</includeTestSourceDirectory>
+                <includeTestResources>false</includeTestResources>
+                <sourceDirectories>
+                  <directory>${project.build.sourceDirectory}</directory>
+                </sourceDirectories>
+                <failsOnError>true</failsOnError>
+                <consoleOutput>true</consoleOutput>
+              </configuration>
             </execution>
           </executions>
         </plugin>
@@ -103,13 +123,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>findbugs-maven-plugin</artifactId>
-        <dependencies>
-          <dependency>
-            <groupId>org.opendaylight.odlparent</groupId>
-            <artifactId>findbugs</artifactId>
-            <version>3.0.3-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
         <configuration>
           <plugins>
             <plugin>