Merge "Bug 6278: Switch to use odlparent's karaf-parent"
[genius.git] / karaf / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © 2016 Ericsson India Global Services Pvt Ltd. 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 INTERNAL
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.8.0-SNAPSHOT</version>
16     <relativePath/>
17   </parent>
18
19   <groupId>org.opendaylight.genius</groupId>
20   <artifactId>genius-karaf</artifactId>
21   <version>0.2.0-SNAPSHOT</version>
22   <name>${project.artifactId}</name>
23
24   <prerequisites>
25     <maven>3.1.1</maven>
26   </prerequisites>
27
28   <properties>
29     <karaf.localFeature>odl-genius-ui</karaf.localFeature>
30   </properties>
31
32   <dependencyManagement>
33     <dependencies>
34       <dependency>
35         <groupId>${project.groupId}</groupId>
36         <artifactId>genius-artifacts</artifactId>
37         <version>${project.version}</version>
38         <type>pom</type>
39         <scope>import</scope>
40       </dependency>
41     </dependencies>
42   </dependencyManagement>
43
44   <dependencies>
45     <dependency>
46       <!-- scope is compile so all features (there is only one) are installed
47       into startup.properties and the feature repo itself is not installed -->
48       <groupId>org.apache.karaf.features</groupId>
49       <artifactId>framework</artifactId>
50       <type>kar</type>
51     </dependency>
52
53     <dependency>
54       <groupId>${project.groupId}</groupId>
55       <artifactId>genius-features</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>