1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: --><!--
3 Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
9 <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">
12 <groupId>org.opendaylight.controller</groupId>
13 <artifactId>mdsal-it-parent</artifactId>
14 <version>1.3.0-SNAPSHOT</version>
17 <modelVersion>4.0.0</modelVersion>
18 <groupId>org.opendaylight.ovsdb</groupId>
19 <artifactId>openstack.net-virt-it</artifactId>
20 <version>1.2.1-SNAPSHOT</version>
21 <packaging>jar</packaging>
22 <description>The OVSDB Plugin integration project is a project for OpenDaylight that will implement the Open vSwitch Database RFC 7047 management protocol allowing the Southbound configuration of vSwitches and a network virtualization implementation.</description>
23 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
26 <name>Eclipse Public License v1.0</name>
27 <url>http://www.eclipse.org/legal/epl-v10.html</url>
32 <name>Sam Hague</name>
33 <email>shague@gmail.com</email>
34 <url>https://github.com/shague</url>
38 <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
39 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
41 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
44 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
45 <root.directory>${env.PWD}</root.directory>
46 <sonar.jacoco.itReportPath>${root.directory}/target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
48 <dependencyManagement>
51 <groupId>${project.groupId}</groupId>
52 <artifactId>ovsdb-artifacts</artifactId>
53 <version>${project.version}</version>
58 <groupId>org.opendaylight.controller</groupId>
59 <artifactId>config-artifacts</artifactId>
60 <version>0.4.0-SNAPSHOT</version>
65 <groupId>org.opendaylight.controller</groupId>
66 <artifactId>mdsal-artifacts</artifactId>
67 <version>${mdsal.version}</version>
72 </dependencyManagement>
75 <groupId>org.opendaylight.controller</groupId>
76 <artifactId>sal-binding-api</artifactId>
79 <groupId>org.opendaylight.controller</groupId>
80 <artifactId>sal-common-api</artifactId>
83 <groupId>${project.groupId}</groupId>
84 <artifactId>features-ovsdb</artifactId>
85 <version>1.2.1-SNAPSHOT</version>
86 <classifier>features</classifier>
90 <groupId>org.opendaylight.controller</groupId>
91 <artifactId>config-util</artifactId>
93 <!-- Dependencies for pax exam karaf container -->
95 <groupId>org.ops4j.pax.exam</groupId>
96 <artifactId>pax-exam-container-karaf</artifactId>
97 <scope>compile</scope>
100 <groupId>org.ops4j.pax.exam</groupId>
101 <artifactId>pax-exam-junit4</artifactId>
102 <scope>compile</scope>
105 <groupId>org.ops4j.pax.exam</groupId>
106 <artifactId>pax-exam</artifactId>
107 <scope>compile</scope>
110 <groupId>org.ops4j.pax.url</groupId>
111 <artifactId>pax-url-aether</artifactId>
112 <scope>compile</scope>
115 <groupId>javax.inject</groupId>
116 <artifactId>javax.inject</artifactId>
118 <scope>compile</scope>
121 <groupId>org.apache.karaf.features</groupId>
122 <artifactId>org.apache.karaf.features.core</artifactId>
123 <version>${karaf.version}</version>
124 <scope>compile</scope>
127 <groupId>org.osgi</groupId>
128 <artifactId>org.osgi.core</artifactId>
129 <scope>compile</scope>
132 <groupId>junit</groupId>
133 <artifactId>junit</artifactId>
134 <scope>compile</scope>
137 <groupId>org.codehaus.sonar-plugins.java</groupId>
138 <artifactId>sonar-jacoco-listeners</artifactId>
139 <version>${sonar-jacoco-listeners.version}</version>
142 <!-- AbstractConfigTestBase::getKarafDistro() needs this to find its version -->
144 <groupId>org.opendaylight.ovsdb</groupId>
145 <artifactId>karaf</artifactId>
146 <version>${project.version}</version>
153 <groupId>org.apache.maven.plugins</groupId>
154 <artifactId>maven-failsafe-plugin</artifactId>
156 <!-- Specific to generate mapping between tests and covered code -->
157 <!--<argLine>${jacoco.agent.it.arg}</argLine>-->
160 <name>listener</name>
161 <value>org.sonar.java.jacoco.JUnitListener</value>
164 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
165 <!--<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>-->
170 <goal>integration-test</goal>
174 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
175 <skipTests>${skip.integrationtest}</skipTests>
180 <!-- Needed if you use versionAsInProject() -->
182 <groupId>org.apache.servicemix.tooling</groupId>
183 <artifactId>depends-maven-plugin</artifactId>
184 <version>1.2</version>
187 <id>generate-depends-file</id>
189 <goal>generate-depends-file</goal>
195 <groupId>org.apache.maven.plugins</groupId>
196 <artifactId>maven-checkstyle-plugin</artifactId>
199 ${project.basedir}/../../commons/parent/src/main/resources/ovsdb_checks.xml
201 <includeTestSourceDirectory>true</includeTestSourceDirectory>
202 <failsOnError>true</failsOnError>
203 <includes>**/*.java,**/*.xml,**/*.ini,**/*.sh,**/*.bat</includes>
204 <excludes>**/yang/</excludes>
208 <groupId>org.jacoco</groupId>
209 <artifactId>jacoco-maven-plugin</artifactId>
212 <id>prepare-ut-agent</id>
214 <goal>prepare-agent</goal>
217 <destFile>${sonar.jacoco.reportPath}</destFile>
221 <id>prepare-it-agent</id>
223 <goal>prepare-agent-integration</goal>
226 <append>true</append>
227 <destFile>${sonar.jacoco.itReportPath}</destFile>
231 <id>default-report</id>
236 <dataFile>${sonar.jacoco.reportPath}</dataFile>
240 <id>default-report-integration</id>
242 <goal>report-integration</goal>
245 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
251 <groupId>org.apache.maven.plugins</groupId>
252 <artifactId>maven-surefire-plugin</artifactId>
254 <!-- Specific to generate mapping between tests and covered code -->
255 <!--<argLine>${jacoco.agent.ut.arg}</argLine>-->
258 <name>listener</name>
259 <value>org.sonar.java.jacoco.JUnitListener</value>
262 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
263 <!--<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>-->
272 <activeByDefault>true</activeByDefault>
275 <skipITs>true</skipITs>
279 <id>integrationtest</id>
281 <activeByDefault>false</activeByDefault>
284 <skipITs>false</skipITs>