Add missing annotation dependencies for Java 11
[netvirt.git] / natservice / impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 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>binding-parent</artifactId>
15         <version>0.9.0-SNAPSHOT</version>
16         <relativePath>../../commons/binding-parent</relativePath>
17     </parent>
18
19     <artifactId>natservice-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>org.osgi</groupId>
27             <artifactId>org.osgi.core</artifactId>
28         </dependency>
29         <dependency>
30             <groupId>commons-net</groupId>
31             <artifactId>commons-net</artifactId>
32         </dependency>
33         <dependency>
34             <groupId>javax.inject</groupId>
35             <artifactId>javax.inject</artifactId>
36             <optional>true</optional>
37         </dependency>
38         <dependency>
39             <groupId>org.opendaylight.controller</groupId>
40             <artifactId>sal-binding-broker-impl</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>org.opendaylight.genius</groupId>
44             <artifactId>arputil-api</artifactId>
45             <version>${genius.version}</version>
46         </dependency>
47         <dependency>
48             <groupId>org.opendaylight.serviceutils</groupId>
49             <artifactId>tools-api</artifactId>
50         </dependency>
51         <dependency>
52             <groupId>org.opendaylight.serviceutils</groupId>
53             <artifactId>upgrade</artifactId>
54         </dependency>
55         <dependency>
56             <groupId>org.opendaylight.genius</groupId>
57             <artifactId>idmanager-api</artifactId>
58             <version>${genius.version}</version>
59         </dependency>
60         <dependency>
61             <groupId>org.opendaylight.genius</groupId>
62             <artifactId>interfacemanager-api</artifactId>
63             <version>${genius.version}</version>
64         </dependency>
65         <dependency>
66             <groupId>org.opendaylight.genius</groupId>
67             <artifactId>itm-api</artifactId>
68             <version>${genius.version}</version>
69         </dependency>
70         <dependency>
71             <groupId>org.opendaylight.genius</groupId>
72             <artifactId>mdsalutil-api</artifactId>
73             <version>${genius.version}</version>
74         </dependency>
75         <dependency>
76             <groupId>org.opendaylight.genius</groupId>
77             <artifactId>networkutils</artifactId>
78             <version>${genius.version}</version>
79         </dependency>
80         <dependency>
81             <groupId>${project.groupId}</groupId>
82             <artifactId>bgpmanager-api</artifactId>
83             <version>${project.version}</version>
84         </dependency>
85         <dependency>
86             <groupId>${project.groupId}</groupId>
87             <artifactId>elanmanager-api</artifactId>
88             <version>${project.version}</version>
89         </dependency>
90         <dependency>
91             <groupId>${project.groupId}</groupId>
92             <artifactId>fibmanager-api</artifactId>
93             <version>${project.version}</version>
94         </dependency>
95         <dependency>
96             <groupId>${project.groupId}</groupId>
97             <artifactId>natservice-api</artifactId>
98             <version>${project.version}</version>
99         </dependency>
100         <dependency>
101             <groupId>${project.groupId}</groupId>
102             <artifactId>neutronvpn-api</artifactId>
103             <version>${project.version}</version>
104         </dependency>
105         <dependency>
106             <groupId>${project.groupId}</groupId>
107             <artifactId>vpnmanager-api</artifactId>
108             <version>${project.version}</version>
109         </dependency>
110         <dependency>
111             <groupId>org.opendaylight.openflowplugin.model</groupId>
112             <artifactId>model-flow-service</artifactId>
113             <version>${openflowplugin.version}</version>
114         </dependency>
115         <dependency>
116             <groupId>org.apache.karaf.shell</groupId>
117             <artifactId>org.apache.karaf.shell.commands</artifactId>
118             <scope>provided</scope>
119         </dependency>
120         <dependency>
121             <groupId>org.apache.karaf.shell</groupId>
122             <artifactId>org.apache.karaf.shell.console</artifactId>
123             <scope>provided</scope>
124         </dependency>
125         <!-- FIXME: Upgrade to Mockito 2 -->
126         <dependency>
127             <groupId>org.powermock</groupId>
128             <artifactId>powermock-api-mockito</artifactId>
129             <version>1.6.4</version>
130             <scope>test</scope>
131         </dependency>
132         <dependency>
133             <groupId>org.javassist</groupId>
134             <artifactId>javassist</artifactId>
135             <version>3.21.0-GA</version>
136             <scope>test</scope>
137         </dependency>
138         <dependency>
139             <groupId>org.mockito</groupId>
140             <artifactId>mockito-core</artifactId>
141             <version>1.10.19</version>
142             <scope>test</scope>
143         </dependency>
144         <dependency>
145             <groupId>org.powermock</groupId>
146             <artifactId>powermock-module-junit4</artifactId>
147             <version>1.6.4</version>
148             <scope>test</scope>
149         </dependency>
150         <dependency>
151             <groupId>org.powermock</groupId>
152             <artifactId>powermock-api-support</artifactId>
153             <version>1.6.4</version>
154             <scope>test</scope>
155         </dependency>
156         <dependency>
157             <groupId>org.powermock</groupId>
158             <artifactId>powermock-reflect</artifactId>
159             <version>1.6.4</version>
160             <scope>test</scope>
161         </dependency>
162         <dependency>
163             <groupId>org.powermock</groupId>
164             <artifactId>powermock-core</artifactId>
165             <version>1.6.4</version>
166             <scope>test</scope>
167         </dependency>
168     </dependencies>
169
170     <build>
171         <plugins>
172             <plugin>
173                 <groupId>org.apache.aries.blueprint</groupId>
174                 <artifactId>blueprint-maven-plugin</artifactId>
175             </plugin>
176             <plugin>
177                 <groupId>org.apache.felix</groupId>
178                 <artifactId>maven-bundle-plugin</artifactId>
179                 <extensions>true</extensions>
180                 <configuration>
181                     <instructions>
182                         <!-- We purposely don't export any packages to avoid any dependencies
183                              on this bundle and prevent @Singleton annotated classes from being
184                              accidently included in another bundle's blueprint XML  -->
185                         <Export-Package/>
186                     </instructions>
187                 </configuration>
188             </plugin>
189             <plugin>
190                 <groupId>org.codehaus.mojo</groupId>
191                 <artifactId>build-helper-maven-plugin</artifactId>
192                 <executions>
193                     <execution>
194                         <id>attach-artifacts</id>
195                         <goals>
196                             <goal>attach-artifact</goal>
197                         </goals>
198                         <phase>package</phase>
199                         <configuration>
200                             <artifacts>
201                                 <artifact>
202                                     <file>${project.build.directory}/classes/initial/netvirt-natservice-config.xml
203                                     </file>
204                                     <type>xml</type>
205                                     <classifier>config</classifier>
206                                 </artifact>
207                             </artifacts>
208                         </configuration>
209                     </execution>
210                 </executions>
211             </plugin>
212         </plugins>
213     </build>
214 </project>