7cf4270b7e79fbcd2f60aa5b15229ea2f924be84
[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} 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   <parent>
13     <groupId>org.opendaylight.controller</groupId>
14     <artifactId>karaf-parent</artifactId>
15     <version>1.6.0-SNAPSHOT</version>
16     <relativePath/>
17   </parent>
18   <modelVersion>4.0.0</modelVersion>
19   <groupId>${groupId}</groupId>
20   <artifactId>${artifactId}-karaf</artifactId>
21   <version>${version}</version>
22   <name>${project.artifactId}</name>
23   <prerequisites>
24     <maven>3.1.1</maven>
25   </prerequisites>
26   <properties>
27     <karaf.localFeature>odl-${artifactId}-ui</karaf.localFeature>
28   </properties>
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   <dependencies>
41     <dependency>
42       <!-- scope is compile so all features (there is only one) are installed
43       into startup.properties and the feature repo itself is not installed -->
44       <groupId>org.apache.karaf.features</groupId>
45       <artifactId>framework</artifactId>
46       <type>kar</type>
47     </dependency>
48
49     <dependency>
50       <groupId>${symbol_dollar}{project.groupId}</groupId>
51       <artifactId>${artifactId}-features</artifactId>
52       <classifier>features</classifier>
53       <type>xml</type>
54       <scope>runtime</scope>
55     </dependency>
56   </dependencies>
57   <!-- DO NOT install or deploy the karaf artifact -->
58   <build>
59     <plugins>
60       <plugin>
61         <groupId>org.apache.maven.plugins</groupId>
62         <artifactId>maven-deploy-plugin</artifactId>
63         <configuration>
64           <skip>true</skip>
65         </configuration>
66       </plugin>
67     </plugins>
68   </build>
69 </project>