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