Merge "API to getdpn list for a given vpn"
[vpnservice.git] / commons / config-parent / pom.xml
index 98a1c10aa2367b7529f87c2c1d3fb42b78682b30..f7beac5b1ad8b94b0d1f949b3ae2ea82eeb3714c 100644 (file)
@@ -18,12 +18,13 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.opendaylight.vpnservice</groupId>
   <artifactId>config-parent</artifactId>
-  <version>0.0.1-SNAPSHOT</version>
+  <version>0.1.0-SNAPSHOT</version>
   <packaging>pom</packaging>
 
   <properties>
     <!-- ODL -->
-    <vpnservices.version>0.0.1-SNAPSHOT</vpnservices.version>
+    <vpnservices.version>0.1.0-SNAPSHOT</vpnservices.version>
+    <jacoco.version>0.7.2.201409121644</jacoco.version>
     <ietf.inet.types.version>2010.09.24.7-SNAPSHOT</ietf.inet.types.version>
     <ietf.yang.types.version>2010.09.24.7-SNAPSHOT</ietf.yang.types.version>
     <ietf.interfaces.version>2014.05.08.7-SNAPSHOT</ietf.interfaces.version>
@@ -31,8 +32,9 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
     <yang.ext.version>2013.09.07.7-SNAPSHOT</yang.ext.version>
     <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
     <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
-    <vpns.mdsalutil.version>0.0.1-SNAPSHOT</vpns.mdsalutil.version>
+    <vpns.mdsalutil.version>0.1.0-SNAPSHOT</vpns.mdsalutil.version>
     <model.bgp.version>2013.07.15.7-SNAPSHOT</model.bgp.version>
+    <openflowplugin.version>0.1.0-SNAPSHOT</openflowplugin.version>
   </properties>
 
   <dependencies>
@@ -55,15 +57,47 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
+          <executions>
+            <execution>
+              <phase>process-sources</phase>
+              <goals>
+                <goal>check</goal>
+              </goals>
+            </execution>
+          </executions>
         <configuration>
           <configLocation>
             ${project.basedir}/../../commons/src/main/resources/vpns_checks.xml
           </configLocation>
           <failsOnError>true</failsOnError>
           <includes>**/*.java,**/*.xml,**/*.ini,**/*.sh,**/*.bat</includes>
-          <excludes>**/yang/</excludes>
+          <excludes>**\/target\/,**\/bin\/,**\/third-party,**\/yang-gen-sal</excludes>
         </configuration>
       </plugin>
+     <plugin>
+       <groupId>org.jacoco</groupId>
+       <artifactId>jacoco-maven-plugin</artifactId>
+       <configuration>
+         <includes>
+           <include>org.opendaylight.vpnservice.*</include>
+         </includes>
+       </configuration>
+       <executions>
+         <execution>
+           <id>pre-test</id>
+           <goals>
+             <goal>prepare-agent</goal>
+           </goals>
+         </execution>
+         <execution>
+           <id>post-test</id>
+           <goals>
+             <goal>report</goal>
+           </goals>
+           <phase>test</phase>
+         </execution>
+       </executions>
+     </plugin>
     </plugins>
   </build>