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>southbound-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>southbound-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>southbound-features</artifactId>
85 <classifier>features</classifier>
89 <groupId>org.opendaylight.controller</groupId>
90 <artifactId>config-util</artifactId>
92 <!-- Dependencies for pax exam karaf container -->
94 <groupId>org.ops4j.pax.exam</groupId>
95 <artifactId>pax-exam-container-karaf</artifactId>
96 <scope>compile</scope>
99 <groupId>org.ops4j.pax.exam</groupId>
100 <artifactId>pax-exam-junit4</artifactId>
101 <scope>compile</scope>
104 <groupId>org.ops4j.pax.exam</groupId>
105 <artifactId>pax-exam</artifactId>
106 <scope>compile</scope>
109 <groupId>org.ops4j.pax.url</groupId>
110 <artifactId>pax-url-aether</artifactId>
111 <scope>compile</scope>
114 <groupId>javax.inject</groupId>
115 <artifactId>javax.inject</artifactId>
117 <scope>compile</scope>
120 <groupId>org.apache.karaf.features</groupId>
121 <artifactId>org.apache.karaf.features.core</artifactId>
122 <version>${karaf.version}</version>
123 <scope>compile</scope>
126 <groupId>org.osgi</groupId>
127 <artifactId>org.osgi.core</artifactId>
128 <scope>compile</scope>
131 <groupId>junit</groupId>
132 <artifactId>junit</artifactId>
133 <scope>compile</scope>
136 <groupId>org.slf4j</groupId>
137 <artifactId>slf4j-simple</artifactId>
141 <groupId>org.codehaus.sonar-plugins.java</groupId>
142 <artifactId>sonar-jacoco-listeners</artifactId>
143 <version>${sonar-jacoco-listeners.version}</version>
146 <!-- AbstractConfigTestBase::getKarafDistro() needs this to find its version -->
148 <groupId>org.opendaylight.ovsdb</groupId>
149 <artifactId>southbound-karaf</artifactId>
150 <version>${project.version}</version>
157 <groupId>org.apache.maven.plugins</groupId>
158 <artifactId>maven-failsafe-plugin</artifactId>
160 <!-- Specific to generate mapping between tests and covered code -->
161 <!--<argLine>${jacoco.agent.it.arg}</argLine>-->
164 <name>listener</name>
165 <value>org.sonar.java.jacoco.JUnitListener</value>
168 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
169 <!--<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>-->
174 <goal>integration-test</goal>
178 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
179 <skipTests>${skip.integrationtest}</skipTests>
185 <groupId>org.apache.maven.plugins</groupId>
186 <artifactId>maven-surefire-plugin</artifactId>
188 <!-- Specific to generate mapping between tests and covered code -->
189 <!--<argLine>${jacoco.agent.ut.arg}</argLine>-->
192 <name>listener</name>
193 <value>org.sonar.java.jacoco.JUnitListener</value>
196 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
197 <!--<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>-->
200 <!-- Needed if you use versionAsInProject() -->
202 <groupId>org.apache.servicemix.tooling</groupId>
203 <artifactId>depends-maven-plugin</artifactId>
204 <version>1.2</version>
207 <id>generate-depends-file</id>
209 <goal>generate-depends-file</goal>
215 <groupId>org.apache.maven.plugins</groupId>
216 <artifactId>maven-checkstyle-plugin</artifactId>
219 ${project.basedir}/../../commons/parent/src/main/resources/ovsdb_checks.xml
221 <includeTestSourceDirectory>true</includeTestSourceDirectory>
222 <failsOnError>true</failsOnError>
223 <includes>**/*.java,**/*.xml,**/*.ini,**/*.sh,**/*.bat</includes>
224 <excludes>**/yang/</excludes>
228 <groupId>org.jacoco</groupId>
229 <artifactId>jacoco-maven-plugin</artifactId>
232 <id>prepare-ut-agent</id>
234 <goal>prepare-agent</goal>
237 <destFile>${sonar.jacoco.reportPath}</destFile>
241 <id>prepare-it-agent</id>
243 <goal>prepare-agent-integration</goal>
246 <destFile>${sonar.jacoco.itReportPath}</destFile>
250 <id>default-report</id>
255 <dataFile>${sonar.jacoco.reportPath}</dataFile>
259 <id>default-report-integration</id>
261 <goal>report-integration</goal>
264 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
275 <activeByDefault>true</activeByDefault>
278 <skipITs>true</skipITs>
282 <id>integrationtest</id>
284 <activeByDefault>false</activeByDefault>
287 <skipITs>false</skipITs>