1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
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
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">
13 <groupId>org.opendaylight.odlparent</groupId>
14 <artifactId>bundle-parent</artifactId>
15 <version>2.0.7</version>
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>
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>
31 <dependencyManagement>
34 <groupId>org.opendaylight.controller</groupId>
35 <artifactId>mdsal-artifacts</artifactId>
36 <version>${mdsal.version}</version>
41 </dependencyManagement>
45 <groupId>org.opendaylight.controller</groupId>
46 <artifactId>mdsal-it-base</artifactId>
47 <version>${mdsal.version}</version>
50 <!-- Dependencies for pax exam karaf container -->
52 <groupId>org.ops4j.pax.exam</groupId>
53 <artifactId>pax-exam-container-karaf</artifactId>
56 <groupId>org.ops4j.pax.exam</groupId>
57 <artifactId>pax-exam-junit4</artifactId>
60 <groupId>org.ops4j.pax.exam</groupId>
61 <artifactId>pax-exam</artifactId>
64 <groupId>org.ops4j.pax.exam</groupId>
65 <artifactId>pax-exam-features</artifactId>
68 <!-- FIXME: remove version declaration and scope once odlparent has this -->
69 <version>${exam.version}</version>
73 <groupId>org.ops4j.pax.exam</groupId>
74 <artifactId>pax-exam-extender-service</artifactId>
76 <!-- FIXME: remove version declaration and scope once odlparent has this -->
77 <version>${exam.version}</version>
81 <groupId>org.ops4j.pax.exam</groupId>
82 <artifactId>pax-exam-inject</artifactId>
84 <!-- FIXME: remove version declaration and scope once odlparent has this -->
85 <version>${exam.version}</version>
90 <groupId>org.ops4j.pax.exam</groupId>
91 <artifactId>pax-exam-invoker-junit</artifactId>
93 <!-- FIXME: remove version declaration and scope once odlparent has this -->
94 <version>${exam.version}</version>
99 <groupId>org.ops4j.pax.url</groupId>
100 <artifactId>pax-url-aether</artifactId>
103 <groupId>javax.inject</groupId>
104 <artifactId>javax.inject</artifactId>
108 <groupId>org.apache.karaf.features</groupId>
109 <artifactId>org.apache.karaf.features.core</artifactId>
110 <version>${karaf.version}</version>
113 <groupId>org.osgi</groupId>
114 <artifactId>org.osgi.core</artifactId>
117 <groupId>junit</groupId>
118 <artifactId>junit</artifactId>
121 <!-- Testing Dependencies -->
123 <groupId>org.mockito</groupId>
124 <artifactId>mockito-core</artifactId>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-failsafe-plugin</artifactId>
136 <goal>integration-test</goal>
142 <name>karaf.distro.groupId</name>
143 <value>${karaf.distro.groupId}</value>
146 <name>karaf.distro.artifactId</name>
147 <value>${karaf.distro.artifactId}</value>
150 <name>karaf.distro.version</name>
151 <value>${karaf.distro.version}</value>
154 <name>karaf.distro.type</name>
155 <value>${karaf.distro.type}</value>
158 <name>karaf.keep.unpack</name>
159 <value>${karaf.keep.unpack}</value>
162 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
167 <!-- Needed if you use versionAsInProject() -->
169 <groupId>org.apache.servicemix.tooling</groupId>
170 <artifactId>depends-maven-plugin</artifactId>
173 <id>generate-depends-file</id>
175 <goal>generate-depends-file</goal>
181 <!-- Copy the Base Test classes into test-classes so they can become available in the karaf container -->
183 <groupId>org.apache.maven.plugins</groupId>
184 <artifactId>maven-dependency-plugin</artifactId>
187 <id>unpack-karaf-resources</id>
189 <goal>unpack-dependencies</goal>
191 <phase>process-test-resources</phase>
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>