1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: --><!--
3 Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
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
9 <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">
12 <groupId>org.opendaylight.odlparent</groupId>
13 <artifactId>bundle-parent</artifactId>
14 <version>2.0.4</version>
17 <modelVersion>4.0.0</modelVersion>
18 <groupId>org.opendaylight.controller</groupId>
19 <artifactId>mdsal-it-parent</artifactId>
20 <version>1.7.0-SNAPSHOT</version>
21 <packaging>pom</packaging>
23 <mdsal.version>1.7.0-SNAPSHOT</mdsal.version>
24 <karaf.distro.groupId>org.opendaylight.odlparent</karaf.distro.groupId>
25 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
26 <karaf.distro.version>2.0.4</karaf.distro.version>
27 <karaf.distro.type>zip</karaf.distro.type>
28 <karaf.keep.unpack>false</karaf.keep.unpack>
30 <dependencyManagement>
33 <groupId>org.opendaylight.controller</groupId>
34 <artifactId>mdsal-artifacts</artifactId>
35 <version>${mdsal.version}</version>
40 </dependencyManagement>
44 <groupId>org.opendaylight.controller</groupId>
45 <artifactId>mdsal-it-base</artifactId>
46 <version>${mdsal.version}</version>
49 <!-- Dependencies for pax exam karaf container -->
51 <groupId>org.ops4j.pax.exam</groupId>
52 <artifactId>pax-exam-container-karaf</artifactId>
55 <groupId>org.ops4j.pax.exam</groupId>
56 <artifactId>pax-exam-junit4</artifactId>
59 <groupId>org.ops4j.pax.exam</groupId>
60 <artifactId>pax-exam</artifactId>
63 <groupId>org.ops4j.pax.exam</groupId>
64 <artifactId>pax-exam-features</artifactId>
67 <!-- FIXME: remove version declaration and scope once odlparent has this -->
68 <version>${exam.version}</version>
72 <groupId>org.ops4j.pax.exam</groupId>
73 <artifactId>pax-exam-extender-service</artifactId>
75 <!-- FIXME: remove version declaration and scope once odlparent has this -->
76 <version>${exam.version}</version>
80 <groupId>org.ops4j.pax.exam</groupId>
81 <artifactId>pax-exam-inject</artifactId>
83 <!-- FIXME: remove version declaration and scope once odlparent has this -->
84 <version>${exam.version}</version>
89 <groupId>org.ops4j.pax.exam</groupId>
90 <artifactId>pax-exam-invoker-junit</artifactId>
92 <!-- FIXME: remove version declaration and scope once odlparent has this -->
93 <version>${exam.version}</version>
98 <groupId>org.ops4j.pax.url</groupId>
99 <artifactId>pax-url-aether</artifactId>
102 <groupId>javax.inject</groupId>
103 <artifactId>javax.inject</artifactId>
107 <groupId>org.apache.karaf.features</groupId>
108 <artifactId>org.apache.karaf.features.core</artifactId>
109 <version>${karaf.version}</version>
112 <groupId>org.osgi</groupId>
113 <artifactId>org.osgi.core</artifactId>
116 <groupId>junit</groupId>
117 <artifactId>junit</artifactId>
120 <!-- Testing Dependencies -->
122 <groupId>org.mockito</groupId>
123 <artifactId>mockito-core</artifactId>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-failsafe-plugin</artifactId>
135 <goal>integration-test</goal>
141 <name>karaf.distro.groupId</name>
142 <value>${karaf.distro.groupId}</value>
145 <name>karaf.distro.artifactId</name>
146 <value>${karaf.distro.artifactId}</value>
149 <name>karaf.distro.version</name>
150 <value>${karaf.distro.version}</value>
153 <name>karaf.distro.type</name>
154 <value>${karaf.distro.type}</value>
157 <name>karaf.keep.unpack</name>
158 <value>${karaf.keep.unpack}</value>
161 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
166 <!-- Needed if you use versionAsInProject() -->
168 <groupId>org.apache.servicemix.tooling</groupId>
169 <artifactId>depends-maven-plugin</artifactId>
172 <id>generate-depends-file</id>
174 <goal>generate-depends-file</goal>
180 <!-- Copy the Base Test classes into test-classes so they can become available in the karaf container -->
182 <groupId>org.apache.maven.plugins</groupId>
183 <artifactId>maven-dependency-plugin</artifactId>
186 <id>unpack-karaf-resources</id>
188 <goal>unpack-dependencies</goal>
190 <phase>process-test-resources</phase>
192 <outputDirectory>${project.build.directory}/test-classes</outputDirectory>
193 <groupId>org.opendaylight.controller</groupId>
194 <includeArtifactIds>config-it-base,mdsal-it-base</includeArtifactIds>
195 <excludes>META-INF\/**</excludes>
196 <ignorePermissions>false</ignorePermissions>