32196777007ee058363ae0de3f95bf568d754e77
[netvirt.git] / elanmanager / impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others.
4
5 All rights reserved. This program and the accompanying materials are made
6 available under the terms of the Eclipse Public License v1.0 which accompanies
7 this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11
12     <parent>
13         <groupId>org.opendaylight.netvirt</groupId>
14         <artifactId>managed-tx-parent</artifactId>
15         <version>0.7.0-SNAPSHOT</version>
16         <relativePath>../../commons/managed-tx-parent</relativePath>
17     </parent>
18
19     <artifactId>elanmanager-impl</artifactId>
20     <name>ODL :: netvirt :: ${project.artifactId}</name>
21     <packaging>bundle</packaging>
22     <modelVersion>4.0.0</modelVersion>
23
24     <dependencies>
25         <dependency>
26             <groupId>${project.groupId}</groupId>
27             <artifactId>elanmanager-api</artifactId>
28             <version>${project.version}</version>
29         </dependency>
30         <dependency>
31             <groupId>org.opendaylight.genius</groupId>
32             <artifactId>interfacemanager-api</artifactId>
33             <version>${genius.version}</version>
34         </dependency>
35         <dependency>
36             <groupId>org.opendaylight.genius</groupId>
37             <artifactId>itm-api</artifactId>
38             <version>${genius.version}</version>
39         </dependency>
40         <dependency>
41             <groupId>org.opendaylight.genius</groupId>
42             <artifactId>tools-api</artifactId>
43             <version>${genius.version}</version>
44         </dependency>
45         <dependency>
46             <groupId>org.opendaylight.genius</groupId>
47             <artifactId>mdsalutil-api</artifactId>
48             <version>${genius.version}</version>
49         </dependency>
50         <dependency>
51             <groupId>org.opendaylight.genius</groupId>
52             <artifactId>srm-api</artifactId>
53             <version>${genius.version}</version>
54         </dependency>
55         <dependency>
56             <groupId>org.opendaylight.infrautils</groupId>
57             <artifactId>diagstatus-api</artifactId>
58             <version>${infrautils.version}</version>
59         </dependency>
60         <dependency>
61             <groupId>org.opendaylight.netvirt</groupId>
62             <artifactId>cache-impl</artifactId>
63             <version>${project.version}</version>
64             <scope>test</scope>
65         </dependency>
66         <dependency>
67             <groupId>org.ops4j.pax.cdi</groupId>
68             <artifactId>pax-cdi-api</artifactId>
69             <optional>true</optional>
70         </dependency>
71         <dependency>
72             <groupId>${project.groupId}</groupId>
73             <artifactId>neutronvpn-api</artifactId>
74             <version>${project.version}</version>
75         </dependency>
76         <dependency>
77             <groupId>org.opendaylight.controller</groupId>
78             <artifactId>sal-binding-broker-impl</artifactId>
79         </dependency>
80         <dependency>
81             <groupId>org.opendaylight.ovsdb</groupId>
82             <artifactId>hwvtepsouthbound-api</artifactId>
83             <version>${ovsdb.version}</version>
84         </dependency>
85         <dependency>
86             <groupId>org.opendaylight.neutron</groupId>
87             <artifactId>model</artifactId>
88             <version>${neutron.version}</version>
89         </dependency>
90         <dependency>
91             <groupId>org.apache.karaf.shell</groupId>
92             <artifactId>org.apache.karaf.shell.console</artifactId>
93             <scope>provided</scope>
94         </dependency>
95         <dependency>
96             <groupId>${project.groupId}</groupId>
97             <artifactId>dhcpservice-api</artifactId>
98             <version>${project.version}</version>
99         </dependency>
100         <dependency>
101             <groupId>org.opendaylight.ovsdb</groupId>
102             <artifactId>southbound-api</artifactId>
103             <version>${ovsdb.version}</version>
104         </dependency>
105         <dependency>
106             <groupId>org.opendaylight.ovsdb</groupId>
107             <artifactId>utils.mdsal-utils</artifactId>
108             <version>${ovsdb.version}</version>
109         </dependency>
110         <dependency>
111             <groupId>org.opendaylight.ovsdb</groupId>
112             <artifactId>utils.southbound-utils</artifactId>
113             <version>${ovsdb.version}</version>
114         </dependency>
115         <dependency>
116             <groupId>${project.groupId}</groupId>
117             <artifactId>vpnmanager-api</artifactId>
118             <version>${project.version}</version>
119         </dependency>
120         <dependency>
121             <groupId>org.opendaylight.openflowplugin</groupId>
122             <artifactId>openflowplugin-extension-nicira</artifactId>
123             <version>${openflowplugin.version}</version>
124         </dependency>
125         <dependency>
126             <groupId>org.opendaylight.openflowplugin.model</groupId>
127             <artifactId>model-flow-service</artifactId>
128             <version>${openflowplugin.version}</version>
129         </dependency>
130         <dependency>
131             <groupId>org.opendaylight.openflowplugin.model</groupId>
132             <artifactId>model-flow-base</artifactId>
133             <version>${openflowplugin.version}</version>
134         </dependency>
135
136         <!-- Only for unit-test -->
137         <dependency>
138             <groupId>org.opendaylight.yangtools</groupId>
139             <artifactId>testutils</artifactId>
140             <scope>test</scope>
141         </dependency>
142         <dependency>
143             <groupId>org.opendaylight.genius</groupId>
144             <artifactId>mdsalutil-api</artifactId>
145             <version>${genius.version}</version>
146             <scope>test</scope>
147             <type>test-jar</type>
148         </dependency>
149         <dependency>
150             <groupId>org.opendaylight.genius</groupId>
151             <artifactId>mdsalutil-impl</artifactId>
152             <version>${genius.version}</version>
153             <scope>test</scope>
154         </dependency>
155         <dependency>
156             <groupId>org.opendaylight.controller</groupId>
157             <artifactId>sal-binding-broker-impl</artifactId>
158             <scope>test</scope>
159             <type>test-jar</type>
160         </dependency>
161         <dependency>
162             <groupId>org.opendaylight.mdsal</groupId>
163             <artifactId>mdsal-binding-test-utils</artifactId>
164             <scope>test</scope>
165         </dependency>
166         <dependency>
167             <groupId>org.opendaylight.genius</groupId>
168             <artifactId>lockmanager-impl</artifactId>
169             <version>${genius.version}</version>
170             <scope>test</scope>
171         </dependency>
172         <dependency>
173             <groupId>org.opendaylight.genius</groupId>
174             <artifactId>idmanager-impl</artifactId>
175             <version>${genius.version}</version>
176             <scope>test</scope>
177         </dependency>
178         <dependency>
179             <groupId>org.opendaylight.genius</groupId>
180             <artifactId>interfacemanager-impl</artifactId>
181             <version>${genius.version}</version>
182             <scope>test</scope>
183         </dependency>
184         <dependency>
185             <groupId>org.opendaylight.infrautils</groupId>
186             <artifactId>metrics-impl-test</artifactId>
187             <version>${infrautils.version}</version>
188             <scope>test</scope>
189         </dependency>
190         <dependency>
191             <groupId>org.opendaylight.infrautils</groupId>
192             <artifactId>inject.guice.testutils</artifactId>
193             <version>${infrautils.version}</version>
194             <scope>test</scope>
195         </dependency>
196         <dependency>
197             <groupId>org.opendaylight.infrautils</groupId>
198             <artifactId>infrautils-testutils</artifactId>
199             <version>${infrautils.version}</version>
200             <scope>test</scope>
201         </dependency>
202         <dependency>
203           <groupId>org.opendaylight.infrautils</groupId>
204           <artifactId>caches-test</artifactId>
205           <version>${infrautils.version}</version>
206           <scope>test</scope>
207         </dependency>
208         <dependency>
209             <groupId>org.opendaylight.genius</groupId>
210             <artifactId>mdsalutil-testutils</artifactId>
211             <version>${genius.version}</version>
212             <scope>test</scope>
213         </dependency>
214         <dependency>
215             <groupId>org.opendaylight.netvirt</groupId>
216             <artifactId>neutronvpn-impl</artifactId>
217             <version>${project.version}</version>
218             <scope>test</scope>
219         </dependency>
220         <dependency>
221             <groupId>org.opendaylight.genius</groupId>
222             <artifactId>testutils</artifactId>
223             <version>${genius.version}</version>
224             <scope>test</scope>
225         </dependency>
226     </dependencies>
227
228     <build>
229         <plugins>
230             <plugin>
231                 <groupId>org.apache.aries.blueprint</groupId>
232                 <artifactId>blueprint-maven-plugin</artifactId>
233             </plugin>
234             <plugin>
235                 <groupId>org.apache.felix</groupId>
236                 <artifactId>maven-bundle-plugin</artifactId>
237                 <extensions>true</extensions>
238                 <configuration>
239                     <instructions>
240                         <Embed-Transitive>true</Embed-Transitive>
241                         <!-- We purposely don't export any packages to avoid any dependencies
242                              on this bundle and prevent @Singleton annotated classes from being
243                              accidently included in another bundle's blueprint XML  -->
244                         <Export-Package/>
245                     </instructions>
246                 </configuration>
247             </plugin>
248             <plugin>
249                 <groupId>org.codehaus.mojo</groupId>
250                 <artifactId>build-helper-maven-plugin</artifactId>
251                 <executions>
252                     <execution>
253                         <id>attach-artifacts</id>
254                         <goals>
255                             <goal>attach-artifact</goal>
256                         </goals>
257                         <phase>package</phase>
258                         <configuration>
259                             <artifacts>
260                                 <artifact>
261                                     <file>${project.build.directory}/classes/initial/netvirt-elanmanager-config.xml
262                                     </file>
263                                     <type>xml</type>
264                                     <classifier>config</classifier>
265                                 </artifact>
266                             </artifacts>
267                         </configuration>
268                     </execution>
269                 </executions>
270             </plugin>
271             <plugin>
272                 <groupId>org.eclipse.xtend</groupId>
273                 <artifactId>xtend-maven-plugin</artifactId>
274             </plugin>
275             <!-- TODO Remove this when we upgrade to odlparent with a fix for ODLPARENT-146 -->
276             <plugin>
277                 <groupId>org.codehaus.mojo</groupId>
278                 <artifactId>findbugs-maven-plugin</artifactId>
279                 <configuration>
280                     <failOnError>false</failOnError>
281                 </configuration>
282             </plugin>
283         </plugins>
284     </build>
285
286 </project>