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 <version>${project.version}</version>
\r
77 <classifier>features</classifier>
\r
82 Necessary TODO: Put dependencies for bundles directly referenced
\r
83 in your features.xml file. For every <bundle> reference in your
\r
84 features.xml file, you need a corresponding dependency here.
\r
88 <groupId>org.opendaylight.controller</groupId>
\r
89 <artifactId>controller-provider</artifactId>
\r
90 <version>${project.version}</version>
\r
93 <groupId>org.opendaylight.controller</groupId>
\r
94 <artifactId>controller-model</artifactId>
\r
95 <version>${project.version}</version>
\r
99 <groupId>org.opendaylight.openflowplugin.legacy</groupId>
\r
100 <artifactId>sal-compatibility</artifactId>
\r
101 <version>${project.version}</version>
\r
105 Necessary TODO: Put dependencies for configfiles directly referenced
\r
106 in your features.xml file. For every <configfile> reference in your
\r
107 features.xml file, you need a corresponding dependency here.
\r
109 Example (presuming here version is coming from the parent pom):
\r
111 <groupId>org.opendaylight.controller</groupId>
\r
112 <artifactId>controller-config</artifactId>
\r
113 <version>${project.version}</version>
\r
115 <classifier>config</classifier>
\r
120 Optional TODO: Remove TODO comments.
\r
122 <!-- test to validate features.xml -->
\r
124 <groupId>org.opendaylight.yangtools</groupId>
\r
125 <artifactId>features-test</artifactId>
\r
126 <version>${yangtools.version}</version>
\r
127 <scope>test</scope>
\r
129 <!-- dependency for opendaylight-karaf-empty for use by testing -->
\r
131 <groupId>org.opendaylight.controller</groupId>
\r
132 <artifactId>opendaylight-karaf-empty</artifactId>
\r
133 <version>${karaf.distro.empty.version}</version>
\r
136 <!-- 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
138 <groupId>org.slf4j</groupId>
\r
139 <artifactId>slf4j-simple</artifactId>
\r
140 <version>1.7.2</version>
\r
148 <directory>src/main/resources</directory>
\r
149 <filtering>true</filtering>
\r
154 <groupId>org.apache.maven.plugins</groupId>
\r
155 <artifactId>maven-resources-plugin</artifactId>
\r
159 <phase>generate-resources</phase>
\r
161 <goal>resources</goal>
\r
167 <groupId>org.codehaus.mojo</groupId>
\r
168 <artifactId>build-helper-maven-plugin</artifactId>
\r
171 <id>attach-artifacts</id>
\r
172 <phase>package</phase>
\r
174 <goal>attach-artifact</goal>
\r
179 <file>${project.build.directory}/classes/${features.file}</file>
\r
181 <classifier>features</classifier>
\r
189 <groupId>org.apache.maven.plugins</groupId>
\r
190 <artifactId>maven-surefire-plugin</artifactId>
\r
192 <systemPropertyVariables>
\r
193 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
\r
194 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
\r
195 <karaf.distro.version>${karaf.distro.empty.version}</karaf.distro.version>
\r
196 </systemPropertyVariables>
\r
197 <dependenciesToScan>
\r
198 <dependency>org.opendaylight.yangtools:features-test</dependency>
\r
199 </dependenciesToScan>
\r
206 <connection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</connection>
\r
207 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</developerConnection>
\r
208 <url>https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:Main</url>
\r