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