BUG-2637: Create features for migrated apps
[openflowplugin.git] / features / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
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">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.openflowplugin</groupId>
6     <artifactId>openflowplugin-parent</artifactId>
7     <version>0.1.0-SNAPSHOT</version>
8     <relativePath>../</relativePath>
9   </parent>
10   <artifactId>features-openflowplugin</artifactId>
11
12   <packaging>jar</packaging>
13
14   <properties>
15     <features.file>features.xml</features.file>
16     <karaf.empty.distro.version>1.5.0-SNAPSHOT</karaf.empty.distro.version>
17     <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
18     <config.configfile.directory>etc/opendaylight/karaf</config.configfile.directory>
19     <config.statistics.manager.configfile>30-statistics-manager.xml</config.statistics.manager.configfile>
20   </properties>
21
22   <dependencies>
23     <!-- feature dependencies -->
24     <dependency>
25       <groupId>org.opendaylight.controller</groupId>
26       <artifactId>features-mdsal</artifactId>
27       <version>${mdsal.version}</version>
28       <classifier>features</classifier>
29       <type>xml</type>
30     </dependency>
31     <dependency>
32       <groupId>org.opendaylight.yangtools</groupId>
33       <artifactId>features-yangtools</artifactId>
34       <classifier>features</classifier>
35       <version>${yangtools.version}</version>
36       <type>xml</type>
37     </dependency>
38     <dependency>
39       <groupId>org.opendaylight.controller</groupId>
40       <artifactId>features-restconf</artifactId>
41       <version>${mdsal.version}</version>
42       <classifier>features</classifier>
43       <type>xml</type>
44     </dependency>
45     <dependency>
46       <groupId>org.opendaylight.openflowjava</groupId>
47       <artifactId>features-openflowjava</artifactId>
48       <version>${openflowjava.version}</version>
49       <classifier>features</classifier>
50       <type>xml</type>
51     </dependency>
52
53     <!-- bundle dependencies -->
54     <dependency>
55       <groupId>org.opendaylight.openflowplugin.model</groupId>
56       <artifactId>model-flow-base</artifactId>
57     </dependency>
58     <dependency>
59       <groupId>org.opendaylight.openflowplugin.model</groupId>
60       <artifactId>model-flow-service</artifactId>
61     </dependency>
62     <dependency>
63       <groupId>org.opendaylight.openflowplugin.model</groupId>
64       <artifactId>model-flow-statistics</artifactId>
65     </dependency>
66     <dependency>
67       <groupId>org.opendaylight.controller.model</groupId>
68       <artifactId>model-inventory</artifactId>
69     </dependency>
70     <dependency>
71       <groupId>org.opendaylight.controller.model</groupId>
72       <artifactId>model-topology</artifactId>
73     </dependency>
74
75     <dependency>
76       <groupId>org.opendaylight.openflowplugin.applications</groupId>
77       <artifactId>forwardingrules-manager</artifactId>
78       <version>${project.version}</version>
79     </dependency>
80     <dependency>
81       <groupId>org.opendaylight.openflowplugin.applications</groupId>
82       <artifactId>inventory-manager</artifactId>
83       <version>${project.version}</version>
84     </dependency>
85     <dependency>
86       <groupId>org.opendaylight.openflowplugin.applications</groupId>
87       <artifactId>lldp-speaker</artifactId>
88       <version>${project.version}</version>
89     </dependency>
90     <dependency>
91       <groupId>org.opendaylight.openflowplugin.applications</groupId>
92       <artifactId>statistics-manager</artifactId>
93       <version>${project.version}</version>
94     </dependency>
95     <dependency>
96       <groupId>org.opendaylight.openflowplugin.applications</groupId>
97       <artifactId>statistics-manager-config</artifactId>
98       <version>${project.version}</version>
99       <classifier>config</classifier>
100       <type>xml</type>
101     </dependency>
102     
103     
104     <dependency>
105       <groupId>org.opendaylight.dlux</groupId>
106       <artifactId>features-dlux</artifactId>
107       <version>${dlux.version}</version>
108       <classifier>features</classifier>
109       <type>xml</type>
110     </dependency>
111
112     <!-- bundle dependencies -->
113     <dependency>
114       <groupId>org.opendaylight.openflowplugin</groupId>
115       <artifactId>openflowplugin-api</artifactId>
116       <version>${project.version}</version>
117     </dependency>
118     <dependency>
119       <groupId>org.opendaylight.openflowplugin</groupId>
120       <artifactId>openflowplugin-extension-api</artifactId>
121       <version>${project.version}</version>
122     </dependency>
123     <dependency>
124       <groupId>org.opendaylight.openflowplugin</groupId>
125       <artifactId>openflowplugin</artifactId>
126       <version>${project.version}</version>
127     </dependency>
128     <dependency>
129       <groupId>org.opendaylight.openflowplugin.applications</groupId>
130       <artifactId>table-miss-enforcer</artifactId>
131       <version>${project.version}</version>
132     </dependency>
133     <dependency>
134       <groupId>org.opendaylight.openflowplugin.applications</groupId>
135       <artifactId>table-miss-enforcer</artifactId>
136       <version>${project.version}</version>
137       <type>xml</type>
138       <classifier>config</classifier>
139     </dependency>
140     
141     <dependency>
142       <groupId>org.opendaylight.openflowplugin.applications</groupId>
143       <artifactId>topology-lldp-discovery</artifactId>
144       <version>${project.version}</version>
145     </dependency>
146     <dependency>
147       <groupId>org.opendaylight.openflowplugin.applications</groupId>
148       <artifactId>topology-manager</artifactId>
149       <version>${project.version}</version>
150     </dependency>
151
152       <dependency>
153           <groupId>org.opendaylight.openflowplugin.applications</groupId>
154           <artifactId>of-switch-config-pusher</artifactId>
155           <version>${project.version}</version>
156       </dependency>
157       <dependency>
158           <groupId>org.opendaylight.openflowplugin.applications</groupId>
159           <artifactId>of-switch-config-pusher</artifactId>
160           <version>${project.version}</version>
161           <type>xml</type>
162           <classifier>config</classifier>
163       </dependency>
164
165     <dependency>
166       <groupId>org.opendaylight.openflowplugin.applications</groupId>
167       <artifactId>lldp-speaker</artifactId>
168       <version>${project.version}</version>
169       <type>xml</type>
170       <classifier>config</classifier>
171     </dependency>
172
173     <dependency>
174       <groupId>org.opendaylight.openflowplugin</groupId>
175       <artifactId>drop-test-karaf</artifactId>
176       <version>${project.version}</version>
177     </dependency>
178     <dependency>
179       <groupId>org.opendaylight.openflowplugin</groupId>
180       <artifactId>test-common</artifactId>
181       <version>${project.version}</version>
182     </dependency>
183     <dependency>
184       <groupId>org.opendaylight.openflowplugin</groupId>
185       <artifactId>openflowplugin-controller-config</artifactId>
186       <version>${project.version}</version>
187       <type>xml</type>
188       <classifier>config</classifier>
189     </dependency>
190     <dependency>
191       <groupId>org.opendaylight.openflowplugin</groupId>
192       <artifactId>openflowplugin-controller-config</artifactId>
193       <version>${project.version}</version>
194       <type>xml</type>
195       <classifier>configmsgspy</classifier>
196     </dependency>
197     <dependency>
198       <groupId>org.opendaylight.controller</groupId>
199       <artifactId>liblldp</artifactId>
200       <version>${sal.api.version}</version>
201     </dependency>
202
203     <!-- test the features.xml -->
204     <dependency>
205       <groupId>org.opendaylight.odlparent</groupId>
206       <artifactId>features-test</artifactId>
207     </dependency>
208     <!-- dependency for opendaylight-karaf-empty for use by testing -->
209     <dependency>
210       <groupId>org.opendaylight.controller</groupId>
211       <artifactId>opendaylight-karaf-empty</artifactId>
212       <version>${karaf.distro.empty.version}</version>
213       <type>zip</type>
214     </dependency>
215   </dependencies>
216
217   <build>
218     <resources>
219       <resource>
220         <filtering>true</filtering>
221         <directory>src/main/resources</directory>
222       </resource>
223     </resources>
224     <plugins>
225       <plugin>
226         <groupId>org.apache.maven.plugins</groupId>
227         <artifactId>maven-resources-plugin</artifactId>
228         <executions>
229           <execution>
230             <id>filter</id>
231             <goals>
232               <goal>resources</goal>
233             </goals>
234             <phase>generate-resources</phase>
235           </execution>
236         </executions>
237       </plugin>
238       <plugin>
239         <groupId>org.codehaus.mojo</groupId>
240         <artifactId>build-helper-maven-plugin</artifactId>
241         <executions>
242           <execution>
243             <id>attach-artifacts</id>
244             <goals>
245               <goal>attach-artifact</goal>
246             </goals>
247             <phase>package</phase>
248             <configuration>
249               <artifacts>
250                 <artifact>
251                   <file>${project.build.directory}/classes/${features.file}</file>
252                   <type>xml</type>
253                   <classifier>features</classifier>
254                 </artifact>
255               </artifacts>
256             </configuration>
257           </execution>
258         </executions>
259       </plugin>
260       <plugin>
261         <groupId>org.apache.maven.plugins</groupId>
262         <artifactId>maven-surefire-plugin</artifactId>
263         <version>2.16</version>
264         <configuration>
265           <systemPropertyVariables>
266             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
267             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
268             <karaf.distro.version>${karaf.empty.distro.version}</karaf.distro.version>
269           </systemPropertyVariables>
270           <dependenciesToScan>
271            <dependency>org.opendaylight.odlparent:features-test</dependency>
272           </dependenciesToScan>
273         </configuration>
274       </plugin>
275     </plugins>
276   </build>
277   <scm>
278     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
279     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
280     <tag>HEAD</tag>
281     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
282   </scm>
283 </project>