<properties>
<!-- ODL -->
<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>
<mdsal.version>1.2.0-SNAPSHOT</mdsal.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>
<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>