Fix FindBugs violations and enable enforcement in qosservice
[netvirt.git] / vpnservice / qosservice / impl / pom.xml
index 8914d88f43d5870f5fbb91d7ac4e3df9eadb4321..9e19f083bd6333648bcc2be0d9a58adda89e8362 100644 (file)
@@ -10,9 +10,9 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
 
     <parent>
         <groupId>org.opendaylight.netvirt</groupId>
-        <artifactId>config-parent</artifactId>
-        <version>0.5.0-SNAPSHOT</version>
-        <relativePath>../../commons/config-parent</relativePath>
+        <artifactId>binding-parent</artifactId>
+        <version>0.6.0-SNAPSHOT</version>
+        <relativePath>../../commons/binding-parent</relativePath>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
@@ -33,12 +33,12 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         <dependency>
             <groupId>org.opendaylight.ovsdb</groupId>
             <artifactId>utils.southbound-utils</artifactId>
-            <version>1.5.0-SNAPSHOT</version>
+            <version>${ovsdb.version}</version>
         </dependency>
         <dependency>
-            <groupId>org.opendaylight.netvirt</groupId>
+            <groupId>${project.groupId}</groupId>
             <artifactId>neutronvpn-api</artifactId>
-            <version>0.5.0-SNAPSHOT</version>
+            <version>${project.version}</version>
         </dependency>
         <dependency>
             <groupId>com.google.truth</groupId>
@@ -48,7 +48,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         <dependency>
             <groupId>${project.groupId}</groupId>
             <artifactId>qosservice-api</artifactId>
-            <version>${vpnservices.version}</version>
+            <version>${project.version}</version>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.infrautils</groupId>
@@ -60,7 +60,11 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
             <artifactId>org.apache.karaf.shell.console</artifactId>
             <scope>provided</scope>
         </dependency>
-
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.apache.felix.configadmin</artifactId>
+            <version>1.8.14</version>
+        </dependency>
     </dependencies>
 
 
@@ -79,10 +83,15 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
               <configuration>
                 <artifacts>
                   <artifact>
-                    <file>${project.build.directory}/classes/initial/netvirt-qosalert-config.xml</file>
+                    <file>${project.build.directory}/classes/initial/netvirt-qosservice-config.xml</file>
                     <type>xml</type>
                     <classifier>config</classifier>
                   </artifact>
+                  <artifact>
+                    <file>${project.build.directory}/classes/initial/qosservice.cfg</file>
+                    <type>cfg</type>
+                    <classifier>config</classifier>
+                  </artifact>
                 </artifacts>
               </configuration>
             </execution>
@@ -107,6 +116,13 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
             </instructions>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>findbugs-maven-plugin</artifactId>
+          <configuration>
+            <failOnError>true</failOnError>
+          </configuration>
+        </plugin>
       </plugins>
     </build>