Fixed few sonar warnings.
[controller.git] / opendaylight / archetypes / opendaylight-karaf-features / src / main / resources / archetype-resources / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Necessary TODO: Put your copyright here.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <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">
10    <modelVersion>4.0.0</modelVersion>
11    <parent>
12       <groupId>org.opendaylight.odlparent</groupId>
13       <artifactId>features-parent</artifactId>
14       <version>1.8.0-SNAPSHOT</version>
15    </parent>
16    <artifactId>features-${repoName}</artifactId>
17    <groupId>${groupId}</groupId>
18    <version>${version}</version>
19    <packaging>jar</packaging>
20    <properties>
21       <features.file>features.xml</features.file>
22       <branding.version>1.4.0-SNAPSHOT</branding.version>
23       <karaf.resources.version>1.8.0-SNAPSHOT</karaf.resources.version>
24       <feature.test.version>1.8.0-SNAPSHOT</feature.test.version>
25       <karaf.empty.version>1.8.0-SNAPSHOT</karaf.empty.version>
26    </properties>
27    <dependencies>
28     <!--
29       Necessary TODO: Put dependencies on any feature repos
30       you use in your features.xml file.
31
32       Note: they will need to be <type>xml</xml>
33       and <classifier>features</classifier>.
34       One other thing to watch for is to make sure they are
35       <scope>compile</compile>, which they should be by default,
36       but be cautious lest they be at a different scope in a parent pom.
37
38       Examples:
39         <dependency>
40           <groupId>org.opendaylight.yangtools</groupId>
41           <artifactId>features-yangtools</artifactId>
42           <version>0.10.0-SNAPSHOT</version>
43           <classifier>features</classifier>
44           <type>xml</type>
45         </dependency>
46         <dependency>
47           <groupId>org.opendaylight.controller</groupId>
48           <artifactId>features-mdsal</artifactId>
49           <version>1.5.0-SNAPSHOT</version>
50           <classifier>features</classifier>
51           <type>xml</type>
52         </dependency>
53         <dependency>
54           <groupId>org.opendaylight.openflowplugin</groupId>
55           <artifactId>features-openflowplugin</artifactId>
56           <version>0.4.0-SNAPSHOT</version>
57           <classifier>features</classifier>
58           <type>xml</type>
59         </dependency>
60     -->
61
62     <!--
63       Necessary TODO: Put dependencies for bundles directly referenced
64       in your features.xml file.  For every <bundle> reference in your
65       features.xml file, you need a corresponding dependency here.
66
67       Examples:
68       <dependency>
69         <groupId>${groupId}</groupId>
70         <artifactId>${repoName}-provider</artifactId>
71         <version>${project.version}</version>
72       </dependency>
73       <dependency>
74         <groupId>${groupId}</groupId>
75         <artifactId>${repoName}-model</artifactId>
76         <version>${project.version}</version>
77       </dependency>
78     -->
79
80     <!--
81       Necessary TODO: Put dependencies for configfiles directly referenced
82       in your features.xml file.  For every <configfile> reference in your
83       features.xml file, you need a corresponding dependency here.
84
85       Example (presuming here version is coming from the parent pom):
86       <dependency>
87         <groupId>${groupId}</groupId>
88         <artifactId>${repoName}-config</artifactId>
89         <version>${project.version}</version>
90         <type>xml</type>
91         <classifier>config</classifier>
92       </dependency>
93     -->
94
95     <!--
96       Optional TODO: Remove TODO comments.
97     -->
98     <!-- test to validate features.xml -->
99     <dependency>
100       <groupId>org.opendaylight.odlparent</groupId>
101       <artifactId>features-test</artifactId>
102       <version>${feature.test.version}</version>
103       <scope>test</scope>
104     </dependency>
105     <!-- dependency for opendaylight-karaf-empty for use by testing -->
106     <dependency>
107       <groupId>org.opendaylight.controller</groupId>
108       <artifactId>opendaylight-karaf-empty</artifactId>
109       <version>${karaf.empty.version}</version>
110       <type>zip</type>
111     </dependency>
112     <!-- Uncomment this if you get an error : java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;
113     <dependency>
114       <groupId>org.slf4j</groupId>
115       <artifactId>slf4j-simple</artifactId>
116       <version>1.7.2</version>
117     </dependency>
118     -->
119
120    </dependencies>
121    <scm>
122       <connection>scm:git:ssh://git.opendaylight.org:29418/${repoName}.git</connection>
123       <developerConnection>scm:git:ssh://git.opendaylight.org:29418/${repoName}.git</developerConnection>
124       <tag>HEAD</tag>
125       <url>https://git.opendaylight.org/gerrit/gitweb?p=${repoName}.git;a=summary</url>
126    </scm>
127 </project>