1 <?xml version="1.0" encoding="UTF-8"?>
\r
3 Necessary TODO: Put your copyright here.
\r
5 This program and the accompanying materials are made available under the
\r
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
\r
7 and is available at http://www.eclipse.org/legal/epl-v10.html
\r
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">
\r
9 <modelVersion>4.0.0</modelVersion>
\r
11 <groupId>org.opendaylight.controller</groupId>
\r
12 <artifactId>commons.opendaylight</artifactId>
\r
13 <version>1.4.3-SNAPSHOT</version>
\r
14 <relativePath>../../opendaylight/commons/opendaylight</relativePath>
\r
16 <artifactId>features-adsal-compatibility</artifactId>
\r
17 <packaging>jar</packaging>
\r
19 <features.file>features.xml</features.file>
\r
20 <feature.test.version>0.6.3-SNAPSHOT</feature.test.version>
\r
24 Necessary TODO: Put dependencies on any feature repos
\r
25 you use in your features.xml file.
\r
27 Note: they will need to be <type>xml</xml>
\r
28 and <classifier>features</classifier>.
\r
29 One other thing to watch for is to make sure they are
\r
30 <scope>compile</compile>, which they should be by default,
\r
31 but be cautious lest they be at a different scope in a parent pom.
\r
35 <groupId>org.opendaylight.yangtools</groupId>
\r
36 <artifactId>features-yangtools</artifactId>
\r
37 <version>0.6.3-SNAPSHOT</version>
\r
38 <classifier>features</classifier>
\r
42 <groupId>org.opendaylight.controller</groupId>
\r
43 <artifactId>features-mdsal</artifactId>
\r
44 <version>1.1.1-SNAPSHOT</version>
\r
45 <classifier>features</classifier>
\r
49 <groupId>org.opendaylight.openflowplugin</groupId>
\r
50 <artifactId>features-openflowplugin</artifactId>
\r
51 <version>0.0.4-SNAPSHOT</version>
\r
52 <classifier>features</classifier>
\r
57 <groupId>org.opendaylight.controller</groupId>
\r
58 <artifactId>features-mdsal</artifactId>
\r
59 <version>${mdsal.version}</version>
\r
60 <classifier>features</classifier>
\r
64 <groupId>org.opendaylight.controller</groupId>
\r
65 <artifactId>features-flow</artifactId>
\r
66 <version>${mdsal.version}</version>
\r
67 <classifier>features</classifier>
\r
71 <groupId>org.opendaylight.controller</groupId>
\r
72 <artifactId>features-adsal</artifactId>
\r
73 <version>${sal.version}</version>
\r
74 <classifier>features</classifier>
\r
79 Necessary TODO: Put dependencies for bundles directly referenced
\r
80 in your features.xml file. For every <bundle> reference in your
\r
81 features.xml file, you need a corresponding dependency here.
\r
85 <groupId>org.opendaylight.controller</groupId>
\r
86 <artifactId>controller-provider</artifactId>
\r
87 <version>${project.version}</version>
\r
90 <groupId>org.opendaylight.controller</groupId>
\r
91 <artifactId>controller-model</artifactId>
\r
92 <version>${project.version}</version>
\r
96 <groupId>org.opendaylight.controller</groupId>
\r
97 <artifactId>sal-compatibility</artifactId>
\r
98 <version>${mdsal.version}</version>
\r
102 Necessary TODO: Put dependencies for configfiles directly referenced
\r
103 in your features.xml file. For every <configfile> reference in your
\r
104 features.xml file, you need a corresponding dependency here.
\r
106 Example (presuming here version is coming from the parent pom):
\r
108 <groupId>org.opendaylight.controller</groupId>
\r
109 <artifactId>controller-config</artifactId>
\r
110 <version>${project.version}</version>
\r
112 <classifier>config</classifier>
\r
117 Optional TODO: Remove TODO comments.
\r
119 <!-- test to validate features.xml -->
\r
121 <groupId>org.opendaylight.yangtools</groupId>
\r
122 <artifactId>features-test</artifactId>
\r
123 <version>${feature.test.version}</version>
\r
124 <scope>test</scope>
\r
126 <!-- dependency for opendaylight-karaf-empty for use by testing -->
\r
128 <groupId>org.opendaylight.controller</groupId>
\r
129 <artifactId>opendaylight-karaf-empty</artifactId>
\r
130 <version>${commons.opendaylight.version}</version>
\r
133 <!-- 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;
\r
135 <groupId>org.slf4j</groupId>
\r
136 <artifactId>slf4j-simple</artifactId>
\r
137 <version>1.7.2</version>
\r
145 <directory>src/main/resources</directory>
\r
146 <filtering>true</filtering>
\r
151 <groupId>org.apache.maven.plugins</groupId>
\r
152 <artifactId>maven-resources-plugin</artifactId>
\r
156 <phase>generate-resources</phase>
\r
158 <goal>resources</goal>
\r
164 <groupId>org.codehaus.mojo</groupId>
\r
165 <artifactId>build-helper-maven-plugin</artifactId>
\r
168 <id>attach-artifacts</id>
\r
169 <phase>package</phase>
\r
171 <goal>attach-artifact</goal>
\r
176 <file>${project.build.directory}/classes/${features.file}</file>
\r
178 <classifier>features</classifier>
\r
186 <groupId>org.apache.maven.plugins</groupId>
\r
187 <artifactId>maven-surefire-plugin</artifactId>
\r
188 <version>${surefire.version}</version>
\r
190 <systemPropertyVariables>
\r
191 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
\r
192 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
\r
193 <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
\r
194 </systemPropertyVariables>
\r
195 <dependenciesToScan>
\r
196 <dependency>org.opendaylight.yangtools:features-test</dependency>
\r
197 </dependenciesToScan>
\r
203 <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
\r
204 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
\r
206 <url>https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=summary</url>
\r