86f275e057fdf767a10294c04286ef33161f2a9e
[ovsdb.git] / library / karaf / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © 2015 Red Hat, Inc. and others. All rights reserved. and others. All rights reserved.
4 This program and the accompanying materials are made available under the
5 terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
7 -->
8 <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">
9   <parent>
10     <groupId>org.opendaylight.controller</groupId>
11     <artifactId>karaf-parent</artifactId>
12     <version>1.7.0-SNAPSHOT</version>
13     <relativePath/>
14   </parent>
15   <modelVersion>4.0.0</modelVersion>
16   <groupId>org.opendaylight.ovsdb</groupId>
17   <artifactId>library-karaf</artifactId>
18   <version>1.3.0-SNAPSHOT</version>
19   <name>${project.artifactId}</name>
20   <prerequisites>
21     <maven>3.1.1</maven>
22   </prerequisites>
23   <properties>
24     <karaf.localFeature>odl-ovsdb-library</karaf.localFeature>
25   </properties>
26   <dependencyManagement>
27     <dependencies>
28       <dependency>
29         <groupId>${project.groupId}</groupId>
30         <artifactId>library-artifacts</artifactId>
31         <version>${project.version}</version>
32         <type>pom</type>
33         <scope>import</scope>
34       </dependency>
35     </dependencies>
36   </dependencyManagement>
37   <dependencies>
38     <dependency>
39       <!-- scope is compile so all features (there is only one) are installed
40       into startup.properties and the feature repo itself is not installed -->
41       <groupId>org.apache.karaf.features</groupId>
42       <artifactId>framework</artifactId>
43       <type>kar</type>
44     </dependency>
45
46     <dependency>
47       <groupId>${project.groupId}</groupId>
48       <artifactId>library-features</artifactId>
49       <classifier>features</classifier>
50       <type>xml</type>
51       <scope>runtime</scope>
52     </dependency>
53   </dependencies>
54
55   <build>
56     <plugins>
57       <!-- DO NOT deploy the karaf artifact -->
58       <plugin>
59         <groupId>org.apache.maven.plugins</groupId>
60         <artifactId>maven-deploy-plugin</artifactId>
61         <configuration>
62           <skip>true</skip>
63         </configuration>
64       </plugin>
65     </plugins>
66   </build>
67 </project>