Merge "Bug 6278: Switch to use odlparent's karaf-parent"
[groupbasedpolicy.git] / distribution-karaf / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. 
3   This program and the accompanying materials are made available under the 
4   terms of the Eclipse Public License v1.0 which accompanies this distribution, 
5   and is available at http://www.eclipse.org/legal/epl-v10.html -->
6 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
8   <modelVersion>4.0.0</modelVersion>
9
10   <parent>
11     <groupId>org.opendaylight.odlparent</groupId>
12     <artifactId>karaf-parent</artifactId>
13     <version>1.8.0-SNAPSHOT</version>
14     <relativePath />
15   </parent>
16
17   <artifactId>distribution-karaf</artifactId>
18   <groupId>org.opendaylight.groupbasedpolicy</groupId>
19   <version>0.5.0-SNAPSHOT</version>
20   <packaging>pom</packaging>
21
22   <prerequisites>
23     <maven>3.0</maven>
24   </prerequisites>
25
26   <properties>
27     <groupbasedpolicy.project.version>0.5.0-SNAPSHOT</groupbasedpolicy.project.version>
28     <sfc.version>0.4.0-SNAPSHOT</sfc.version>
29   </properties>
30
31   <dependencyManagement>
32     <dependencies>
33       <dependency>
34         <groupId>${project.groupId}</groupId>
35         <artifactId>groupbasedpolicy-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     <!-- Project local feautures -->
52     <dependency>
53       <groupId>org.opendaylight.groupbasedpolicy</groupId>
54       <artifactId>features-groupbasedpolicy</artifactId>
55       <classifier>features</classifier>
56       <type>xml</type>
57       <scope>runtime</scope>
58     </dependency>
59   </dependencies>
60
61   <build>
62     <plugins>
63       <!-- DO NOT deploy the karaf artifact -->
64       <plugin>
65         <groupId>org.apache.maven.plugins</groupId>
66         <artifactId>maven-deploy-plugin</artifactId>
67         <configuration>
68           <skip>true</skip>
69         </configuration>
70       </plugin>
71     </plugins>
72   </build>
73
74   <scm>
75     <connection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</connection>
76     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</developerConnection>
77     <tag>HEAD</tag>
78     <url>https://git.opendaylight.org/gerrit/gitweb?p=groupbasedpolicy.git;a=summary</url>
79   </scm>
80 </project>