513e405131c23cbfcf8448704c0262a68bd92002
[lispflowmapping.git] / lispflowmapping-karaf / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2017 Cisco Systems, Inc.  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.odlparent</groupId>
14     <artifactId>karaf4-parent</artifactId>
15     <version>13.0.11</version>
16     <relativePath/>
17   </parent>
18
19   <groupId>org.opendaylight.lispflowmapping</groupId>
20   <artifactId>lispflowmapping-karaf</artifactId>
21   <version>1.19.0-SNAPSHOT</version>
22   <!-- <name> formatting is used by autorelease to parse and notify projects on
23        build failure. Please do not modify this unless you have a good reason. -->
24   <name>ODL :: lispflowmapping :: ${project.artifactId}</name>
25
26   <dependencyManagement>
27     <dependencies>
28       <dependency>
29         <groupId>${project.groupId}</groupId>
30         <artifactId>lispflowmapping-artifacts</artifactId>
31         <version>${project.version}</version>
32         <type>pom</type>
33         <scope>import</scope>
34       </dependency>
35     </dependencies>
36   </dependencyManagement>
37
38   <dependencies>
39     <dependency>
40       <groupId>org.apache.karaf.features</groupId>
41       <artifactId>framework</artifactId>
42       <type>kar</type>
43     </dependency>
44     <dependency>
45       <groupId>${project.groupId}</groupId>
46       <artifactId>features-lispflowmapping</artifactId>
47       <classifier>features</classifier>
48       <type>xml</type>
49       <scope>runtime</scope>
50     </dependency>
51   </dependencies>
52
53   <build>
54     <plugins>
55       <!-- DO NOT install or deploy the karaf artifact -->
56       <plugin>
57         <groupId>org.apache.maven.plugins</groupId>
58         <artifactId>maven-deploy-plugin</artifactId>
59         <configuration>
60           <skip>true</skip>
61         </configuration>
62       </plugin>
63       <!-- Autoload some of our features on karaf boot -->
64       <plugin>
65         <groupId>org.apache.karaf.tooling</groupId>
66         <artifactId>karaf-maven-plugin</artifactId>
67         <configuration>
68           <bootFeatures combine.children="append">
69             <feature>odl-lispflowmapping-msmr</feature>
70             <feature>odl-lispflowmapping-mappingservice-shell</feature>
71           </bootFeatures>
72         </configuration>
73       </plugin>
74     </plugins>
75   </build>
76 </project>