Migrate to odlparent 1.9.0
[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.odlparent</groupId>
14     <artifactId>karaf-parent</artifactId>
15     <version>1.9.0</version>
16     <relativePath/>
17   </parent>
18
19   <groupId>org.opendaylight.lispflowmapping</groupId>
20   <artifactId>distribution-karaf</artifactId>
21   <version>1.6.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   <prerequisites>
27     <maven>3.1.1</maven>
28   </prerequisites>
29
30   <properties>
31     <karaf.localFeature>odl-lispflowmapping-msmr</karaf.localFeature>
32   </properties>
33
34   <dependencyManagement>
35     <dependencies>
36       <dependency>
37         <groupId>${project.groupId}</groupId>
38         <artifactId>lispflowmapping-artifacts</artifactId>
39         <version>${project.version}</version>
40         <type>pom</type>
41         <scope>import</scope>
42       </dependency>
43     </dependencies>
44   </dependencyManagement>
45
46   <dependencies>
47     <dependency>
48       <!-- scope is compile so all features (there is only one) are installed
49       into startup.properties and the feature repo itself is not installed -->
50       <groupId>org.apache.karaf.features</groupId>
51       <artifactId>framework</artifactId>
52       <type>kar</type>
53     </dependency>
54     <dependency>
55       <groupId>${project.groupId}</groupId>
56       <artifactId>features-lispflowmapping</artifactId>
57       <classifier>features</classifier>
58       <type>xml</type>
59       <scope>runtime</scope>
60     </dependency>
61   </dependencies>
62
63   <!-- DO NOT install or deploy the karaf artifact -->
64   <build>
65     <plugins>
66       <plugin>
67         <groupId>org.apache.maven.plugins</groupId>
68         <artifactId>maven-deploy-plugin</artifactId>
69         <configuration>
70           <skip>true</skip>
71         </configuration>
72       </plugin>
73     </plugins>
74   </build>
75
76   <!--
77       Maven Site Configuration
78
79       The following configuration is necessary for maven-site-plugin to
80       correctly identify the correct deployment path for OpenDaylight Maven
81       sites.
82   -->
83   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
84
85   <distributionManagement>
86     <site>
87       <id>opendaylight-site</id>
88       <url>${nexus.site.url}/${project.artifactId}/</url>
89     </site>
90   </distributionManagement>
91
92 </project>