57713cf61c82b52ba2d9859a36b128b9af3e8f24
[ovsdb.git] / integrationtest / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (C) 2014 Red Hat, Inc. and others. All rights reserved.
4
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
8 -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0"
10          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12   <modelVersion>4.0.0</modelVersion>
13
14   <parent>
15     <groupId>org.opendaylight.ovsdb</groupId>
16     <artifactId>commons.integrationtest</artifactId>
17     <version>1.3.0-SNAPSHOT</version>
18     <relativePath>../commons/integrationtest</relativePath>
19   </parent>
20
21   <artifactId>integrationtest</artifactId>
22   <version>1.3.0-SNAPSHOT</version>
23   <packaging>jar</packaging>
24   <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>
25   <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
26   <licenses>
27     <license>
28       <name>Eclipse Public License v1.0</name>
29       <url>http://www.eclipse.org/legal/epl-v10.html</url>
30     </license>
31   </licenses>
32   <developers>
33     <developer>
34       <name>Sam Hague</name>
35       <email>shague@gmail.com</email>
36       <url>https://github.com/shague</url>
37     </developer>
38   </developers>
39   <scm>
40     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
41     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
42     <tag>HEAD</tag>
43     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
44   </scm>
45
46   <dependencies>
47     <dependency>
48       <groupId>org.yaml</groupId>
49       <artifactId>snakeyaml</artifactId>
50     </dependency>
51     <dependency>
52       <groupId>org.mockito</groupId>
53       <artifactId>mockito-all</artifactId>
54       <scope>test</scope>
55     </dependency>
56
57     <!-- Cache surefire in Maven Local repo for offline builds -->
58     <dependency>
59       <groupId>org.apache.maven.surefire</groupId>
60       <artifactId>surefire-junit4</artifactId>
61       <version>${maven.surefire.version}</version>
62     </dependency>
63     <dependency>
64       <groupId>org.apache.maven.surefire</groupId>
65       <artifactId>surefire-junit47</artifactId>
66       <version>${maven.surefire.version}</version>
67     </dependency>
68   </dependencies>
69   <build>
70     <pluginManagement>
71       <plugins>
72         <plugin>
73           <groupId>org.eclipse.m2e</groupId>
74           <artifactId>lifecycle-mapping</artifactId>
75           <version>${lifecycle.mapping.version}</version>
76           <configuration>
77             <lifecycleMappingMetadata>
78               <pluginExecutions>
79                 <pluginExecution>
80                   <pluginExecutionFilter>
81                     <groupId>org.apache.servicemix.tooling</groupId>
82                     <artifactId>depends-maven-plugin</artifactId>
83                     <versionRange>[0,)</versionRange>
84                     <goals>
85                       <goal>generate-depends-file</goal>
86                     </goals>
87                   </pluginExecutionFilter>
88                   <action>
89                     <ignore/>
90                   </action>
91                 </pluginExecution>
92               </pluginExecutions>
93             </lifecycleMappingMetadata>
94           </configuration>
95         </plugin>
96       </plugins>
97     </pluginManagement>
98     <plugins>
99       <plugin>
100         <groupId>org.apache.servicemix.tooling</groupId>
101         <artifactId>depends-maven-plugin</artifactId>
102         <version>1.2</version>
103         <executions>
104           <execution>
105             <id>generate-depends-file</id>
106             <goals>
107               <goal>generate-depends-file</goal>
108             </goals>
109           </execution>
110         </executions>
111       </plugin>
112       <plugin>
113         <groupId>org.apache.maven.plugins</groupId>
114         <artifactId>maven-checkstyle-plugin</artifactId>
115       </plugin>
116       <plugin>
117         <groupId>org.jacoco</groupId>
118         <artifactId>jacoco-maven-plugin</artifactId>
119       </plugin>
120       <plugin>
121         <groupId>org.apache.maven.plugins</groupId>
122         <artifactId>maven-failsafe-plugin</artifactId>
123         <version>${failsafe.version}</version>
124         <executions>
125           <execution>
126             <id>failsafe-integration-tests</id>
127             <phase>integration-test</phase>
128             <goals>
129               <goal>integration-test</goal>
130             </goals>
131             <configuration>
132               <forkCount>1</forkCount>
133               <reuseForks>false</reuseForks>
134               <parallel>none</parallel>
135               <threadCount>1</threadCount>
136               <excludes>
137                 <exclude>**/NetVirtIT.java</exclude>
138               </excludes>
139             </configuration>
140           </execution>
141         </executions>
142       </plugin>
143     </plugins>
144   </build>
145   <profiles>
146     <profile>
147       <id>default</id>
148       <activation>
149         <activeByDefault>true</activeByDefault>
150       </activation>
151       <dependencies>
152         <dependency>
153           <groupId>org.ops4j.pax.exam</groupId>
154           <artifactId>pax-exam-container-native</artifactId>
155         </dependency>
156         <dependency>
157           <groupId>org.ops4j.pax.exam</groupId>
158           <artifactId>pax-exam-container-karaf</artifactId>
159           <scope>compile</scope>
160         </dependency>
161       </dependencies>
162       <build>
163         <plugins>
164           <plugin>
165             <groupId>org.apache.maven.plugins</groupId>
166             <artifactId>maven-failsafe-plugin</artifactId>
167             <version>${failsafe.version}</version>
168             <configuration>
169             </configuration>
170             <executions>
171               <execution>
172                 <id>failsafe-integration-tests</id>
173                 <phase>integration-test</phase>
174                 <goals>
175                   <goal>integration-test</goal>
176                 </goals>
177                 <configuration>
178                   <classpathDependencyExcludes>
179                     <classpathDependencyExcludes>org.ops4j.pax.exam:pax-exam-container-karaf</classpathDependencyExcludes>
180                   </classpathDependencyExcludes>
181                 </configuration>
182               </execution>
183             </executions>
184           </plugin>
185         </plugins>
186       </build>
187     </profile>
188     <profile>
189       <id>karafit</id>
190       <activation>
191         <activeByDefault>false</activeByDefault>
192       </activation>
193       <dependencies>
194         <dependency>
195           <groupId>org.ops4j.pax.exam</groupId>
196           <artifactId>pax-exam-container-karaf</artifactId>
197         </dependency>
198       </dependencies>
199     </profile>
200   </profiles>
201 </project>