Integrate controller-2.0.1
[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.mdsal</groupId>
41             <artifactId>mdsal-binding-util</artifactId>
42         </dependency>
43         <dependency>
44             <groupId>org.opendaylight.genius</groupId>
45             <artifactId>interfacemanager-api</artifactId>
46             <version>${genius.version}</version>
47         </dependency>
48         <dependency>
49             <groupId>org.opendaylight.genius</groupId>
50             <artifactId>itm-api</artifactId>
51             <version>${genius.version}</version>
52         </dependency>
53         <dependency>
54             <groupId>org.opendaylight.serviceutils</groupId>
55             <artifactId>tools-api</artifactId>
56         </dependency>
57         <dependency>
58             <groupId>org.opendaylight.genius</groupId>
59             <artifactId>mdsalutil-api</artifactId>
60             <version>${genius.version}</version>
61         </dependency>
62         <dependency>
63             <groupId>org.opendaylight.serviceutils</groupId>
64             <artifactId>srm-api</artifactId>
65         </dependency>
66         <dependency>
67             <groupId>org.opendaylight.infrautils</groupId>
68             <artifactId>diagstatus-api</artifactId>
69             <version>${infrautils.version}</version>
70         </dependency>
71         <dependency>
72             <groupId>org.opendaylight.netvirt</groupId>
73             <artifactId>cache-impl</artifactId>
74             <version>${project.version}</version>
75             <scope>test</scope>
76         </dependency>
77         <dependency>
78             <groupId>${project.groupId}</groupId>
79             <artifactId>neutronvpn-api</artifactId>
80             <version>${project.version}</version>
81         </dependency>
82         <dependency>
83             <groupId>org.opendaylight.ovsdb</groupId>
84             <artifactId>hwvtepsouthbound-api</artifactId>
85             <version>${ovsdb.version}</version>
86         </dependency>
87         <dependency>
88             <groupId>org.opendaylight.neutron</groupId>
89             <artifactId>model</artifactId>
90             <version>${neutron.version}</version>
91         </dependency>
92         <dependency>
93             <groupId>org.apache.karaf.shell</groupId>
94             <artifactId>org.apache.karaf.shell.console</artifactId>
95             <scope>provided</scope>
96         </dependency>
97         <dependency>
98             <groupId>${project.groupId}</groupId>
99             <artifactId>dhcpservice-api</artifactId>
100             <version>${project.version}</version>
101         </dependency>
102         <dependency>
103             <groupId>org.opendaylight.ovsdb</groupId>
104             <artifactId>southbound-api</artifactId>
105             <version>${ovsdb.version}</version>
106         </dependency>
107         <dependency>
108             <groupId>org.opendaylight.ovsdb</groupId>
109             <artifactId>utils.mdsal-utils</artifactId>
110             <version>${ovsdb.version}</version>
111         </dependency>
112         <dependency>
113             <groupId>org.opendaylight.ovsdb</groupId>
114             <artifactId>utils.southbound-utils</artifactId>
115             <version>${ovsdb.version}</version>
116         </dependency>
117         <dependency>
118             <groupId>${project.groupId}</groupId>
119             <artifactId>vpnmanager-api</artifactId>
120             <version>${project.version}</version>
121         </dependency>
122         <dependency>
123             <groupId>org.opendaylight.openflowplugin</groupId>
124             <artifactId>openflowplugin-extension-nicira</artifactId>
125         </dependency>
126         <dependency>
127             <groupId>org.opendaylight.openflowplugin.model</groupId>
128             <artifactId>model-flow-service</artifactId>
129         </dependency>
130         <dependency>
131             <groupId>org.opendaylight.openflowplugin.model</groupId>
132             <artifactId>model-flow-base</artifactId>
133         </dependency>
134         <dependency>
135             <groupId>org.apache.aries.blueprint</groupId>
136             <artifactId>blueprint-maven-plugin-annotation</artifactId>
137             <optional>true</optional>
138         </dependency>
139
140         <!-- Only for unit-test -->
141         <dependency>
142             <groupId>org.opendaylight.yangtools</groupId>
143             <artifactId>testutils</artifactId>
144             <scope>test</scope>
145         </dependency>
146         <dependency>
147             <groupId>org.opendaylight.genius</groupId>
148             <artifactId>mdsalutil-api</artifactId>
149             <version>${genius.version}</version>
150             <scope>test</scope>
151             <type>test-jar</type>
152         </dependency>
153         <dependency>
154             <groupId>org.opendaylight.genius</groupId>
155             <artifactId>mdsalutil-impl</artifactId>
156             <version>${genius.version}</version>
157             <scope>test</scope>
158         </dependency>
159         <dependency>
160             <groupId>org.opendaylight.mdsal</groupId>
161             <artifactId>mdsal-binding-test-utils</artifactId>
162         </dependency>
163         <dependency>
164             <groupId>org.opendaylight.genius</groupId>
165             <artifactId>lockmanager-impl</artifactId>
166             <version>${genius.version}</version>
167             <scope>test</scope>
168         </dependency>
169         <dependency>
170             <groupId>org.opendaylight.genius</groupId>
171             <artifactId>idmanager-impl</artifactId>
172             <version>${genius.version}</version>
173             <scope>test</scope>
174         </dependency>
175         <dependency>
176             <groupId>org.opendaylight.genius</groupId>
177             <artifactId>interfacemanager-impl</artifactId>
178             <version>${genius.version}</version>
179             <scope>test</scope>
180         </dependency>
181         <dependency>
182             <groupId>org.opendaylight.infrautils</groupId>
183             <artifactId>metrics-impl-test</artifactId>
184             <version>${infrautils.version}</version>
185             <scope>test</scope>
186         </dependency>
187         <dependency>
188             <groupId>org.opendaylight.infrautils</groupId>
189             <artifactId>inject.guice.testutils</artifactId>
190             <version>${infrautils.version}</version>
191             <scope>test</scope>
192         </dependency>
193         <dependency>
194             <groupId>org.opendaylight.infrautils</groupId>
195             <artifactId>infrautils-testutils</artifactId>
196             <version>${infrautils.version}</version>
197             <scope>test</scope>
198         </dependency>
199         <dependency>
200           <groupId>org.opendaylight.infrautils</groupId>
201           <artifactId>caches-test</artifactId>
202           <version>${infrautils.version}</version>
203           <scope>test</scope>
204         </dependency>
205         <dependency>
206             <groupId>org.opendaylight.genius</groupId>
207             <artifactId>mdsalutil-testutils</artifactId>
208             <version>${genius.version}</version>
209             <scope>test</scope>
210         </dependency>
211         <dependency>
212             <groupId>org.opendaylight.netvirt</groupId>
213             <artifactId>neutronvpn-impl</artifactId>
214             <version>${project.version}</version>
215             <scope>test</scope>
216         </dependency>
217         <dependency>
218             <groupId>org.opendaylight.genius</groupId>
219             <artifactId>testutils</artifactId>
220             <version>${genius.version}</version>
221             <scope>test</scope>
222         </dependency>
223     </dependencies>
224
225     <build>
226         <plugins>
227             <plugin>
228                 <groupId>org.apache.aries.blueprint</groupId>
229                 <artifactId>blueprint-maven-plugin</artifactId>
230             </plugin>
231             <plugin>
232                 <groupId>org.apache.felix</groupId>
233                 <artifactId>maven-bundle-plugin</artifactId>
234                 <extensions>true</extensions>
235                 <configuration>
236                     <instructions>
237                         <Embed-Transitive>true</Embed-Transitive>
238                         <!-- We purposely don't export any packages to avoid any dependencies
239                              on this bundle and prevent @Singleton annotated classes from being
240                              accidently included in another bundle's blueprint XML  -->
241                         <Export-Package/>
242                     </instructions>
243                 </configuration>
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/initial/netvirt-elanmanager-config.xml
259                                     </file>
260                                     <type>xml</type>
261                                     <classifier>config</classifier>
262                                 </artifact>
263                             </artifacts>
264                         </configuration>
265                     </execution>
266                 </executions>
267             </plugin>
268             <plugin>
269                 <groupId>org.eclipse.xtend</groupId>
270                 <artifactId>xtend-maven-plugin</artifactId>
271             </plugin>
272             <plugin>
273                 <groupId>org.apache.maven.plugins</groupId>
274                 <artifactId>maven-compiler-plugin</artifactId>
275                 <configuration>
276                     <source>1.8</source>
277                     <target>1.8</target>
278                 </configuration>
279             </plugin>
280         </plugins>
281     </build>
282 </project>