Fix so that operational store correctly removes bridge-external-ids
[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
25   <dependencies>
26     <dependency>
27       <groupId>org.yaml</groupId>
28       <artifactId>snakeyaml</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>org.mockito</groupId>
32       <artifactId>mockito-all</artifactId>
33       <scope>test</scope>
34     </dependency>
35
36     <!-- Cache surefire in Maven Local repo for offline builds -->
37     <dependency>
38       <groupId>org.apache.maven.surefire</groupId>
39       <artifactId>surefire-junit4</artifactId>
40       <version>${maven.surefire.version}</version>
41     </dependency>
42     <dependency>
43       <groupId>org.apache.maven.surefire</groupId>
44       <artifactId>surefire-junit47</artifactId>
45       <version>${maven.surefire.version}</version>
46     </dependency>
47   </dependencies>
48   <build>
49     <pluginManagement>
50       <plugins>
51         <plugin>
52           <groupId>org.eclipse.m2e</groupId>
53           <artifactId>lifecycle-mapping</artifactId>
54           <version>${lifecycle.mapping.version}</version>
55           <configuration>
56             <lifecycleMappingMetadata>
57               <pluginExecutions>
58                 <pluginExecution>
59                   <pluginExecutionFilter>
60                     <groupId>org.apache.servicemix.tooling</groupId>
61                     <artifactId>depends-maven-plugin</artifactId>
62                     <versionRange>[0,)</versionRange>
63                     <goals>
64                       <goal>generate-depends-file</goal>
65                     </goals>
66                   </pluginExecutionFilter>
67                   <action>
68                     <ignore/>
69                   </action>
70                 </pluginExecution>
71               </pluginExecutions>
72             </lifecycleMappingMetadata>
73           </configuration>
74         </plugin>
75       </plugins>
76     </pluginManagement>
77     <plugins>
78       <plugin>
79         <groupId>org.apache.servicemix.tooling</groupId>
80         <artifactId>depends-maven-plugin</artifactId>
81         <version>1.2</version>
82         <executions>
83           <execution>
84             <id>generate-depends-file</id>
85             <goals>
86               <goal>generate-depends-file</goal>
87             </goals>
88           </execution>
89         </executions>
90       </plugin>
91       <plugin>
92         <groupId>org.apache.maven.plugins</groupId>
93         <artifactId>maven-checkstyle-plugin</artifactId>
94       </plugin>
95       <plugin>
96         <groupId>org.jacoco</groupId>
97         <artifactId>jacoco-maven-plugin</artifactId>
98       </plugin>
99       <plugin>
100         <groupId>org.apache.maven.plugins</groupId>
101         <artifactId>maven-failsafe-plugin</artifactId>
102         <version>${failsafe.version}</version>
103         <executions>
104           <execution>
105             <id>failsafe-integration-tests</id>
106             <phase>integration-test</phase>
107             <goals>
108               <goal>integration-test</goal>
109             </goals>
110             <configuration>
111               <forkCount>1</forkCount>
112               <reuseForks>false</reuseForks>
113               <parallel>none</parallel>
114               <threadCount>1</threadCount>
115               <excludes>
116                 <exclude>**/NetVirtIT.java</exclude>
117               </excludes>
118             </configuration>
119           </execution>
120         </executions>
121       </plugin>
122     </plugins>
123   </build>
124   <profiles>
125     <profile>
126       <id>default</id>
127       <activation>
128         <activeByDefault>true</activeByDefault>
129       </activation>
130       <dependencies>
131         <dependency>
132           <groupId>org.ops4j.pax.exam</groupId>
133           <artifactId>pax-exam-container-native</artifactId>
134         </dependency>
135         <dependency>
136           <groupId>org.ops4j.pax.exam</groupId>
137           <artifactId>pax-exam-container-karaf</artifactId>
138           <scope>compile</scope>
139         </dependency>
140       </dependencies>
141       <build>
142         <plugins>
143           <plugin>
144             <groupId>org.apache.maven.plugins</groupId>
145             <artifactId>maven-failsafe-plugin</artifactId>
146             <version>${failsafe.version}</version>
147             <configuration>
148             </configuration>
149             <executions>
150               <execution>
151                 <id>failsafe-integration-tests</id>
152                 <phase>integration-test</phase>
153                 <goals>
154                   <goal>integration-test</goal>
155                 </goals>
156                 <configuration>
157                   <classpathDependencyExcludes>
158                     <classpathDependencyExcludes>org.ops4j.pax.exam:pax-exam-container-karaf</classpathDependencyExcludes>
159                   </classpathDependencyExcludes>
160                 </configuration>
161               </execution>
162             </executions>
163           </plugin>
164         </plugins>
165       </build>
166     </profile>
167     <profile>
168       <id>karafit</id>
169       <activation>
170         <activeByDefault>false</activeByDefault>
171       </activation>
172       <dependencies>
173         <dependency>
174           <groupId>org.ops4j.pax.exam</groupId>
175           <artifactId>pax-exam-container-karaf</artifactId>
176         </dependency>
177       </dependencies>
178     </profile>
179   </profiles>
180   <scm>
181     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
182     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
183     <tag>HEAD</tag>
184     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
185   </scm>
186 </project>