Move ovsdb distribution to use karaf-parent
[netvirt.git] / karaf / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (C) 2015 Red Hat, Inc. and others. All rights reserved.
4
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
8 -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0"
10          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12   <modelVersion>4.0.0</modelVersion>
13   <parent>
14     <groupId>org.opendaylight.controller</groupId>
15     <artifactId>karaf-parent</artifactId>
16     <version>1.5.0-SNAPSHOT</version>
17     <relativePath/>
18   </parent>
19
20   <groupId>org.opendaylight.ovsdb</groupId>
21   <artifactId>karaf</artifactId>
22   <version>1.1.0-SNAPSHOT</version>
23   <name>${project.artifactId}</name>
24   <prerequisites>
25     <maven>3.1.1</maven>
26   </prerequisites>
27   <properties>
28     <!-- uncomment the next line if you want karaf to automatically load the feature -->
29     <!--<karaf.localFeature>odl-ovsdb-openstack</karaf.localFeature>-->
30   </properties>
31   <dependencyManagement>
32     <dependencies>
33       <dependency>
34         <groupId>${project.groupId}</groupId>
35         <artifactId>ovsdb-artifacts</artifactId>
36         <version>${project.version}</version>
37         <type>pom</type>
38         <scope>import</scope>
39       </dependency>
40     </dependencies>
41   </dependencyManagement>
42   <dependencies>
43     <dependency>
44       <!-- scope is compile so all features (there is only one) are installed
45       into startup.properties and the feature repo itself is not installed -->
46       <groupId>org.apache.karaf.features</groupId>
47       <artifactId>framework</artifactId>
48       <type>kar</type>
49     </dependency>
50
51     <dependency>
52       <groupId>${project.groupId}</groupId>
53       <artifactId>features-ovsdb</artifactId>
54       <classifier>features</classifier>
55       <type>xml</type>
56       <scope>runtime</scope>
57     </dependency>
58   </dependencies>
59 </project>