efd94ce92a29f8f1c5ea8494052eabc570494bc9
[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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
10
11     <parent>
12         <groupId>org.opendaylight.netvirt</groupId>
13         <artifactId>binding-parent</artifactId>
14         <version>0.11.0-SNAPSHOT</version>
15         <relativePath>../../commons/binding-parent</relativePath>
16     </parent>
17
18     <artifactId>elanmanager-impl</artifactId>
19     <name>ODL :: netvirt :: ${project.artifactId}</name>
20     <packaging>bundle</packaging>
21     <modelVersion>4.0.0</modelVersion>
22
23   <dependencyManagement>
24     <dependencies>
25       <dependency>
26         <groupId>com.google.inject</groupId>
27         <artifactId>guice</artifactId>
28         <version>4.2.2</version>
29       </dependency>
30     </dependencies>
31   </dependencyManagement>
32
33     <dependencies>
34         <dependency>
35             <groupId>${project.groupId}</groupId>
36             <artifactId>elanmanager-api</artifactId>
37             <version>${project.version}</version>
38         </dependency>
39         <dependency>
40             <groupId>org.opendaylight.genius</groupId>
41             <artifactId>interfacemanager-api</artifactId>
42             <version>${genius.version}</version>
43         </dependency>
44         <dependency>
45             <groupId>org.opendaylight.genius</groupId>
46             <artifactId>itm-api</artifactId>
47             <version>${genius.version}</version>
48         </dependency>
49         <dependency>
50             <groupId>org.opendaylight.serviceutils</groupId>
51             <artifactId>tools-api</artifactId>
52         </dependency>
53         <dependency>
54             <groupId>org.opendaylight.genius</groupId>
55             <artifactId>mdsalutil-api</artifactId>
56             <version>${genius.version}</version>
57         </dependency>
58         <dependency>
59             <groupId>org.opendaylight.serviceutils</groupId>
60             <artifactId>srm-api</artifactId>
61         </dependency>
62         <dependency>
63             <groupId>org.opendaylight.infrautils</groupId>
64             <artifactId>diagstatus-api</artifactId>
65             <version>${infrautils.version}</version>
66         </dependency>
67         <dependency>
68             <groupId>org.opendaylight.netvirt</groupId>
69             <artifactId>cache-impl</artifactId>
70             <version>${project.version}</version>
71             <scope>test</scope>
72         </dependency>
73         <dependency>
74             <groupId>${project.groupId}</groupId>
75             <artifactId>neutronvpn-api</artifactId>
76             <version>${project.version}</version>
77         </dependency>
78 <!--        <dependency>
79             <groupId>org.opendaylight.controller</groupId>
80             <artifactId>sal-binding-broker-impl</artifactId>
81         </dependency>-->
82        <dependency>
83             <groupId>org.opendaylight.mdsal</groupId>
84             <artifactId>mdsal-binding-dom-adapter</artifactId>
85        </dependency>
86         <dependency>
87             <groupId>org.opendaylight.ovsdb</groupId>
88             <artifactId>hwvtepsouthbound-api</artifactId>
89             <version>${ovsdb.version}</version>
90         </dependency>
91         <dependency>
92             <groupId>org.opendaylight.neutron</groupId>
93             <artifactId>model</artifactId>
94             <version>${neutron.version}</version>
95         </dependency>
96         <dependency>
97             <groupId>org.apache.karaf.shell</groupId>
98             <artifactId>org.apache.karaf.shell.console</artifactId>
99             <scope>provided</scope>
100         </dependency>
101         <dependency>
102             <groupId>${project.groupId}</groupId>
103             <artifactId>dhcpservice-api</artifactId>
104             <version>${project.version}</version>
105         </dependency>
106         <dependency>
107             <groupId>org.opendaylight.ovsdb</groupId>
108             <artifactId>southbound-api</artifactId>
109             <version>${ovsdb.version}</version>
110         </dependency>
111         <dependency>
112             <groupId>org.opendaylight.ovsdb</groupId>
113             <artifactId>utils.mdsal-utils</artifactId>
114             <version>${ovsdb.version}</version>
115         </dependency>
116         <dependency>
117             <groupId>org.opendaylight.ovsdb</groupId>
118             <artifactId>utils.southbound-utils</artifactId>
119             <version>${ovsdb.version}</version>
120         </dependency>
121         <dependency>
122             <groupId>${project.groupId}</groupId>
123             <artifactId>vpnmanager-api</artifactId>
124             <version>${project.version}</version>
125         </dependency>
126         <dependency>
127             <groupId>org.opendaylight.openflowplugin</groupId>
128             <artifactId>openflowplugin-extension-nicira</artifactId>
129         </dependency>
130         <dependency>
131             <groupId>org.opendaylight.openflowplugin.model</groupId>
132             <artifactId>model-flow-service</artifactId>
133         </dependency>
134         <dependency>
135             <groupId>org.opendaylight.openflowplugin.model</groupId>
136             <artifactId>model-flow-base</artifactId>
137         </dependency>
138         <dependency>
139             <groupId>org.apache.aries.blueprint</groupId>
140             <artifactId>blueprint-maven-plugin-annotation</artifactId>
141             <optional>true</optional>
142         </dependency>
143
144         <!-- Only for unit-test -->
145         <dependency>
146             <groupId>org.opendaylight.yangtools</groupId>
147             <artifactId>testutils</artifactId>
148             <scope>test</scope>
149         </dependency>
150         <dependency>
151             <groupId>org.opendaylight.genius</groupId>
152             <artifactId>mdsalutil-api</artifactId>
153             <version>${genius.version}</version>
154             <scope>test</scope>
155             <type>test-jar</type>
156         </dependency>
157         <dependency>
158             <groupId>org.opendaylight.genius</groupId>
159             <artifactId>mdsalutil-impl</artifactId>
160             <version>${genius.version}</version>
161             <scope>test</scope>
162         </dependency>
163 <!--        <dependency>
164             <groupId>org.opendaylight.controller</groupId>
165             <artifactId>sal-binding-broker-impl</artifactId>
166             <scope>test</scope>
167             <type>test-jar</type>
168         </dependency>-->
169         <dependency>
170             <groupId>org.opendaylight.mdsal</groupId>
171             <artifactId>mdsal-binding-dom-adapter</artifactId>
172             <scope>test</scope>
173             <type>test-jar</type>
174         </dependency>
175         <dependency>
176             <groupId>org.opendaylight.mdsal</groupId>
177             <artifactId>mdsal-binding-test-utils</artifactId>
178             <scope>test</scope>
179         </dependency>
180         <dependency>
181             <groupId>org.opendaylight.genius</groupId>
182             <artifactId>lockmanager-impl</artifactId>
183             <version>${genius.version}</version>
184             <scope>test</scope>
185         </dependency>
186         <dependency>
187             <groupId>org.opendaylight.genius</groupId>
188             <artifactId>idmanager-impl</artifactId>
189             <version>${genius.version}</version>
190             <scope>test</scope>
191         </dependency>
192         <dependency>
193             <groupId>org.opendaylight.genius</groupId>
194             <artifactId>interfacemanager-impl</artifactId>
195             <version>${genius.version}</version>
196             <scope>test</scope>
197         </dependency>
198         <dependency>
199             <groupId>org.opendaylight.infrautils</groupId>
200             <artifactId>metrics-impl-test</artifactId>
201             <version>${infrautils.version}</version>
202             <scope>test</scope>
203         </dependency>
204         <dependency>
205             <groupId>org.opendaylight.infrautils</groupId>
206             <artifactId>inject.guice.testutils</artifactId>
207             <version>${infrautils.version}</version>
208             <scope>test</scope>
209         </dependency>
210         <dependency>
211             <groupId>org.opendaylight.infrautils</groupId>
212             <artifactId>infrautils-testutils</artifactId>
213             <version>${infrautils.version}</version>
214             <scope>test</scope>
215         </dependency>
216         <dependency>
217           <groupId>org.opendaylight.infrautils</groupId>
218           <artifactId>caches-test</artifactId>
219           <version>${infrautils.version}</version>
220           <scope>test</scope>
221         </dependency>
222         <dependency>
223             <groupId>org.opendaylight.genius</groupId>
224             <artifactId>mdsalutil-testutils</artifactId>
225             <version>${genius.version}</version>
226             <scope>test</scope>
227         </dependency>
228         <dependency>
229             <groupId>org.opendaylight.netvirt</groupId>
230             <artifactId>neutronvpn-impl</artifactId>
231             <version>${project.version}</version>
232             <scope>test</scope>
233         </dependency>
234         <dependency>
235             <groupId>org.opendaylight.genius</groupId>
236             <artifactId>testutils</artifactId>
237             <version>${genius.version}</version>
238             <scope>test</scope>
239         </dependency>
240     </dependencies>
241
242     <build>
243         <plugins>
244             <plugin>
245                 <groupId>org.apache.aries.blueprint</groupId>
246                 <artifactId>blueprint-maven-plugin</artifactId>
247             </plugin>
248             <plugin>
249                 <groupId>org.apache.felix</groupId>
250                 <artifactId>maven-bundle-plugin</artifactId>
251                 <extensions>true</extensions>
252                 <configuration>
253                     <instructions>
254                         <Embed-Transitive>true</Embed-Transitive>
255                         <!-- We purposely don't export any packages to avoid any dependencies
256                              on this bundle and prevent @Singleton annotated classes from being
257                              accidently included in another bundle's blueprint XML  -->
258                         <Export-Package/>
259                     </instructions>
260                 </configuration>
261             </plugin>
262             <plugin>
263                 <groupId>org.codehaus.mojo</groupId>
264                 <artifactId>build-helper-maven-plugin</artifactId>
265                 <executions>
266                     <execution>
267                         <id>attach-artifacts</id>
268                         <goals>
269                             <goal>attach-artifact</goal>
270                         </goals>
271                         <phase>package</phase>
272                         <configuration>
273                             <artifacts>
274                                 <artifact>
275                                     <file>${project.build.directory}/classes/initial/netvirt-elanmanager-config.xml
276                                     </file>
277                                     <type>xml</type>
278                                     <classifier>config</classifier>
279                                 </artifact>
280                             </artifacts>
281                         </configuration>
282                     </execution>
283                 </executions>
284             </plugin>
285             <plugin>
286                 <groupId>org.eclipse.xtend</groupId>
287                 <artifactId>xtend-maven-plugin</artifactId>
288             </plugin>
289             <plugin>
290                 <groupId>org.apache.maven.plugins</groupId>
291                 <artifactId>maven-compiler-plugin</artifactId>
292                 <configuration>
293                     <source>1.8</source>
294                     <target>1.8</target>
295                 </configuration>
296             </plugin>
297         </plugins>
298     </build>
299 </project>