fdd075adb64fae18c4d618b758c07a9491f9a253
[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.8.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         </dependency>
37         <dependency>
38             <groupId>org.opendaylight.controller</groupId>
39             <artifactId>sal-binding-broker-impl</artifactId>
40         </dependency>
41         <dependency>
42             <groupId>org.opendaylight.genius</groupId>
43             <artifactId>arputil-api</artifactId>
44             <version>${genius.version}</version>
45         </dependency>
46         <dependency>
47             <groupId>org.opendaylight.serviceutils</groupId>
48             <artifactId>tools-api</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>org.opendaylight.serviceutils</groupId>
52             <artifactId>upgrade</artifactId>
53         </dependency>
54         <dependency>
55             <groupId>org.opendaylight.genius</groupId>
56             <artifactId>idmanager-api</artifactId>
57             <version>${genius.version}</version>
58         </dependency>
59         <dependency>
60             <groupId>org.opendaylight.genius</groupId>
61             <artifactId>interfacemanager-api</artifactId>
62             <version>${genius.version}</version>
63         </dependency>
64         <dependency>
65             <groupId>org.opendaylight.genius</groupId>
66             <artifactId>itm-api</artifactId>
67             <version>${genius.version}</version>
68         </dependency>
69         <dependency>
70             <groupId>org.opendaylight.genius</groupId>
71             <artifactId>mdsalutil-api</artifactId>
72             <version>${genius.version}</version>
73         </dependency>
74         <dependency>
75             <groupId>org.opendaylight.genius</groupId>
76             <artifactId>networkutils</artifactId>
77             <version>${genius.version}</version>
78         </dependency>
79         <dependency>
80             <groupId>${project.groupId}</groupId>
81             <artifactId>bgpmanager-api</artifactId>
82             <version>${project.version}</version>
83         </dependency>
84         <dependency>
85             <groupId>${project.groupId}</groupId>
86             <artifactId>elanmanager-api</artifactId>
87             <version>${project.version}</version>
88         </dependency>
89         <dependency>
90             <groupId>${project.groupId}</groupId>
91             <artifactId>fibmanager-api</artifactId>
92             <version>${project.version}</version>
93         </dependency>
94         <dependency>
95             <groupId>${project.groupId}</groupId>
96             <artifactId>natservice-api</artifactId>
97             <version>${project.version}</version>
98         </dependency>
99         <dependency>
100             <groupId>${project.groupId}</groupId>
101             <artifactId>neutronvpn-api</artifactId>
102             <version>${project.version}</version>
103         </dependency>
104         <dependency>
105             <groupId>${project.groupId}</groupId>
106             <artifactId>vpnmanager-api</artifactId>
107             <version>${project.version}</version>
108         </dependency>
109         <dependency>
110             <groupId>org.opendaylight.openflowplugin.model</groupId>
111             <artifactId>model-flow-service</artifactId>
112             <version>${openflowplugin.version}</version>
113         </dependency>
114         <!-- FIXME: Upgrade to Mockito 2 -->
115         <dependency>
116             <groupId>org.powermock</groupId>
117             <artifactId>powermock-api-mockito</artifactId>
118             <version>1.6.4</version>
119             <scope>test</scope>
120         </dependency>
121         <dependency>
122             <groupId>org.javassist</groupId>
123             <artifactId>javassist</artifactId>
124             <version>3.21.0-GA</version>
125             <scope>test</scope>
126         </dependency>
127         <dependency>
128             <groupId>org.mockito</groupId>
129             <artifactId>mockito-core</artifactId>
130             <version>1.10.19</version>
131             <scope>test</scope>
132         </dependency>
133         <dependency>
134             <groupId>org.powermock</groupId>
135             <artifactId>powermock-module-junit4</artifactId>
136             <version>1.6.4</version>
137             <scope>test</scope>
138         </dependency>
139         <dependency>
140             <groupId>org.powermock</groupId>
141             <artifactId>powermock-api-support</artifactId>
142             <version>1.6.4</version>
143             <scope>test</scope>
144         </dependency>
145         <dependency>
146             <groupId>org.powermock</groupId>
147             <artifactId>powermock-reflect</artifactId>
148             <version>1.6.4</version>
149             <scope>test</scope>
150         </dependency>
151         <dependency>
152             <groupId>org.powermock</groupId>
153             <artifactId>powermock-core</artifactId>
154             <version>1.6.4</version>
155             <scope>test</scope>
156         </dependency>
157     </dependencies>
158
159     <build>
160         <plugins>
161             <plugin>
162                 <groupId>org.apache.aries.blueprint</groupId>
163                 <artifactId>blueprint-maven-plugin</artifactId>
164             </plugin>
165             <plugin>
166                 <groupId>org.apache.felix</groupId>
167                 <artifactId>maven-bundle-plugin</artifactId>
168                 <extensions>true</extensions>
169                 <configuration>
170                     <instructions>
171                         <!-- We purposely don't export any packages to avoid any dependencies
172                              on this bundle and prevent @Singleton annotated classes from being
173                              accidently included in another bundle's blueprint XML  -->
174                         <Export-Package/>
175                     </instructions>
176                 </configuration>
177             </plugin>
178             <plugin>
179                 <groupId>org.codehaus.mojo</groupId>
180                 <artifactId>build-helper-maven-plugin</artifactId>
181                 <executions>
182                     <execution>
183                         <id>attach-artifacts</id>
184                         <goals>
185                             <goal>attach-artifact</goal>
186                         </goals>
187                         <phase>package</phase>
188                         <configuration>
189                             <artifacts>
190                                 <artifact>
191                                     <file>${project.build.directory}/classes/initial/netvirt-natservice-config.xml
192                                     </file>
193                                     <type>xml</type>
194                                     <classifier>config</classifier>
195                                 </artifact>
196                             </artifacts>
197                         </configuration>
198                     </execution>
199                 </executions>
200             </plugin>
201         </plugins>
202     </build>
203 </project>