1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
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.controller</groupId>
12 <artifactId>sal-parent</artifactId>
13 <version>1.2.0-SNAPSHOT</version>
14 <relativePath>../../opendaylight/md-sal</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-netconf-connector</artifactId>
23 <!-- Optional TODO: Uncomment version if you are not using a parent pom.xml
24 <version>1.1.0-SNAPSHOT</version>
26 <packaging>jar</packaging>
28 <features.file>features.xml</features.file>
32 Necessary TODO: Put dependencies on any feature repos
33 you use in your features.xml file.
35 Note: they will need to be <type>xml</xml>
36 and <classifier>features</classifier>.
37 One other thing to watch for is to make sure they are
38 <scope>compile</compile>, which they should be by default,
39 but be cautious lest they be at a different scope in a parent pom.
43 <groupId>org.opendaylight.yangtools</groupId>
44 <artifactId>features-yangtools</artifactId>
45 <version>0.7.0-SNAPSHOT</version>
46 <classifier>features</classifier>
50 <groupId>org.opendaylight.controller</groupId>
51 <artifactId>features-mdsal</artifactId>
52 <version>1.2.0-SNAPSHOT</version>
53 <classifier>features</classifier>
57 <groupId>org.opendaylight.openflowplugin</groupId>
58 <artifactId>features-openflowplugin</artifactId>
59 <version>0.1.0-SNAPSHOT</version>
60 <classifier>features</classifier>
65 <groupId>org.opendaylight.yangtools</groupId>
66 <artifactId>features-yangtools</artifactId>
67 <version>${yangtools.version}</version>
68 <classifier>features</classifier>
72 <groupId>org.opendaylight.controller</groupId>
73 <artifactId>features-mdsal</artifactId>
74 <version>${mdsal.version}</version>
75 <classifier>features</classifier>
79 <groupId>org.opendaylight.controller</groupId>
80 <artifactId>features-netconf</artifactId>
81 <version>${netconf.version}</version>
82 <classifier>features</classifier>
86 <groupId>org.opendaylight.aaa</groupId>
87 <artifactId>features-aaa</artifactId>
88 <version>${aaa.version}</version>
89 <classifier>features</classifier>
94 Necessary TODO: Put dependencies for bundles directly referenced
95 in your features.xml file. For every <bundle> reference in your
96 features.xml file, you need a corresponding dependency here.
100 <groupId>org.opendaylight.controller</groupId>
101 <artifactId>controller-provider</artifactId>
102 <version>${project.version}</version>
105 <groupId>org.opendaylight.controller</groupId>
106 <artifactId>controller-model</artifactId>
107 <version>${project.version}</version>
111 <groupId>org.opendaylight.controller</groupId>
112 <artifactId>sal-netconf-connector</artifactId>
115 <groupId>org.opendaylight.controller.model</groupId>
116 <artifactId>model-inventory</artifactId>
119 <groupId>org.opendaylight.controller</groupId>
120 <artifactId>netconf-config-dispatcher</artifactId>
123 <groupId>org.opendaylight.controller</groupId>
124 <artifactId>netconf-tcp</artifactId>
127 <groupId>org.opendaylight.controller</groupId>
128 <artifactId>netconf-ssh</artifactId>
131 <groupId>org.bouncycastle</groupId>
132 <artifactId>bcpkix-jdk15on</artifactId>
135 <groupId>org.bouncycastle</groupId>
136 <artifactId>bcprov-jdk15on</artifactId>
142 <groupId>org.opendaylight.controller</groupId>
143 <artifactId>messagebus-api</artifactId>
146 <groupId>org.opendaylight.controller</groupId>
147 <artifactId>messagebus-impl</artifactId>
150 <groupId>org.opendaylight.controller</groupId>
151 <artifactId>messagebus-config</artifactId>
152 <version>${mdsal.version}</version>
154 <classifier>config</classifier>
157 <groupId>org.opendaylight.controller</groupId>
158 <artifactId>netconf-connector-config</artifactId>
159 <version>${netconf.version}</version>
161 <classifier>config</classifier>
165 Necessary TODO: Put dependencies for configfiles directly referenced
166 in your features.xml file. For every <configfile> reference in your
167 features.xml file, you need a corresponding dependency here.
169 Example (presuming here version is coming from the parent pom):
171 <groupId>org.opendaylight.controller</groupId>
172 <artifactId>controller-config</artifactId>
173 <version>${project.version}</version>
175 <classifier>config</classifier>
180 Optional TODO: Remove TODO comments.
182 <!-- test to validate features.xml -->
183 <!--FIXME BUG-2195 When running single feature tests for netconf connector, features including ssh proxy server always fail (this behavior does not appear when running karaf distro directly)-->
185 <groupId>org.opendaylight.odlparent</groupId>
186 <artifactId>features-test</artifactId>
189 <!-- dependency for opendaylight-karaf-empty for use by testing -->
191 <groupId>org.opendaylight.controller</groupId>
192 <artifactId>opendaylight-karaf-empty</artifactId>
193 <version>${commons.opendaylight.version}</version>
196 <!-- 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;
198 <groupId>org.slf4j</groupId>
199 <artifactId>slf4j-simple</artifactId>
200 <version>1.7.2</version>
208 <directory>src/main/resources</directory>
209 <filtering>true</filtering>
214 <groupId>org.apache.maven.plugins</groupId>
215 <artifactId>maven-resources-plugin</artifactId>
219 <phase>generate-resources</phase>
221 <goal>resources</goal>
227 <groupId>org.codehaus.mojo</groupId>
228 <artifactId>build-helper-maven-plugin</artifactId>
231 <id>attach-artifacts</id>
232 <phase>package</phase>
234 <goal>attach-artifact</goal>
239 <file>${project.build.directory}/classes/${features.file}</file>
241 <classifier>features</classifier>
249 <groupId>org.apache.maven.plugins</groupId>
250 <artifactId>maven-surefire-plugin</artifactId>
252 <systemPropertyVariables>
253 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
254 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
255 <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
256 </systemPropertyVariables>
258 <dependency>org.opendaylight.odlparent:features-test</dependency>
259 </dependenciesToScan>
265 <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
266 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
268 <url>https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=summary</url>