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.controller</groupId>
13 <artifactId>config-parent</artifactId>
14 <version>0.6.0-SNAPSHOT</version>
15 <relativePath>../../config/config-parent</relativePath>
17 <modelVersion>4.0.0</modelVersion>
18 <artifactId>mdsal-it-parent</artifactId>
19 <version>1.5.0-SNAPSHOT</version>
20 <packaging>pom</packaging>
22 <karaf.distro.groupId>org.opendaylight.odlparent</karaf.distro.groupId>
23 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
24 <karaf.distro.version>1.8.0-SNAPSHOT</karaf.distro.version>
25 <karaf.distro.type>zip</karaf.distro.type>
26 <karaf.keep.unpack>false</karaf.keep.unpack>
28 <dependencyManagement>
31 <groupId>org.opendaylight.controller</groupId>
32 <artifactId>mdsal-artifacts</artifactId>
33 <version>${mdsal.version}</version>
38 </dependencyManagement>
42 <groupId>org.opendaylight.controller</groupId>
43 <artifactId>mdsal-it-base</artifactId>
44 <version>${mdsal.version}</version>
47 <!-- Dependencies for pax exam karaf container -->
49 <groupId>org.ops4j.pax.exam</groupId>
50 <artifactId>pax-exam-container-karaf</artifactId>
53 <groupId>org.ops4j.pax.exam</groupId>
54 <artifactId>pax-exam-junit4</artifactId>
57 <groupId>org.ops4j.pax.exam</groupId>
58 <artifactId>pax-exam</artifactId>
61 <groupId>org.ops4j.pax.url</groupId>
62 <artifactId>pax-url-aether</artifactId>
65 <groupId>javax.inject</groupId>
66 <artifactId>javax.inject</artifactId>
70 <groupId>org.apache.karaf.features</groupId>
71 <artifactId>org.apache.karaf.features.core</artifactId>
72 <version>${karaf.version}</version>
75 <groupId>org.osgi</groupId>
76 <artifactId>org.osgi.core</artifactId>
79 <groupId>junit</groupId>
80 <artifactId>junit</artifactId>
83 <!-- Testing Dependencies -->
85 <groupId>org.mockito</groupId>
86 <artifactId>mockito-core</artifactId>
93 <groupId>org.apache.maven.plugins</groupId>
94 <artifactId>maven-failsafe-plugin</artifactId>
98 <goal>integration-test</goal>
104 <name>karaf.distro.groupId</name>
105 <value>${karaf.distro.groupId}</value>
108 <name>karaf.distro.artifactId</name>
109 <value>${karaf.distro.artifactId}</value>
112 <name>karaf.distro.version</name>
113 <value>${karaf.distro.version}</value>
116 <name>karaf.distro.type</name>
117 <value>${karaf.distro.type}</value>
120 <name>karaf.keep.unpack</name>
121 <value>${karaf.keep.unpack}</value>
124 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
129 <!-- Needed if you use versionAsInProject() -->
131 <groupId>org.apache.servicemix.tooling</groupId>
132 <artifactId>depends-maven-plugin</artifactId>
135 <id>generate-depends-file</id>
137 <goal>generate-depends-file</goal>
143 <!-- Copy the Base Test classes into test-classes so they can become available in the karaf container -->
145 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-dependency-plugin</artifactId>
149 <id>unpack-karaf-resources</id>
151 <goal>unpack-dependencies</goal>
153 <phase>process-test-resources</phase>
155 <outputDirectory>${project.build.directory}/test-classes</outputDirectory>
156 <groupId>org.opendaylight.controller</groupId>
157 <includeArtifactIds>config-it-base,mdsal-it-base</includeArtifactIds>
158 <excludes>META-INF\/**</excludes>
159 <ignorePermissions>false</ignorePermissions>