1 <?xml version="1.0" encoding="UTF-8"?>
3 Necessary TODO: Put your copyright here.
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 --><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">
9 <modelVersion>4.0.0</modelVersion>
11 <groupId>org.opendaylight.netconf</groupId>
12 <artifactId>netconf-features-parent</artifactId>
13 <version>1.0.0-SNAPSHOT</version>
14 <relativePath>..</relativePath>
17 Necessary TODO: Hookup your parent pom here, else you will not get necessary versions,
18 maven repos etc. If you run this archetype in a subdirectory of your project, it
19 will pick the pom.xml from the parent directory as the parent pom, which may or may
22 <artifactId>features-restconf</artifactId>
23 <groupId>org.opendaylight.netconf</groupId>
24 <version>1.3.0-SNAPSHOT</version>
25 <!-- Optional TODO: Uncomment version if you are not using a parent pom.xml
26 <version>1.2.0-SNAPSHOT</version>
28 <packaging>jar</packaging>
30 <features.file>features.xml</features.file>
34 Necessary TODO: Put dependencies on any feature repos
35 you use in your features.xml file.
37 Note: they will need to be <type>xml</xml>
38 and <classifier>features</classifier>.
39 One other thing to watch for is to make sure they are
40 <scope>compile</compile>, which they should be by default,
41 but be cautious lest they be at a different scope in a parent pom.
45 <groupId>org.opendaylight.yangtools</groupId>
46 <artifactId>features-yangtools</artifactId>
47 <version>0.8.0-SNAPSHOT</version>
48 <classifier>features</classifier>
52 <groupId>org.opendaylight.controller</groupId>
53 <artifactId>features-mdsal</artifactId>
54 <version>1.3.0-SNAPSHOT</version>
55 <classifier>features</classifier>
59 <groupId>org.opendaylight.openflowplugin</groupId>
60 <artifactId>features-openflowplugin</artifactId>
61 <version>0.2.0-SNAPSHOT</version>
62 <classifier>features</classifier>
68 Necessary TODO: Put dependencies for bundles directly referenced
69 in your features.xml file. For every <bundle> reference in your
70 features.xml file, you need a corresponding dependency here.
74 <groupId>org.opendaylight.controller</groupId>
75 <artifactId>controller-provider</artifactId>
76 <version>${project.version}</version>
79 <groupId>org.opendaylight.controller</groupId>
80 <artifactId>controller-model</artifactId>
81 <version>${project.version}</version>
86 Necessary TODO: Put dependencies for configfiles directly referenced
87 in your features.xml file. For every <configfile> reference in your
88 features.xml file, you need a corresponding dependency here.
90 Example (presuming here version is coming from the parent pom):
92 <groupId>org.opendaylight.controller</groupId>
93 <artifactId>controller-config</artifactId>
94 <version>${project.version}</version>
96 <classifier>config</classifier>
100 <groupId>org.opendaylight.yangtools</groupId>
101 <artifactId>features-yangtools</artifactId>
102 <version>${yangtools.version}</version>
103 <classifier>features</classifier>
107 <groupId>org.opendaylight.controller</groupId>
108 <artifactId>features-mdsal</artifactId>
109 <version>${mdsal.version}</version>
110 <classifier>features</classifier>
114 <groupId>org.opendaylight.aaa</groupId>
115 <artifactId>features-aaa</artifactId>
116 <version>${aaa.version}</version>
117 <classifier>features</classifier>
122 <groupId>org.opendaylight.controller</groupId>
123 <artifactId>sal-remote</artifactId>
127 <groupId>org.opendaylight.netconf</groupId>
128 <artifactId>sal-rest-connector</artifactId>
129 <version>${restconf.version}</version>
133 <groupId>com.google.code.gson</groupId>
134 <artifactId>gson</artifactId>
138 <groupId>com.sun.jersey</groupId>
139 <artifactId>jersey-core</artifactId>
142 <groupId>com.sun.jersey</groupId>
143 <artifactId>jersey-server</artifactId>
146 <groupId>com.sun.jersey</groupId>
147 <artifactId>jersey-servlet</artifactId>
150 <groupId>io.netty</groupId>
151 <artifactId>netty-buffer</artifactId>
154 <groupId>io.netty</groupId>
155 <artifactId>netty-codec</artifactId>
158 <groupId>io.netty</groupId>
159 <artifactId>netty-codec-http</artifactId>
162 <groupId>io.netty</groupId>
163 <artifactId>netty-common</artifactId>
166 <groupId>io.netty</groupId>
167 <artifactId>netty-handler</artifactId>
170 <groupId>io.netty</groupId>
171 <artifactId>netty-transport</artifactId>
175 <groupId>org.opendaylight.netconf</groupId>
176 <artifactId>sal-rest-connector-config</artifactId>
177 <version>${restconf.version}</version>
179 <classifier>config</classifier>
183 <groupId>com.fasterxml.jackson.core</groupId>
184 <artifactId>jackson-annotations</artifactId>
187 <groupId>com.fasterxml.jackson.core</groupId>
188 <artifactId>jackson-core</artifactId>
191 <groupId>com.fasterxml.jackson.core</groupId>
192 <artifactId>jackson-databind</artifactId>
195 <groupId>com.fasterxml.jackson.datatype</groupId>
196 <artifactId>jackson-datatype-json-org</artifactId>
199 <groupId>com.fasterxml.jackson.module</groupId>
200 <artifactId>jackson-module-jaxb-annotations</artifactId>
203 <groupId>com.fasterxml.jackson.jaxrs</groupId>
204 <artifactId>jackson-jaxrs-base</artifactId>
207 <groupId>com.fasterxml.jackson.jaxrs</groupId>
208 <artifactId>jackson-jaxrs-json-provider</artifactId>
211 <groupId>org.json</groupId>
212 <artifactId>json</artifactId>
216 <groupId>org.opendaylight.yangtools</groupId>
217 <artifactId>yang-data-codec-gson</artifactId>
221 <groupId>org.opendaylight.controller.samples</groupId>
222 <artifactId>clustering-it-model</artifactId>
223 <version>${mdsal.version}</version>
226 <groupId>org.opendaylight.controller.samples</groupId>
227 <artifactId>clustering-it-provider</artifactId>
228 <version>${mdsal.version}</version>
231 <groupId>org.opendaylight.controller.samples</groupId>
232 <artifactId>clustering-it-config</artifactId>
233 <version>${mdsal.version}</version>
235 <classifier>config</classifier>
238 <groupId>org.opendaylight.controller.samples</groupId>
239 <artifactId>clustering-it-config</artifactId>
240 <version>${mdsal.version}</version>
242 <classifier>testmoduleshardconf</classifier>
245 <groupId>org.opendaylight.controller.samples</groupId>
246 <artifactId>clustering-it-config</artifactId>
247 <version>${mdsal.version}</version>
249 <classifier>testmoduleconf</classifier>
252 <groupId>org.opendaylight.netconf</groupId>
253 <artifactId>sal-rest-docgen</artifactId>
254 <version>${restconf.version}</version>
258 Optional TODO: Remove TODO comments.
260 <!-- test to validate features.xml -->
262 <groupId>org.opendaylight.odlparent</groupId>
263 <artifactId>features-test</artifactId>
266 <!-- dependency for opendaylight-karaf-empty for use by testing -->
268 <groupId>org.opendaylight.controller</groupId>
269 <artifactId>opendaylight-karaf-empty</artifactId>
270 <version>${commons.opendaylight.version}</version>
273 <!-- 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;
275 <groupId>org.slf4j</groupId>
276 <artifactId>slf4j-simple</artifactId>
277 <version>1.7.2</version>
285 <directory>src/main/resources</directory>
286 <filtering>true</filtering>
291 <groupId>org.apache.maven.plugins</groupId>
292 <artifactId>maven-resources-plugin</artifactId>
296 <phase>generate-resources</phase>
298 <goal>resources</goal>
304 <groupId>org.codehaus.mojo</groupId>
305 <artifactId>build-helper-maven-plugin</artifactId>
308 <id>attach-artifacts</id>
309 <phase>package</phase>
311 <goal>attach-artifact</goal>
316 <file>${project.build.directory}/classes/${features.file}</file>
318 <classifier>features</classifier>
326 <groupId>org.apache.maven.plugins</groupId>
327 <artifactId>maven-surefire-plugin</artifactId>
328 <version>${surefire.version}</version>
330 <systemPropertyVariables>
331 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
332 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
333 <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
334 </systemPropertyVariables>
336 <dependency>org.opendaylight.odlparent:features-test</dependency>
337 </dependenciesToScan>
343 <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
344 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
346 <url>https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=summary</url>