Migrate to odlparent 1.9.0
[controller.git] / opendaylight / archetypes / opendaylight-startup / src / main / resources / archetype-resources / karaf / pom.xml
1 #set( $symbol_pound = '#' )
2 #set( $symbol_dollar = '$' )
3 #set( $symbol_escape = '\' )
4 <?xml version="1.0" encoding="UTF-8"?>
5 <!--
6 Copyright © ${copyrightYear} ${copyright} and others. All rights reserved.
7 This program and the accompanying materials are made available under the
8 terms of the Eclipse Public License v1.0 which accompanies this distribution,
9 and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
10 -->
11 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
12          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
13
14   <modelVersion>4.0.0</modelVersion>
15
16   <parent>
17     <groupId>org.opendaylight.odlparent</groupId>
18     <artifactId>karaf-parent</artifactId>
19     <version>1.9.0</version>
20   </parent>
21
22   <groupId>${groupId}</groupId>
23   <artifactId>${artifactId}-karaf</artifactId>
24   <version>${version}</version>
25   <!-- <name> formatting is used by autorelease to parse and notify projects on
26        build failure. Please do not modify this unless you have a good reason. -->
27   <name>ODL :: ${groupId} :: ${project.artifactId}</name>
28
29   <properties>
30     <karaf.localFeature>odl-${artifactId}-ui</karaf.localFeature>
31   </properties>
32
33   <dependencyManagement>
34     <dependencies>
35       <dependency>
36         <groupId>${symbol_dollar}{project.groupId}</groupId>
37         <artifactId>${artifactId}-artifacts</artifactId>
38         <version>${symbol_dollar}{project.version}</version>
39         <type>pom</type>
40         <scope>import</scope>
41       </dependency>
42     </dependencies>
43   </dependencyManagement>
44
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     <dependency>
55       <groupId>${symbol_dollar}{project.groupId}</groupId>
56       <artifactId>${artifactId}-features</artifactId>
57       <classifier>features</classifier>
58       <type>xml</type>
59       <scope>runtime</scope>
60     </dependency>
61   </dependencies>
62
63   <build>
64     <plugins>
65       <!-- DO NOT deploy the karaf artifact -->
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 </project>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.