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