BUG-7657: Karaf 4 migration: provide Karaf 4 groupbasedpolicy features
[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.9.0-SNAPSHOT</version>
14     <relativePath />
15   </parent>
16
17   <artifactId>distribution-karaf</artifactId>
18   <groupId>org.opendaylight.groupbasedpolicy</groupId>
19   <version>0.6.0-SNAPSHOT</version>
20   <packaging>pom</packaging>
21   <!-- <name> formatting is used by autorelease to parse and notify projects on
22      build failure. Please do not modify this unless you have a good reason. -->
23   <name>ODL :: groupbasedpolicy :: ${project.artifactId}</name>
24
25   <prerequisites>
26     <maven>3.0</maven>
27   </prerequisites>
28
29   <properties>
30     <groupbasedpolicy.project.version>0.6.0-SNAPSHOT</groupbasedpolicy.project.version>
31     <sfc.version>0.6.0-SNAPSHOT</sfc.version>
32   </properties>
33
34   <dependencyManagement>
35     <dependencies>
36       <dependency>
37         <groupId>${project.groupId}</groupId>
38         <artifactId>groupbasedpolicy-artifacts</artifactId>
39         <version>${project.version}</version>
40         <type>pom</type>
41         <scope>import</scope>
42       </dependency>
43     </dependencies>
44   </dependencyManagement>
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
54     <!-- Project local feautures -->
55     <dependency>
56       <groupId>org.opendaylight.groupbasedpolicy</groupId>
57       <artifactId>features-groupbasedpolicy</artifactId>
58       <classifier>features</classifier>
59       <type>xml</type>
60       <scope>runtime</scope>
61     </dependency>
62   </dependencies>
63
64   <build>
65     <plugins>
66       <!-- DO NOT deploy the karaf artifact -->
67       <plugin>
68         <groupId>org.apache.maven.plugins</groupId>
69         <artifactId>maven-deploy-plugin</artifactId>
70         <configuration>
71           <skip>true</skip>
72         </configuration>
73       </plugin>
74     </plugins>
75   </build>
76
77   <scm>
78     <connection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</connection>
79     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</developerConnection>
80     <tag>HEAD</tag>
81     <url>https://git.opendaylight.org/gerrit/gitweb?p=groupbasedpolicy.git;a=summary</url>
82   </scm>
83 </project>