Speed up SouthboundIT through multi-threading test cases
[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.4.0-SNAPSHOT</version>
18     <relativePath>../commons/integrationtest</relativePath>
19   </parent>
20
21   <artifactId>integrationtest</artifactId>
22   <version>1.4.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.mockito</groupId>
49       <artifactId>mockito-all</artifactId>
50       <scope>test</scope>
51     </dependency>
52     <dependency>
53       <groupId>org.opendaylight.controller</groupId>
54       <artifactId>sal-binding-it</artifactId>
55       <scope>test</scope>
56       <exclusions>
57         <exclusion>
58           <groupId>org.ops4j.pax.exam</groupId>
59           <artifactId>pax-exam-container-native</artifactId>
60         </exclusion>
61       </exclusions>
62     </dependency>
63     <dependency>
64       <groupId>org.opendaylight.controller.model</groupId>
65       <artifactId>model-inventory</artifactId>
66     </dependency>
67     <dependency>
68       <groupId>org.ops4j.pax.exam</groupId>
69       <artifactId>pax-exam</artifactId>
70       <scope>test</scope>
71     </dependency>
72     <dependency>
73       <groupId>org.ops4j.pax.exam</groupId>
74       <artifactId>pax-exam-spi</artifactId>
75       <!-- Should be in a parent POM -->
76       <version>4.4.0</version>
77     </dependency>
78     <dependency>
79       <groupId>org.osgi</groupId>
80       <artifactId>org.osgi.core</artifactId>
81       <scope>provided</scope>
82     </dependency>
83
84     <!-- Cache surefire in Maven Local repo for offline builds -->
85     <dependency>
86       <groupId>org.apache.maven.surefire</groupId>
87       <artifactId>surefire-junit4</artifactId>
88       <version>${maven.surefire.version}</version>
89     </dependency>
90     <dependency>
91       <groupId>org.apache.maven.surefire</groupId>
92       <artifactId>surefire-junit47</artifactId>
93       <version>${maven.surefire.version}</version>
94     </dependency>
95   </dependencies>
96   <build>
97     <pluginManagement>
98       <plugins>
99         <plugin>
100           <groupId>org.eclipse.m2e</groupId>
101           <artifactId>lifecycle-mapping</artifactId>
102           <version>${lifecycle.mapping.version}</version>
103           <configuration>
104             <lifecycleMappingMetadata>
105               <pluginExecutions>
106                 <pluginExecution>
107                   <pluginExecutionFilter>
108                     <groupId>org.apache.servicemix.tooling</groupId>
109                     <artifactId>depends-maven-plugin</artifactId>
110                     <versionRange>[0,)</versionRange>
111                     <goals>
112                       <goal>generate-depends-file</goal>
113                     </goals>
114                   </pluginExecutionFilter>
115                   <action>
116                     <ignore/>
117                   </action>
118                 </pluginExecution>
119               </pluginExecutions>
120             </lifecycleMappingMetadata>
121           </configuration>
122         </plugin>
123       </plugins>
124     </pluginManagement>
125     <plugins>
126       <plugin>
127         <groupId>org.ops4j.pax.exam</groupId>
128         <artifactId>maven-paxexam-plugin</artifactId>
129         <executions>
130           <execution>
131             <id>generate-config</id>
132             <goals>
133               <goal>generate-depends-file</goal>
134             </goals>
135           </execution>
136         </executions>
137       </plugin>
138       <plugin>
139         <groupId>org.apache.servicemix.tooling</groupId>
140         <artifactId>depends-maven-plugin</artifactId>
141         <version>1.2</version>
142         <executions>
143           <execution>
144             <id>generate-depends-file</id>
145             <goals>
146               <goal>generate-depends-file</goal>
147             </goals>
148           </execution>
149         </executions>
150       </plugin>
151       <plugin>
152         <groupId>org.apache.maven.plugins</groupId>
153         <artifactId>maven-checkstyle-plugin</artifactId>
154       </plugin>
155       <plugin>
156         <groupId>org.jacoco</groupId>
157         <artifactId>jacoco-maven-plugin</artifactId>
158       </plugin>
159       <plugin>
160         <groupId>org.apache.maven.plugins</groupId>
161         <artifactId>maven-failsafe-plugin</artifactId>
162         <executions>
163           <execution>
164             <id>failsafe-integration-tests</id>
165             <phase>integration-test</phase>
166             <goals>
167               <goal>integration-test</goal>
168             </goals>
169             <configuration>
170               <forkCount>1</forkCount>
171               <reuseForks>false</reuseForks>
172               <parallel>none</parallel>
173               <threadCount>1</threadCount>
174             </configuration>
175           </execution>
176         </executions>
177       </plugin>
178     </plugins>
179   </build>
180   <profiles>
181     <profile>
182       <id>default</id>
183       <activation>
184         <activeByDefault>true</activeByDefault>
185       </activation>
186       <dependencies>
187         <dependency>
188           <groupId>org.ops4j.pax.exam</groupId>
189           <artifactId>pax-exam-container-native</artifactId>
190         </dependency>
191       </dependencies>
192     </profile>
193     <profile>
194       <id>karafit</id>
195       <activation>
196         <activeByDefault>false</activeByDefault>
197       </activation>
198       <dependencies>
199         <dependency>
200           <groupId>org.ops4j.pax.exam</groupId>
201           <artifactId>pax-exam-container-karaf</artifactId>
202         </dependency>
203       </dependencies>
204     </profile>
205   </profiles>
206 </project>