6ed6cbdb8e00487322dcaa429fc7f183ff04a236
[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.7.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.genius</groupId>
48             <artifactId>tools-api</artifactId>
49             <version>${genius.version}</version>
50         </dependency>
51         <dependency>
52             <groupId>org.opendaylight.genius</groupId>
53             <artifactId>idmanager-api</artifactId>
54             <version>${genius.version}</version>
55         </dependency>
56         <dependency>
57             <groupId>org.opendaylight.genius</groupId>
58             <artifactId>interfacemanager-api</artifactId>
59             <version>${genius.version}</version>
60         </dependency>
61         <dependency>
62             <groupId>org.opendaylight.genius</groupId>
63             <artifactId>itm-api</artifactId>
64             <version>${genius.version}</version>
65         </dependency>
66         <dependency>
67             <groupId>org.opendaylight.genius</groupId>
68             <artifactId>mdsalutil-api</artifactId>
69             <version>${genius.version}</version>
70         </dependency>
71         <dependency>
72             <groupId>${project.groupId}</groupId>
73             <artifactId>bgpmanager-api</artifactId>
74             <version>${project.version}</version>
75         </dependency>
76         <dependency>
77             <groupId>${project.groupId}</groupId>
78             <artifactId>elanmanager-api</artifactId>
79             <version>${project.version}</version>
80         </dependency>
81         <dependency>
82             <groupId>${project.groupId}</groupId>
83             <artifactId>fibmanager-api</artifactId>
84             <version>${project.version}</version>
85         </dependency>
86         <dependency>
87             <groupId>${project.groupId}</groupId>
88             <artifactId>natservice-api</artifactId>
89             <version>${project.version}</version>
90         </dependency>
91         <dependency>
92             <groupId>${project.groupId}</groupId>
93             <artifactId>neutronvpn-api</artifactId>
94             <version>${project.version}</version>
95         </dependency>
96         <dependency>
97             <groupId>${project.groupId}</groupId>
98             <artifactId>vpnmanager-api</artifactId>
99             <version>${project.version}</version>
100         </dependency>
101         <dependency>
102             <groupId>org.opendaylight.openflowplugin.model</groupId>
103             <artifactId>model-flow-service</artifactId>
104             <version>${openflowplugin.version}</version>
105         </dependency>
106         <dependency>
107             <groupId>org.powermock</groupId>
108             <artifactId>powermock-api-mockito</artifactId>
109             <scope>test</scope>
110         </dependency>
111         <dependency>
112             <groupId>org.powermock</groupId>
113             <artifactId>powermock-module-junit4</artifactId>
114             <scope>test</scope>
115         </dependency>
116     </dependencies>
117
118     <build>
119         <plugins>
120             <plugin>
121                 <groupId>org.apache.aries.blueprint</groupId>
122                 <artifactId>blueprint-maven-plugin</artifactId>
123             </plugin>
124             <plugin>
125                 <groupId>org.apache.felix</groupId>
126                 <artifactId>maven-bundle-plugin</artifactId>
127                 <extensions>true</extensions>
128                 <configuration>
129                     <instructions>
130                         <!-- We purposely don't export any packages to avoid any dependencies
131                              on this bundle and prevent @Singleton annotated classes from being
132                              accidently included in another bundle's blueprint XML  -->
133                         <Export-Package/>
134                     </instructions>
135                 </configuration>
136             </plugin>
137             <plugin>
138                 <groupId>org.codehaus.mojo</groupId>
139                 <artifactId>build-helper-maven-plugin</artifactId>
140                 <executions>
141                     <execution>
142                         <id>attach-artifacts</id>
143                         <goals>
144                             <goal>attach-artifact</goal>
145                         </goals>
146                         <phase>package</phase>
147                         <configuration>
148                             <artifacts>
149                                 <artifact>
150                                     <file>${project.build.directory}/classes/initial/netvirt-natservice-config.xml
151                                     </file>
152                                     <type>xml</type>
153                                     <classifier>config</classifier>
154                                 </artifact>
155                             </artifacts>
156                         </configuration>
157                     </execution>
158                 </executions>
159             </plugin>
160         </plugins>
161     </build>
162 </project>