4bcb2b5dc7df1a20683740f76a750e1475316d22
[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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12   <modelVersion>4.0.0</modelVersion>
13
14   <parent>
15     <groupId>org.opendaylight.odlparent</groupId>
16     <artifactId>karaf-parent</artifactId>
17     <version>1.8.0-SNAPSHOT</version>
18   </parent>
19
20   <groupId>${groupId}</groupId>
21   <artifactId>${artifactId}-karaf</artifactId>
22   <version>${version}</version>
23   <!-- <name> formatting is used by autorelease to parse and notify projects on
24        build failure. Please do not modify this unless you have a good reason. -->
25   <name>ODL :: ${groupId} :: ${project.artifactId}</name>
26
27   <properties>
28     <karaf.localFeature>odl-${artifactId}-ui</karaf.localFeature>
29   </properties>
30
31   <dependencyManagement>
32     <dependencies>
33       <dependency>
34         <groupId>${symbol_dollar}{project.groupId}</groupId>
35         <artifactId>${artifactId}-artifacts</artifactId>
36         <version>${symbol_dollar}{project.version}</version>
37         <type>pom</type>
38         <scope>import</scope>
39       </dependency>
40     </dependencies>
41   </dependencyManagement>
42
43   <dependencies>
44     <dependency>
45       <!-- scope is compile so all features (there is only one) are installed
46       into startup.properties and the feature repo itself is not installed -->
47       <groupId>org.apache.karaf.features</groupId>
48       <artifactId>framework</artifactId>
49       <type>kar</type>
50     </dependency>
51
52     <dependency>
53       <groupId>${symbol_dollar}{project.groupId}</groupId>
54       <artifactId>${artifactId}-features</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 </project>