Add .gitreview to startup archetype
[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>${project.artifactId}</name>
24
25   <properties>
26     <karaf.localFeature>odl-${artifactId}-ui</karaf.localFeature>
27   </properties>
28
29   <dependencyManagement>
30     <dependencies>
31       <dependency>
32         <groupId>${symbol_dollar}{project.groupId}</groupId>
33         <artifactId>${artifactId}-artifacts</artifactId>
34         <version>${symbol_dollar}{project.version}</version>
35         <type>pom</type>
36         <scope>import</scope>
37       </dependency>
38     </dependencies>
39   </dependencyManagement>
40
41   <dependencies>
42     <dependency>
43       <!-- scope is compile so all features (there is only one) are installed
44       into startup.properties and the feature repo itself is not installed -->
45       <groupId>org.apache.karaf.features</groupId>
46       <artifactId>framework</artifactId>
47       <type>kar</type>
48     </dependency>
49
50     <dependency>
51       <groupId>${symbol_dollar}{project.groupId}</groupId>
52       <artifactId>${artifactId}-features</artifactId>
53       <classifier>features</classifier>
54       <type>xml</type>
55       <scope>runtime</scope>
56     </dependency>
57   </dependencies>
58
59   <build>
60     <plugins>
61       <!-- DO NOT deploy the karaf artifact -->
62       <plugin>
63         <groupId>org.apache.maven.plugins</groupId>
64         <artifactId>maven-deploy-plugin</artifactId>
65         <configuration>
66           <skip>true</skip>
67         </configuration>
68       </plugin>
69     </plugins>
70   </build>
71 </project>