36508ca70982a4bfef695c34bc0f58298f595269
[controller.git] / opendaylight / archetypes / opendaylight-karaf-distro-archetype / src / main / resources / archetype-resources / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.odlparent</groupId>
6     <artifactId>karaf-parent</artifactId>
7     <version>1.8.0-SNAPSHOT</version>
8   </parent>
9
10   <groupId>${groupId}</groupId>
11   <artifactId>${artifactId}</artifactId>
12   <version>${version}</version>
13   <packaging>pom</packaging>
14   <name>${project.artifactId}</name>
15
16   <prerequisites>
17     <maven>3.1.1</maven>
18   </prerequisites>
19
20   <properties>
21     <!-- If you want a feature included with the featuresBoot in
22          etc/org.apache.karaf.features.cfg, uncomment karaf.localFeature and set
23          to your feature.
24     <karaf.localFeature>odl-${artifactId}-ui</karaf.localFeature>
25     -->
26   </properties>
27
28   <dependencies>
29     <!-- scope is compile so all features (there is only one) are installed
30          into startup.properties and the feature repo itself is not installed -->
31     <dependency>
32       <groupId>org.apache.karaf.features</groupId>
33       <artifactId>framework</artifactId>
34       <type>kar</type>
35     </dependency>
36
37     <!-- Project local feautures -->
38     <!--
39       Necessary TODO put your features here.
40
41       Note: they will need to be <type>xml</xml>
42       and <classifier>features</classifier>.
43
44       Note: they must be <scope>runtime</scope>
45
46       Note: usually you would only need to depend
47       on your own feature file here for your local distro,
48       and possible the features-mdsal for odl-restconf
49       (although, strange situations do exist :) )
50
51       Example:
52       <dependency>
53         <groupId>org.opendaylight.controller</groupId>
54         <artifactId>features-mdsal</artifactId>
55         <classifier>features</classifier>
56         <type>xml</type>
57         <scope>runtime</scope>
58       </dependency>
59       <dependency>
60         <groupId>org.opendaylight.openflowplugin</groupId>
61         <artifactId>features-openflowplugin</artifactId>
62         <version>0.4.0-SNAPSHOT</version>
63         <classifier>features</classifier>
64         <type>xml</type>
65         <scope>runtime</scope>
66       </dependency>
67     -->
68   </dependencies>
69
70   <build>
71     <plugins>
72       <!-- DO NOT deploy the karaf artifact -->
73       <plugin>
74         <groupId>org.apache.maven.plugins</groupId>
75         <artifactId>maven-deploy-plugin</artifactId>
76         <configuration>
77           <skip>true</skip>
78         </configuration>
79       </plugin>
80     </plugins>
81   </build>
82
83   <scm>
84     <connection>scm:git:ssh://git.opendaylight.org:29418/${repoName}.git</connection>
85     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/${repoName}.git</developerConnection>
86     <tag>HEAD</tag>
87     <url>https://git.opendaylight.org/gerrit/gitweb?p=${repoName}.git;a=summary</url>
88   </scm>
89 </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.