Bump versions by x.y.(z+1)
[controller.git] / opendaylight / md-sal / mdsal-it-parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4 Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
5
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11
12   <parent>
13     <groupId>org.opendaylight.odlparent</groupId>
14     <artifactId>bundle-parent</artifactId>
15     <version>2.0.7</version>
16     <relativePath/>
17   </parent>
18   <modelVersion>4.0.0</modelVersion>
19   <groupId>org.opendaylight.controller</groupId>
20   <artifactId>mdsal-it-parent</artifactId>
21   <version>1.6.4-SNAPSHOT</version>
22   <packaging>pom</packaging>
23   <properties>
24     <mdsal.version>1.6.4-SNAPSHOT</mdsal.version>
25     <karaf.distro.groupId>org.opendaylight.odlparent</karaf.distro.groupId>
26     <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
27     <karaf.distro.version>2.0.7</karaf.distro.version>
28     <karaf.distro.type>zip</karaf.distro.type>
29     <karaf.keep.unpack>false</karaf.keep.unpack>
30   </properties>
31   <dependencyManagement>
32     <dependencies>
33       <dependency>
34         <groupId>org.opendaylight.controller</groupId>
35         <artifactId>mdsal-artifacts</artifactId>
36         <version>${mdsal.version}</version>
37         <type>pom</type>
38         <scope>import</scope>
39       </dependency>
40     </dependencies>
41   </dependencyManagement>
42
43   <dependencies>
44     <dependency>
45       <groupId>org.opendaylight.controller</groupId>
46       <artifactId>mdsal-it-base</artifactId>
47       <version>${mdsal.version}</version>
48     </dependency>
49
50     <!-- Dependencies for pax exam karaf container -->
51     <dependency>
52         <groupId>org.ops4j.pax.exam</groupId>
53         <artifactId>pax-exam-container-karaf</artifactId>
54     </dependency>
55     <dependency>
56         <groupId>org.ops4j.pax.exam</groupId>
57         <artifactId>pax-exam-junit4</artifactId>
58     </dependency>
59     <dependency>
60         <groupId>org.ops4j.pax.exam</groupId>
61         <artifactId>pax-exam</artifactId>
62     </dependency>
63     <dependency>
64         <groupId>org.ops4j.pax.exam</groupId>
65         <artifactId>pax-exam-features</artifactId>
66         <type>xml</type>
67
68         <!-- FIXME: remove version declaration and scope once odlparent has this -->
69         <version>${exam.version}</version>
70         <scope>test</scope>
71     </dependency>
72     <dependency>
73         <groupId>org.ops4j.pax.exam</groupId>
74         <artifactId>pax-exam-extender-service</artifactId>
75
76         <!-- FIXME: remove version declaration and scope once odlparent has this -->
77         <version>${exam.version}</version>
78         <scope>test</scope>
79     </dependency>
80     <dependency>
81         <groupId>org.ops4j.pax.exam</groupId>
82         <artifactId>pax-exam-inject</artifactId>
83
84         <!-- FIXME: remove version declaration and scope once odlparent has this -->
85         <version>${exam.version}</version>
86         <scope>test</scope>
87     </dependency>
88
89     <dependency>
90         <groupId>org.ops4j.pax.exam</groupId>
91         <artifactId>pax-exam-invoker-junit</artifactId>
92
93         <!-- FIXME: remove version declaration and scope once odlparent has this -->
94         <version>${exam.version}</version>
95         <scope>test</scope>
96     </dependency>
97
98     <dependency>
99         <groupId>org.ops4j.pax.url</groupId>
100         <artifactId>pax-url-aether</artifactId>
101     </dependency>
102     <dependency>
103         <groupId>javax.inject</groupId>
104         <artifactId>javax.inject</artifactId>
105         <version>1</version>
106     </dependency>
107     <dependency>
108         <groupId>org.apache.karaf.features</groupId>
109         <artifactId>org.apache.karaf.features.core</artifactId>
110         <version>${karaf.version}</version>
111     </dependency>
112     <dependency>
113         <groupId>org.osgi</groupId>
114         <artifactId>org.osgi.core</artifactId>
115     </dependency>
116     <dependency>
117         <groupId>junit</groupId>
118         <artifactId>junit</artifactId>
119     </dependency>
120
121     <!-- Testing Dependencies -->
122     <dependency>
123       <groupId>org.mockito</groupId>
124       <artifactId>mockito-core</artifactId>
125       <scope>test</scope>
126     </dependency>
127   </dependencies>
128   <build>
129     <plugins>
130       <plugin>
131         <groupId>org.apache.maven.plugins</groupId>
132         <artifactId>maven-failsafe-plugin</artifactId>
133         <executions>
134           <execution>
135             <goals>
136               <goal>integration-test</goal>
137               <goal>verify</goal>
138             </goals>
139             <configuration>
140               <systemProperties>
141                 <property>
142                  <name>karaf.distro.groupId</name>
143                  <value>${karaf.distro.groupId}</value>
144                 </property>
145                 <property>
146                  <name>karaf.distro.artifactId</name>
147                  <value>${karaf.distro.artifactId}</value>
148                 </property>
149                 <property>
150                  <name>karaf.distro.version</name>
151                  <value>${karaf.distro.version}</value>
152                 </property>
153                 <property>
154                  <name>karaf.distro.type</name>
155                  <value>${karaf.distro.type}</value>
156                 </property>
157                 <property>
158                  <name>karaf.keep.unpack</name>
159                  <value>${karaf.keep.unpack}</value>
160                 </property>
161               </systemProperties>
162               <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
163             </configuration>
164           </execution>
165         </executions>
166       </plugin>
167       <!-- Needed if you use versionAsInProject() -->
168       <plugin>
169           <groupId>org.apache.servicemix.tooling</groupId>
170           <artifactId>depends-maven-plugin</artifactId>
171           <executions>
172               <execution>
173                   <id>generate-depends-file</id>
174                   <goals>
175                       <goal>generate-depends-file</goal>
176                   </goals>
177               </execution>
178           </executions>
179       </plugin>
180
181       <!-- Copy the Base Test classes into test-classes so they can become available in the karaf container -->
182       <plugin>
183         <groupId>org.apache.maven.plugins</groupId>
184         <artifactId>maven-dependency-plugin</artifactId>
185         <executions>
186           <execution>
187            <id>unpack-karaf-resources</id>
188            <goals>
189             <goal>unpack-dependencies</goal>
190            </goals>
191            <phase>process-test-resources</phase>
192            <configuration>
193             <outputDirectory>${project.build.directory}/test-classes</outputDirectory>
194             <groupId>org.opendaylight.controller</groupId>
195             <includeArtifactIds>config-it-base,mdsal-it-base</includeArtifactIds>
196             <excludes>META-INF\/**</excludes>
197             <ignorePermissions>false</ignorePermissions>
198            </configuration>
199           </execution>
200          </executions>
201       </plugin>
202     </plugins>
203   </build>
204 </project>