Start openflowplugin-artifacts
[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     <controller.model.version>1.2.0-SNAPSHOT</controller.model.version>
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     </dependency>
79     <dependency>
80       <groupId>org.opendaylight.openflowplugin.applications</groupId>
81       <artifactId>inventory-manager</artifactId>
82     </dependency>
83     <dependency>
84       <groupId>org.opendaylight.openflowplugin.applications</groupId>
85       <artifactId>lldp-speaker</artifactId>
86     </dependency>
87     <dependency>
88       <groupId>org.opendaylight.openflowplugin.applications</groupId>
89       <artifactId>statistics-manager</artifactId>
90     </dependency>
91     <dependency>
92       <groupId>org.opendaylight.openflowplugin.applications</groupId>
93       <artifactId>statistics-manager-config</artifactId>
94       <classifier>config</classifier>
95       <type>xml</type>
96     </dependency>
97
98
99     <dependency>
100       <groupId>org.opendaylight.dlux</groupId>
101       <artifactId>features-dlux</artifactId>
102       <version>${dlux.version}</version>
103       <classifier>features</classifier>
104       <type>xml</type>
105     </dependency>
106     <dependency>
107       <groupId>org.opendaylight.controller</groupId>
108       <artifactId>features-netconf-connector</artifactId>
109       <version>${mdsal.version}</version>
110       <classifier>features</classifier>
111       <type>xml</type>
112     </dependency>
113
114     <!-- bundle dependencies -->
115     <dependency>
116       <groupId>org.opendaylight.openflowplugin</groupId>
117       <artifactId>openflowplugin-api</artifactId>
118     </dependency>
119     <dependency>
120       <groupId>org.opendaylight.openflowplugin</groupId>
121       <artifactId>openflowplugin-extension-api</artifactId>
122     </dependency>
123     <dependency>
124       <groupId>org.opendaylight.openflowplugin</groupId>
125       <artifactId>openflowplugin</artifactId>
126     </dependency>
127     <dependency>
128       <groupId>org.opendaylight.openflowplugin.applications</groupId>
129       <artifactId>table-miss-enforcer</artifactId>
130     </dependency>
131     <dependency>
132       <groupId>org.opendaylight.openflowplugin.applications</groupId>
133       <artifactId>table-miss-enforcer</artifactId>
134       <type>xml</type>
135       <classifier>config</classifier>
136     </dependency>
137     
138     <dependency>
139       <groupId>org.opendaylight.openflowplugin.applications</groupId>
140       <artifactId>topology-lldp-discovery</artifactId>
141     </dependency>
142     <dependency>
143       <groupId>org.opendaylight.openflowplugin.applications</groupId>
144       <artifactId>topology-manager</artifactId>
145     </dependency>
146
147     <dependency>
148       <groupId>org.opendaylight.openflowplugin.applications</groupId>
149       <artifactId>of-switch-config-pusher</artifactId>
150     </dependency>
151     <dependency>
152       <groupId>org.opendaylight.openflowplugin.applications</groupId>
153       <artifactId>of-switch-config-pusher</artifactId>
154       <type>xml</type>
155       <classifier>config</classifier>
156     </dependency>
157
158     <dependency>
159       <groupId>org.opendaylight.openflowplugin.applications</groupId>
160       <artifactId>lldp-speaker</artifactId>
161       <type>xml</type>
162       <classifier>config</classifier>
163     </dependency>
164
165     <dependency>
166       <groupId>org.opendaylight.openflowplugin</groupId>
167       <artifactId>drop-test-karaf</artifactId>
168     </dependency>
169     <dependency>
170       <groupId>org.opendaylight.openflowplugin</groupId>
171       <artifactId>test-common</artifactId>
172     </dependency>
173     <dependency>
174       <groupId>org.opendaylight.openflowplugin</groupId>
175       <artifactId>openflowplugin-controller-config</artifactId>
176       <type>xml</type>
177       <classifier>config</classifier>
178     </dependency>
179     <dependency>
180       <groupId>org.opendaylight.openflowplugin</groupId>
181       <artifactId>openflowplugin-controller-config</artifactId>
182       <type>xml</type>
183       <classifier>configmsgspy</classifier>
184     </dependency>
185     <dependency>
186       <groupId>org.opendaylight.controller</groupId>
187       <artifactId>liblldp</artifactId>
188       <version>${sal.api.version}</version>
189     </dependency>
190
191     <!-- test the features.xml -->
192     <dependency>
193       <groupId>org.opendaylight.odlparent</groupId>
194       <artifactId>features-test</artifactId>
195     </dependency>
196     <!-- dependency for opendaylight-karaf-empty for use by testing -->
197     <dependency>
198       <groupId>org.opendaylight.controller</groupId>
199       <artifactId>opendaylight-karaf-empty</artifactId>
200       <version>${karaf.distro.empty.version}</version>
201       <type>zip</type>
202     </dependency>
203   </dependencies>
204
205   <build>
206     <resources>
207       <resource>
208         <filtering>true</filtering>
209         <directory>src/main/resources</directory>
210       </resource>
211     </resources>
212     <plugins>
213       <plugin>
214         <groupId>org.apache.maven.plugins</groupId>
215         <artifactId>maven-resources-plugin</artifactId>
216         <executions>
217           <execution>
218             <id>filter</id>
219             <goals>
220               <goal>resources</goal>
221             </goals>
222             <phase>generate-resources</phase>
223           </execution>
224         </executions>
225       </plugin>
226       <plugin>
227         <groupId>org.codehaus.mojo</groupId>
228         <artifactId>build-helper-maven-plugin</artifactId>
229         <executions>
230           <execution>
231             <id>attach-artifacts</id>
232             <goals>
233               <goal>attach-artifact</goal>
234             </goals>
235             <phase>package</phase>
236             <configuration>
237               <artifacts>
238                 <artifact>
239                   <file>${project.build.directory}/classes/${features.file}</file>
240                   <type>xml</type>
241                   <classifier>features</classifier>
242                 </artifact>
243               </artifacts>
244             </configuration>
245           </execution>
246         </executions>
247       </plugin>
248       <plugin>
249         <groupId>org.apache.maven.plugins</groupId>
250         <artifactId>maven-surefire-plugin</artifactId>
251         <version>2.16</version>
252         <configuration>
253           <systemPropertyVariables>
254             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
255             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
256             <karaf.distro.version>${karaf.empty.distro.version}</karaf.distro.version>
257           </systemPropertyVariables>
258           <dependenciesToScan>
259            <dependency>org.opendaylight.odlparent:features-test</dependency>
260           </dependenciesToScan>
261         </configuration>
262       </plugin>
263     </plugins>
264   </build>
265   <scm>
266     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
267     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
268     <tag>HEAD</tag>
269     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
270   </scm>
271 </project>