1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <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
3 <modelVersion>4.0.0</modelVersion>
\r
5 <groupId>org.opendaylight.openflowplugin.legacy</groupId>
\r
6 <artifactId>legacy-parent</artifactId>
\r
7 <version>0.1.0-SNAPSHOT</version>
\r
8 <relativePath>../</relativePath>
\r
11 <artifactId>features-legacy</artifactId>
\r
12 <packaging>jar</packaging>
\r
14 <features.file>features.xml</features.file>
\r
15 <feature.test.version>0.7.0-SNAPSHOT</feature.test.version>
\r
16 <sal.version>0.9.0-SNAPSHOT</sal.version>
\r
20 Necessary TODO: Put dependencies on any feature repos
\r
21 you use in your features.xml file.
\r
23 Note: they will need to be <type>xml</xml>
\r
24 and <classifier>features</classifier>.
\r
25 One other thing to watch for is to make sure they are
\r
26 <scope>compile</compile>, which they should be by default,
\r
27 but be cautious lest they be at a different scope in a parent pom.
\r
31 <groupId>org.opendaylight.yangtools</groupId>
\r
32 <artifactId>features-yangtools</artifactId>
\r
33 <version>0.7.0-SNAPSHOT</version>
\r
34 <classifier>features</classifier>
\r
38 <groupId>org.opendaylight.controller</groupId>
\r
39 <artifactId>features-mdsal</artifactId>
\r
40 <version>1.2.0-SNAPSHOT</version>
\r
41 <classifier>features</classifier>
\r
45 <groupId>org.opendaylight.openflowplugin</groupId>
\r
46 <artifactId>features-openflowplugin</artifactId>
\r
47 <version>0.1.0-SNAPSHOT</version>
\r
48 <classifier>features</classifier>
\r
53 <groupId>org.opendaylight.controller</groupId>
\r
54 <artifactId>features-mdsal</artifactId>
\r
55 <version>${mdsal.version}</version>
\r
56 <classifier>features</classifier>
\r
60 <groupId>org.opendaylight.controller</groupId>
\r
61 <artifactId>features-flow</artifactId>
\r
62 <version>${mdsal.version}</version>
\r
63 <classifier>features</classifier>
\r
67 <groupId>org.opendaylight.controller</groupId>
\r
68 <artifactId>features-adsal</artifactId>
\r
69 <version>${sal.version}</version>
\r
70 <classifier>features</classifier>
\r
74 <groupId>org.opendaylight.openflowplugin</groupId>
\r
75 <artifactId>features-openflowplugin</artifactId>
\r
76 <classifier>features</classifier>
\r
81 Necessary TODO: Put dependencies for bundles directly referenced
\r
82 in your features.xml file. For every <bundle> reference in your
\r
83 features.xml file, you need a corresponding dependency here.
\r
87 <groupId>org.opendaylight.controller</groupId>
\r
88 <artifactId>controller-provider</artifactId>
\r
89 <version>${project.version}</version>
\r
92 <groupId>org.opendaylight.controller</groupId>
\r
93 <artifactId>controller-model</artifactId>
\r
94 <version>${project.version}</version>
\r
98 <groupId>org.opendaylight.openflowplugin.legacy</groupId>
\r
99 <artifactId>sal-compatibility</artifactId>
\r
103 Necessary TODO: Put dependencies for configfiles directly referenced
\r
104 in your features.xml file. For every <configfile> reference in your
\r
105 features.xml file, you need a corresponding dependency here.
\r
107 Example (presuming here version is coming from the parent pom):
\r
109 <groupId>org.opendaylight.controller</groupId>
\r
110 <artifactId>controller-config</artifactId>
\r
111 <version>${project.version}</version>
\r
113 <classifier>config</classifier>
\r
118 Optional TODO: Remove TODO comments.
\r
120 <!-- test to validate features.xml -->
\r
122 <groupId>org.opendaylight.odlparent</groupId>
\r
123 <artifactId>features-test</artifactId>
\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>${karaf.distro.empty.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
189 <systemPropertyVariables>
\r
190 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
\r
191 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
\r
192 <karaf.distro.version>${karaf.distro.empty.version}</karaf.distro.version>
\r
193 </systemPropertyVariables>
\r
194 <dependenciesToScan>
\r
195 <dependency>org.opendaylight.odlparent:features-test</dependency>
\r
196 </dependenciesToScan>
\r
203 <connection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</connection>
\r
204 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</developerConnection>
\r
205 <url>https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:Main</url>
\r