Integrate openconfig tutorial into packaging
[coretutorials.git] / hello / hello-karaf / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015 Cisco Systems and others. All rights reserved.
4 This program and the accompanying materials are made available under the
5 terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
7 -->
8 <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">
9   <parent>
10     <groupId>org.opendaylight.controller</groupId>
11     <artifactId>karaf-parent</artifactId>
12     <version>1.5.0-SNAPSHOT</version>
13     <relativePath/>
14   </parent>
15   <modelVersion>4.0.0</modelVersion>
16   <groupId>org.opendaylight.coretutorials</groupId>
17   <artifactId>hello-karaf</artifactId>
18   <version>1.0.0-SNAPSHOT</version>
19   <name>${project.artifactId}</name>
20   <prerequisites>
21     <maven>3.1.1</maven>
22   </prerequisites>
23   <properties>
24     <karaf.localFeature>odl-hello-impl-ui</karaf.localFeature>
25   </properties>
26   <dependencyManagement>
27     <dependencies>
28       <dependency>
29         <groupId>${project.groupId}</groupId>
30         <artifactId>hello-artifacts</artifactId>
31         <version>${project.version}</version>
32         <type>pom</type>
33         <scope>import</scope>
34       </dependency>
35     </dependencies>
36   </dependencyManagement>
37   <dependencies>
38     <dependency>
39       <!-- scope is compile so all features (there is only one) are installed
40       into startup.properties and the feature repo itself is not installed -->
41       <groupId>org.apache.karaf.features</groupId>
42       <artifactId>framework</artifactId>
43       <type>kar</type>
44     </dependency>
45
46     <dependency>
47       <groupId>${project.groupId}</groupId>
48       <artifactId>hello-features</artifactId>
49       <classifier>features</classifier>
50       <type>xml</type>
51       <scope>runtime</scope>
52     </dependency>
53   </dependencies>
54 </project>