ad9e21be26b4dff3e720fa9934e00aefe5e7fc38
[lispflowmapping.git] / distribution-karaf / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015 Cisco Systems, 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" 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">
10   <modelVersion>4.0.0</modelVersion>
11
12   <parent>
13     <groupId>org.opendaylight.controller</groupId>
14     <artifactId>karaf-parent</artifactId>
15     <version>1.6.0-SNAPSHOT</version>
16     <relativePath/>
17   </parent>
18
19   <groupId>org.opendaylight.lispflowmapping</groupId>
20   <artifactId>distribution-karaf</artifactId>
21   <version>1.3.0-SNAPSHOT</version>
22   <name>LISP Flow Mapping Project - Karaf Distribution</name>
23
24   <prerequisites>
25     <maven>3.1.1</maven>
26   </prerequisites>
27
28   <properties>
29     <!-- <karaf.localFeature>odl-lispflowmapping-msmr</karaf.localFeature> -->
30     <karaf.localFeature>odl-lispflowmapping-models</karaf.localFeature>
31   </properties>
32
33   <dependencyManagement>
34     <dependencies>
35       <dependency>
36         <groupId>${project.groupId}</groupId>
37         <artifactId>lispflowmapping-artifacts</artifactId>
38         <version>${project.version}</version>
39         <type>pom</type>
40         <scope>import</scope>
41       </dependency>
42     </dependencies>
43   </dependencyManagement>
44
45   <dependencies>
46     <dependency>
47       <!-- scope is compile so all features (there is only one) are installed
48       into startup.properties and the feature repo itself is not installed -->
49       <groupId>org.apache.karaf.features</groupId>
50       <artifactId>framework</artifactId>
51       <type>kar</type>
52     </dependency>
53     <dependency>
54       <groupId>${project.groupId}</groupId>
55       <artifactId>features-lispflowmapping</artifactId>
56       <classifier>features</classifier>
57       <type>xml</type>
58       <scope>runtime</scope>
59     </dependency>
60   </dependencies>
61
62   <!-- DO NOT install or deploy the karaf artifact -->
63   <build>
64     <plugins>
65       <plugin>
66         <groupId>org.apache.maven.plugins</groupId>
67         <artifactId>maven-deploy-plugin</artifactId>
68         <configuration>
69           <skip>true</skip>
70         </configuration>
71       </plugin>
72     </plugins>
73   </build> 
74 </project>