Fix failing IT tests
[controller.git] / opendaylight / md-sal / sal-binding-it / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>sal-parent</artifactId>
7     <version>1.1-SNAPSHOT</version>
8   </parent>
9   <artifactId>sal-binding-it</artifactId>
10
11   <properties>
12     <sonar.jacoco.itReportPath>../sal-binding-broker/target/jacoco-it.exec</sonar.jacoco.itReportPath>
13     <!-- Sonar jacoco plugin to get integration test coverage info -->
14     <sonar.jacoco.reportPath>../sal-binding-broker/target/jacoco.exec</sonar.jacoco.reportPath>
15   </properties>
16
17   <dependencies>
18     <dependency>
19       <groupId>ch.qos.logback</groupId>
20       <artifactId>logback-classic</artifactId>
21     </dependency>
22     <dependency>
23       <groupId>ch.qos.logback</groupId>
24       <artifactId>logback-core</artifactId>
25     </dependency>
26     <dependency>
27       <groupId>equinoxSDK381</groupId>
28       <artifactId>org.eclipse.osgi</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>org.eclipse.persistence</groupId>
32       <artifactId>org.eclipse.persistence.core</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>org.eclipse.persistence</groupId>
36       <artifactId>org.eclipse.persistence.moxy</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>org.mockito</groupId>
40       <artifactId>mockito-all</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.yangtools</groupId>
44       <artifactId>object-cache-guava</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.controller</groupId>
48       <artifactId>config-manager</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.controller</groupId>
52       <artifactId>config-netconf-connector</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>org.opendaylight.controller</groupId>
56       <artifactId>config-persister-file-xml-adapter</artifactId>
57     </dependency>
58     <dependency>
59       <groupId>org.opendaylight.controller</groupId>
60       <artifactId>config-persister-impl</artifactId>
61     </dependency>
62     <dependency>
63       <groupId>org.opendaylight.controller</groupId>
64       <artifactId>logback-config</artifactId>
65     </dependency>
66     <dependency>
67       <groupId>org.opendaylight.controller</groupId>
68       <artifactId>netconf-client</artifactId>
69     </dependency>
70     <dependency>
71       <groupId>org.opendaylight.controller</groupId>
72       <artifactId>netconf-impl</artifactId>
73     </dependency>
74     <dependency>
75       <groupId>org.opendaylight.controller</groupId>
76       <artifactId>netconf-monitoring</artifactId>
77     </dependency>
78     <dependency>
79       <groupId>org.opendaylight.controller</groupId>
80       <artifactId>sal-binding-broker-impl</artifactId>
81     </dependency>
82     <dependency>
83       <groupId>org.opendaylight.yangtools.thirdparty</groupId>
84       <artifactId>antlr4-runtime-osgi-nohead</artifactId>
85     </dependency>
86     <!--Compile scopes for all testing dependencies are intentional-->
87     <!--This way, all testing dependencies can be transitively used by other integration test modules-->
88     <!--If the dependencies are test scoped, they are not visible to other maven modules depending on sal-binding-it-->
89
90     <!--TODO Create generic utilities(extract from this module) for integration tests on the controller-->
91     <dependency>
92       <groupId>org.opendaylight.yangtools.thirdparty</groupId>
93       <artifactId>xtend-lib-osgi</artifactId>
94     </dependency>
95     <dependency>
96       <groupId>org.openexi</groupId>
97       <artifactId>nagasena</artifactId>
98     </dependency>
99     <dependency>
100       <groupId>org.openexi</groupId>
101       <artifactId>nagasena-rta</artifactId>
102     </dependency>
103     <dependency>
104       <groupId>org.ops4j.pax.exam</groupId>
105       <artifactId>pax-exam</artifactId>
106       <version>${exam.version}</version>
107       <!-- Compile scope here is intentional, it is used in TestHelper
108                 class which could be downloaded via nexus and reused in other integration
109                 tests. -->
110       <scope>compile</scope>
111     </dependency>
112     <dependency>
113       <groupId>org.ops4j.pax.exam</groupId>
114       <artifactId>pax-exam-container-native</artifactId>
115       <scope>compile</scope>
116     </dependency>
117     <dependency>
118       <groupId>org.ops4j.pax.exam</groupId>
119       <artifactId>pax-exam-junit4</artifactId>
120       <scope>compile</scope>
121     </dependency>
122     <dependency>
123       <groupId>org.ops4j.pax.exam</groupId>
124       <artifactId>pax-exam-link-mvn</artifactId>
125       <scope>compile</scope>
126     </dependency>
127     <dependency>
128       <groupId>org.slf4j</groupId>
129       <artifactId>log4j-over-slf4j</artifactId>
130     </dependency>
131     <dependency>
132       <groupId>org.opendaylight.controller.model</groupId>
133       <artifactId>model-flow-management</artifactId>
134       <scope>provided</scope>
135     </dependency>
136     <dependency>
137       <groupId>org.opendaylight.controller.model</groupId>
138       <artifactId>model-flow-service</artifactId>
139       <scope>provided</scope>
140     </dependency>
141   </dependencies>
142
143   <build>
144     <pluginManagement>
145       <plugins>
146         <!--This plugin's configuration is used to store Eclipse
147                     m2e settings only. It has no influence on the Maven build itself. -->
148         <plugin>
149           <groupId>org.eclipse.m2e</groupId>
150           <artifactId>lifecycle-mapping</artifactId>
151           <version>${lifecycle.mapping.version}</version>
152           <configuration>
153             <lifecycleMappingMetadata>
154               <pluginExecutions>
155                 <pluginExecution>
156                   <pluginExecutionFilter>
157                     <groupId>org.ops4j.pax.exam</groupId>
158                     <artifactId>maven-paxexam-plugin</artifactId>
159                     <versionRange>[1.2.4,)</versionRange>
160                     <goals>
161                       <goal>generate-depends-file</goal>
162                     </goals>
163                   </pluginExecutionFilter>
164                   <action>
165                     <ignore></ignore>
166                   </action>
167                 </pluginExecution>
168               </pluginExecutions>
169             </lifecycleMappingMetadata>
170           </configuration>
171         </plugin>
172         <plugin>
173           <groupId>org.jacoco</groupId>
174           <artifactId>jacoco-maven-plugin</artifactId>
175           <version>${jacoco.version}</version>
176           <configuration>
177             <destFile>../sal-binding-broker/target/jacoco-it.exec</destFile>
178             <includes>
179               <include>org.opendaylight.controller.*</include>
180             </includes>
181           </configuration>
182           <executions>
183             <execution>
184               <id>pre-test</id>
185               <goals>
186                 <goal>prepare-agent</goal>
187               </goals>
188             </execution>
189             <execution>
190               <id>post-test</id>
191               <configuration>
192                 <skip>true</skip>
193               </configuration>
194             </execution>
195           </executions>
196         </plugin>
197       </plugins>
198     </pluginManagement>
199     <plugins>
200       <plugin>
201         <groupId>org.apache.maven.plugins</groupId>
202         <artifactId>maven-surefire-plugin</artifactId>
203         <configuration>
204           <reuseForks>false</reuseForks>
205         </configuration>
206       </plugin>
207       <plugin>
208         <groupId>org.jacoco</groupId>
209         <artifactId>jacoco-maven-plugin</artifactId>
210         <configuration>
211           <includes>
212             <include>org.opendaylight.controller.*</include>
213           </includes>
214         </configuration>
215         <executions>
216           <execution>
217             <id>pre-test</id>
218             <goals>
219               <goal>prepare-agent</goal>
220             </goals>
221           </execution>
222           <execution>
223             <id>post-test</id>
224             <goals>
225               <goal>report</goal>
226             </goals>
227             <phase>test</phase>
228           </execution>
229         </executions>
230       </plugin>
231       <plugin>
232         <groupId>org.ops4j.pax.exam</groupId>
233         <artifactId>maven-paxexam-plugin</artifactId>
234         <executions>
235           <execution>
236             <id>generate-config</id>
237             <goals>
238               <goal>generate-depends-file</goal>
239             </goals>
240           </execution>
241         </executions>
242       </plugin>
243     </plugins>
244   </build>
245   <scm>
246     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
247     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
248     <tag>HEAD</tag>
249     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
250   </scm>
251 </project>