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>
16 <!-- FIXME: Convert to features-parent -->
18 Necessary TODO: Hookup your parent pom here, else you will not get necessary versions,
19 maven repos etc. If you run this archetype in a subdirectory of your project, it
20 will pick the pom.xml from the parent directory as the parent pom, which may or may
23 <artifactId>features-restconf</artifactId>
24 <groupId>org.opendaylight.netconf</groupId>
25 <version>1.3.0-SNAPSHOT</version>
26 <!-- Optional TODO: Uncomment version if you are not using a parent pom.xml
27 <version>1.2.0-SNAPSHOT</version>
29 <packaging>jar</packaging>
31 <features.file>features.xml</features.file>
35 Necessary TODO: Put dependencies on any feature repos
36 you use in your features.xml file.
38 Note: they will need to be <type>xml</xml>
39 and <classifier>features</classifier>.
40 One other thing to watch for is to make sure they are
41 <scope>compile</compile>, which they should be by default,
42 but be cautious lest they be at a different scope in a parent pom.
46 <groupId>org.opendaylight.yangtools</groupId>
47 <artifactId>features-yangtools</artifactId>
48 <version>0.8.0-SNAPSHOT</version>
49 <classifier>features</classifier>
53 <groupId>org.opendaylight.controller</groupId>
54 <artifactId>features-mdsal</artifactId>
55 <version>1.3.0-SNAPSHOT</version>
56 <classifier>features</classifier>
60 <groupId>org.opendaylight.openflowplugin</groupId>
61 <artifactId>features-openflowplugin</artifactId>
62 <version>0.2.0-SNAPSHOT</version>
63 <classifier>features</classifier>
69 Necessary TODO: Put dependencies for bundles directly referenced
70 in your features.xml file. For every <bundle> reference in your
71 features.xml file, you need a corresponding dependency here.
75 <groupId>org.opendaylight.controller</groupId>
76 <artifactId>controller-provider</artifactId>
77 <version>${project.version}</version>
80 <groupId>org.opendaylight.controller</groupId>
81 <artifactId>controller-model</artifactId>
82 <version>${project.version}</version>
87 Necessary TODO: Put dependencies for configfiles directly referenced
88 in your features.xml file. For every <configfile> reference in your
89 features.xml file, you need a corresponding dependency here.
91 Example (presuming here version is coming from the parent pom):
93 <groupId>org.opendaylight.controller</groupId>
94 <artifactId>controller-config</artifactId>
95 <version>${project.version}</version>
97 <classifier>config</classifier>
101 <groupId>org.opendaylight.yangtools</groupId>
102 <artifactId>features-yangtools</artifactId>
103 <version>${yangtools.version}</version>
104 <classifier>features</classifier>
108 <groupId>org.opendaylight.controller</groupId>
109 <artifactId>features-mdsal</artifactId>
110 <version>${controller.mdsal.version}</version>
111 <classifier>features</classifier>
115 <groupId>org.opendaylight.aaa</groupId>
116 <artifactId>features-aaa</artifactId>
117 <version>${aaa.version}</version>
118 <classifier>features</classifier>
123 <groupId>org.opendaylight.controller</groupId>
124 <artifactId>sal-remote</artifactId>
128 <groupId>org.opendaylight.netconf</groupId>
129 <artifactId>sal-rest-connector</artifactId>
130 <version>${restconf.version}</version>
134 <groupId>org.apache.commons</groupId>
135 <artifactId>commons-lang3</artifactId>
139 <groupId>com.google.code.gson</groupId>
140 <artifactId>gson</artifactId>
143 <groupId>org.opendaylight.yangtools</groupId>
144 <artifactId>yang-model-export</artifactId>
145 <version>${yangtools.version}</version>
149 <groupId>javax.ws.rs</groupId>
150 <artifactId>javax.ws.rs-api</artifactId>
153 <groupId>javax.servlet</groupId>
154 <artifactId>javax.servlet-api</artifactId>
157 <groupId>io.netty</groupId>
158 <artifactId>netty-buffer</artifactId>
161 <groupId>io.netty</groupId>
162 <artifactId>netty-codec</artifactId>
165 <groupId>io.netty</groupId>
166 <artifactId>netty-codec-http</artifactId>
169 <groupId>io.netty</groupId>
170 <artifactId>netty-common</artifactId>
173 <groupId>io.netty</groupId>
174 <artifactId>netty-handler</artifactId>
177 <groupId>io.netty</groupId>
178 <artifactId>netty-transport</artifactId>
182 <groupId>org.opendaylight.netconf</groupId>
183 <artifactId>sal-rest-connector-config</artifactId>
184 <version>${restconf.version}</version>
186 <classifier>config</classifier>
190 <groupId>org.opendaylight.netconf</groupId>
191 <artifactId>sal-rest-connector-config</artifactId>
192 <version>${restconf.version}</version>
194 <classifier>configrestconfservice</classifier>
198 <groupId>com.fasterxml.jackson.core</groupId>
199 <artifactId>jackson-annotations</artifactId>
202 <groupId>com.fasterxml.jackson.core</groupId>
203 <artifactId>jackson-core</artifactId>
206 <groupId>com.fasterxml.jackson.core</groupId>
207 <artifactId>jackson-databind</artifactId>
210 <groupId>com.fasterxml.jackson.datatype</groupId>
211 <artifactId>jackson-datatype-json-org</artifactId>
214 <groupId>com.fasterxml.jackson.module</groupId>
215 <artifactId>jackson-module-jaxb-annotations</artifactId>
218 <groupId>com.fasterxml.jackson.jaxrs</groupId>
219 <artifactId>jackson-jaxrs-base</artifactId>
222 <groupId>com.fasterxml.jackson.jaxrs</groupId>
223 <artifactId>jackson-jaxrs-json-provider</artifactId>
226 <groupId>org.json</groupId>
227 <artifactId>json</artifactId>
231 <groupId>org.opendaylight.yangtools</groupId>
232 <artifactId>yang-data-codec-gson</artifactId>
236 <groupId>org.opendaylight.netconf</groupId>
237 <artifactId>sal-rest-docgen</artifactId>
238 <version>${restconf.version}</version>
242 Optional TODO: Remove TODO comments.
244 <!-- test to validate features.xml -->
246 <groupId>org.opendaylight.odlparent</groupId>
247 <artifactId>features-test</artifactId>
250 <!-- dependency for opendaylight-karaf-empty for use by testing -->
252 <groupId>org.opendaylight.controller</groupId>
253 <artifactId>opendaylight-karaf-empty</artifactId>
254 <version>${commons.opendaylight.version}</version>
258 <!-- 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;
260 <groupId>org.slf4j</groupId>
261 <artifactId>slf4j-simple</artifactId>
262 <version>1.7.2</version>
270 <directory>src/main/resources</directory>
271 <filtering>true</filtering>
276 <groupId>org.apache.maven.plugins</groupId>
277 <artifactId>maven-resources-plugin</artifactId>
281 <phase>generate-resources</phase>
283 <goal>resources</goal>
289 <groupId>org.codehaus.mojo</groupId>
290 <artifactId>build-helper-maven-plugin</artifactId>
293 <id>attach-artifacts</id>
294 <phase>package</phase>
296 <goal>attach-artifact</goal>
301 <file>${project.build.directory}/classes/${features.file}</file>
303 <classifier>features</classifier>
311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-surefire-plugin</artifactId>
313 <version>${surefire.version}</version>
315 <systemPropertyVariables>
316 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
317 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
318 <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
319 </systemPropertyVariables>
321 <dependency>org.opendaylight.odlparent:features-test</dependency>
322 </dependenciesToScan>
328 <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
329 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
331 <url>https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=summary</url>