2ec4668e2eca60ba09060b23d30a04780af2a1f9
[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     <dependency>
57       <groupId>org.opendaylight.controller</groupId>
58       <artifactId>sal-binding-it</artifactId>
59       <scope>test</scope>
60       <exclusions>
61         <exclusion>
62           <groupId>org.ops4j.pax.exam</groupId>
63           <artifactId>pax-exam-container-native</artifactId>
64         </exclusion>
65       </exclusions>
66     </dependency>
67     <dependency>
68       <groupId>org.opendaylight.controller</groupId>
69       <artifactId>sal-binding-broker-impl</artifactId>
70       <scope>test</scope>
71     </dependency>
72
73     <!-- Cache surefire in Maven Local repo for offline builds -->
74     <dependency>
75       <groupId>org.apache.maven.surefire</groupId>
76       <artifactId>surefire-junit4</artifactId>
77       <version>${maven.surefire.version}</version>
78     </dependency>
79     <dependency>
80       <groupId>org.apache.maven.surefire</groupId>
81       <artifactId>surefire-junit47</artifactId>
82       <version>${maven.surefire.version}</version>
83     </dependency>
84   </dependencies>
85   <build>
86     <pluginManagement>
87       <plugins>
88         <plugin>
89           <groupId>org.eclipse.m2e</groupId>
90           <artifactId>lifecycle-mapping</artifactId>
91           <version>${lifecycle.mapping.version}</version>
92           <configuration>
93             <lifecycleMappingMetadata>
94               <pluginExecutions>
95                 <pluginExecution>
96                   <pluginExecutionFilter>
97                     <groupId>org.apache.servicemix.tooling</groupId>
98                     <artifactId>depends-maven-plugin</artifactId>
99                     <versionRange>[0,)</versionRange>
100                     <goals>
101                       <goal>generate-depends-file</goal>
102                     </goals>
103                   </pluginExecutionFilter>
104                   <action>
105                     <ignore/>
106                   </action>
107                 </pluginExecution>
108               </pluginExecutions>
109             </lifecycleMappingMetadata>
110           </configuration>
111         </plugin>
112       </plugins>
113     </pluginManagement>
114     <plugins>
115       <plugin>
116         <groupId>org.ops4j.pax.exam</groupId>
117         <artifactId>maven-paxexam-plugin</artifactId>
118         <executions>
119           <execution>
120             <id>generate-config</id>
121             <goals>
122               <goal>generate-depends-file</goal>
123             </goals>
124           </execution>
125         </executions>
126       </plugin>
127       <plugin>
128         <groupId>org.apache.servicemix.tooling</groupId>
129         <artifactId>depends-maven-plugin</artifactId>
130         <version>1.2</version>
131         <executions>
132           <execution>
133             <id>generate-depends-file</id>
134             <goals>
135               <goal>generate-depends-file</goal>
136             </goals>
137           </execution>
138         </executions>
139       </plugin>
140       <plugin>
141         <groupId>org.apache.maven.plugins</groupId>
142         <artifactId>maven-checkstyle-plugin</artifactId>
143       </plugin>
144       <plugin>
145         <groupId>org.jacoco</groupId>
146         <artifactId>jacoco-maven-plugin</artifactId>
147       </plugin>
148       <plugin>
149         <groupId>org.apache.maven.plugins</groupId>
150         <artifactId>maven-failsafe-plugin</artifactId>
151         <version>${failsafe.version}</version>
152         <executions>
153           <execution>
154             <id>failsafe-integration-tests</id>
155             <phase>integration-test</phase>
156             <goals>
157               <goal>integration-test</goal>
158             </goals>
159             <configuration>
160               <forkCount>1</forkCount>
161               <reuseForks>false</reuseForks>
162               <parallel>none</parallel>
163               <threadCount>1</threadCount>
164               <excludes>
165                 <exclude>**/NetVirtIT.java,**/NeutronIT.java</exclude>
166               </excludes>
167             </configuration>
168           </execution>
169         </executions>
170       </plugin>
171     </plugins>
172   </build>
173   <profiles>
174     <profile>
175       <id>default</id>
176       <activation>
177         <activeByDefault>true</activeByDefault>
178       </activation>
179       <dependencies>
180         <dependency>
181           <groupId>org.ops4j.pax.exam</groupId>
182           <artifactId>pax-exam-container-native</artifactId>
183         </dependency>
184         <dependency>
185           <groupId>org.ops4j.pax.exam</groupId>
186           <artifactId>pax-exam-container-karaf</artifactId>
187           <scope>compile</scope>
188         </dependency>
189       </dependencies>
190       <build>
191         <plugins>
192           <plugin>
193             <groupId>org.apache.maven.plugins</groupId>
194             <artifactId>maven-failsafe-plugin</artifactId>
195             <version>${failsafe.version}</version>
196             <configuration>
197             </configuration>
198             <executions>
199               <execution>
200                 <id>failsafe-integration-tests</id>
201                 <phase>integration-test</phase>
202                 <goals>
203                   <goal>integration-test</goal>
204                 </goals>
205                 <configuration>
206                   <classpathDependencyExcludes>
207                     <classpathDependencyExcludes>org.ops4j.pax.exam:pax-exam-container-karaf</classpathDependencyExcludes>
208                   </classpathDependencyExcludes>
209                 </configuration>
210               </execution>
211             </executions>
212           </plugin>
213         </plugins>
214       </build>
215     </profile>
216     <profile>
217       <id>karafit</id>
218       <activation>
219         <activeByDefault>false</activeByDefault>
220       </activation>
221       <dependencies>
222         <dependency>
223           <groupId>org.ops4j.pax.exam</groupId>
224           <artifactId>pax-exam-container-karaf</artifactId>
225         </dependency>
226       </dependencies>
227     </profile>
228   </profiles>
229 </project>