Bug-2827: role switch proposal
[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     <dependency>
112       <groupId>org.opendaylight.controller</groupId>
113       <artifactId>features-netconf-connector</artifactId>
114       <version>${netconf.version}</version>
115       <classifier>features</classifier>
116       <type>xml</type>
117     </dependency>
118
119     <!-- bundle dependencies -->
120     <dependency>
121       <groupId>org.opendaylight.openflowplugin</groupId>
122       <artifactId>openflowplugin-api</artifactId>
123       <version>${project.version}</version>
124     </dependency>
125     <dependency>
126       <groupId>org.opendaylight.openflowplugin</groupId>
127       <artifactId>openflowplugin-extension-api</artifactId>
128       <version>${project.version}</version>
129     </dependency>
130     <dependency>
131       <groupId>org.opendaylight.openflowplugin</groupId>
132       <artifactId>openflowplugin</artifactId>
133       <version>${project.version}</version>
134     </dependency>
135     <dependency>
136       <groupId>org.opendaylight.openflowplugin.applications</groupId>
137       <artifactId>table-miss-enforcer</artifactId>
138       <version>${project.version}</version>
139     </dependency>
140     <dependency>
141       <groupId>org.opendaylight.openflowplugin.applications</groupId>
142       <artifactId>table-miss-enforcer</artifactId>
143       <version>${project.version}</version>
144       <type>xml</type>
145       <classifier>config</classifier>
146     </dependency>
147     
148     <dependency>
149       <groupId>org.opendaylight.openflowplugin.applications</groupId>
150       <artifactId>topology-lldp-discovery</artifactId>
151       <version>${project.version}</version>
152     </dependency>
153     <dependency>
154       <groupId>org.opendaylight.openflowplugin.applications</groupId>
155       <artifactId>topology-manager</artifactId>
156       <version>${project.version}</version>
157     </dependency>
158
159       <dependency>
160           <groupId>org.opendaylight.openflowplugin.applications</groupId>
161           <artifactId>of-switch-config-pusher</artifactId>
162           <version>${project.version}</version>
163       </dependency>
164       <dependency>
165           <groupId>org.opendaylight.openflowplugin.applications</groupId>
166           <artifactId>of-switch-config-pusher</artifactId>
167           <version>${project.version}</version>
168           <type>xml</type>
169           <classifier>config</classifier>
170       </dependency>
171
172     <dependency>
173       <groupId>org.opendaylight.openflowplugin.applications</groupId>
174       <artifactId>lldp-speaker</artifactId>
175       <version>${project.version}</version>
176       <type>xml</type>
177       <classifier>config</classifier>
178     </dependency>
179
180     <dependency>
181       <groupId>org.opendaylight.openflowplugin</groupId>
182       <artifactId>drop-test-karaf</artifactId>
183       <version>${project.version}</version>
184     </dependency>
185     <dependency>
186       <groupId>org.opendaylight.openflowplugin</groupId>
187       <artifactId>test-common</artifactId>
188       <version>${project.version}</version>
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>config</classifier>
196     </dependency>
197     <dependency>
198       <groupId>org.opendaylight.openflowplugin</groupId>
199       <artifactId>openflowplugin-controller-config</artifactId>
200       <version>${project.version}</version>
201       <type>xml</type>
202       <classifier>configmsgspy</classifier>
203     </dependency>
204     <dependency>
205       <groupId>org.opendaylight.controller</groupId>
206       <artifactId>liblldp</artifactId>
207       <version>${sal.api.version}</version>
208     </dependency>
209
210     <!-- test the features.xml -->
211     <dependency>
212       <groupId>org.opendaylight.odlparent</groupId>
213       <artifactId>features-test</artifactId>
214     </dependency>
215     <!-- dependency for opendaylight-karaf-empty for use by testing -->
216     <dependency>
217       <groupId>org.opendaylight.controller</groupId>
218       <artifactId>opendaylight-karaf-empty</artifactId>
219       <version>${karaf.distro.empty.version}</version>
220       <type>zip</type>
221     </dependency>
222   </dependencies>
223
224   <build>
225     <resources>
226       <resource>
227         <filtering>true</filtering>
228         <directory>src/main/resources</directory>
229       </resource>
230     </resources>
231     <plugins>
232       <plugin>
233         <groupId>org.apache.maven.plugins</groupId>
234         <artifactId>maven-resources-plugin</artifactId>
235         <executions>
236           <execution>
237             <id>filter</id>
238             <goals>
239               <goal>resources</goal>
240             </goals>
241             <phase>generate-resources</phase>
242           </execution>
243         </executions>
244       </plugin>
245       <plugin>
246         <groupId>org.codehaus.mojo</groupId>
247         <artifactId>build-helper-maven-plugin</artifactId>
248         <executions>
249           <execution>
250             <id>attach-artifacts</id>
251             <goals>
252               <goal>attach-artifact</goal>
253             </goals>
254             <phase>package</phase>
255             <configuration>
256               <artifacts>
257                 <artifact>
258                   <file>${project.build.directory}/classes/${features.file}</file>
259                   <type>xml</type>
260                   <classifier>features</classifier>
261                 </artifact>
262               </artifacts>
263             </configuration>
264           </execution>
265         </executions>
266       </plugin>
267       <plugin>
268         <groupId>org.apache.maven.plugins</groupId>
269         <artifactId>maven-surefire-plugin</artifactId>
270         <version>2.16</version>
271         <configuration>
272           <systemPropertyVariables>
273             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
274             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
275             <karaf.distro.version>${karaf.empty.distro.version}</karaf.distro.version>
276           </systemPropertyVariables>
277           <dependenciesToScan>
278            <dependency>org.opendaylight.odlparent:features-test</dependency>
279           </dependenciesToScan>
280         </configuration>
281       </plugin>
282     </plugins>
283   </build>
284   <scm>
285     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
286     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
287     <tag>HEAD</tag>
288     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
289   </scm>
290 </project>