Fix ovsdb compilation
[ovsdb.git] / southbound / southbound-impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4 Copyright © 2014, 2016 Cisco Systems, Inc. and others.  All rights reserved.
5
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11
12   <parent>
13     <groupId>org.opendaylight.ovsdb</groupId>
14     <artifactId>ovsdb-binding-parent</artifactId>
15     <version>1.8.0-SNAPSHOT</version>
16     <relativePath>../../commons/binding-parent</relativePath>
17   </parent>
18
19   <modelVersion>4.0.0</modelVersion>
20   <groupId>org.opendaylight.ovsdb</groupId>
21   <artifactId>southbound-impl</artifactId>
22   <version>1.8.0-SNAPSHOT</version>
23   <packaging>bundle</packaging>
24   <!-- <name> formatting is used by autorelease to parse and notify projects on
25        build failure. Please do not modify this unless you have a good reason. -->
26   <name>ODL :: ovsdb :: ${project.artifactId}</name>
27   <properties>
28     <sonar.jacoco.itReportPath>../southbound-it/target/jacoco-it.exec</sonar.jacoco.itReportPath>
29   </properties>
30
31   <dependencies>
32     <dependency>
33       <groupId>org.opendaylight.controller</groupId>
34       <artifactId>sal-binding-api</artifactId>
35     </dependency>
36     <dependency>
37       <groupId>org.opendaylight.mdsal</groupId>
38       <artifactId>mdsal-dom-api</artifactId>
39     </dependency>
40     <dependency>
41       <groupId>org.opendaylight.mdsal</groupId>
42       <artifactId>mdsal-binding-dom-codec</artifactId>
43     </dependency>
44     <dependency>
45       <groupId>org.opendaylight.mdsal</groupId>
46       <artifactId>mdsal-eos-binding-api</artifactId>
47     </dependency>
48     <!-- project specific dependencies -->
49     <dependency>
50       <groupId>${project.groupId}</groupId>
51       <artifactId>southbound-api</artifactId>
52       <version>${project.version}</version>
53     </dependency>
54     <dependency>
55       <groupId>${project.groupId}</groupId>
56       <artifactId>library</artifactId>
57       <version>${project.version}</version>
58     </dependency>
59     <dependency>
60       <groupId>${project.groupId}</groupId>
61       <artifactId>schema.openvswitch</artifactId>
62       <version>${project.version}</version>
63     </dependency>
64     <dependency>
65       <groupId>org.opendaylight.ovsdb</groupId>
66       <artifactId>utils.yang-utils</artifactId>
67       <version>${project.version}</version>
68     </dependency>
69     <dependency>
70       <groupId>com.google.guava</groupId>
71       <artifactId>guava</artifactId>
72     </dependency>
73     <dependency>
74       <groupId>org.opendaylight.infrautils</groupId>
75       <artifactId>ready-api</artifactId>
76       <version>1.5.0-SNAPSHOT</version>
77     </dependency>
78     <!-- external dependencies -->
79     <dependency>
80       <groupId>org.opendaylight.infrautils</groupId>
81       <artifactId>diagstatus-api</artifactId>
82       <version>1.5.0-SNAPSHOT</version>
83     </dependency>
84     <dependency>
85       <groupId>org.apache.aries.blueprint</groupId>
86       <artifactId>blueprint-maven-plugin-annotation</artifactId>
87       <optional>true</optional>
88     </dependency>
89     <dependency>
90       <groupId>javax.inject</groupId>
91       <artifactId>javax.inject</artifactId>
92     </dependency>
93     <dependency>
94       <groupId>org.sonarsource.java</groupId>
95       <artifactId>sonar-jacoco-listeners</artifactId>
96       <version>${sonar-jacoco-listeners.version}</version>
97       <scope>test</scope>
98     </dependency>
99     <dependency>
100       <groupId>org.slf4j</groupId>
101       <artifactId>slf4j-simple</artifactId>
102       <scope>test</scope>
103     </dependency>
104     <!-- testing dependencies -->
105     <dependency>
106       <groupId>junit</groupId>
107       <artifactId>junit</artifactId>
108       <scope>test</scope>
109     </dependency>
110     <dependency>
111       <groupId>org.powermock</groupId>
112       <artifactId>powermock-api-mockito</artifactId>
113       <version>1.6.4</version>
114       <scope>test</scope>
115     </dependency>
116     <dependency>
117       <groupId>org.javassist</groupId>
118       <artifactId>javassist</artifactId>
119       <version>3.21.0-GA</version>
120       <scope>test</scope>
121     </dependency>
122     <dependency>
123       <groupId>org.mockito</groupId>
124       <artifactId>mockito-core</artifactId>
125       <version>1.10.19</version>
126       <scope>test</scope>
127     </dependency>
128     <dependency>
129       <groupId>org.powermock</groupId>
130       <artifactId>powermock-module-junit4</artifactId>
131       <version>1.6.4</version>
132       <scope>test</scope>
133     </dependency>
134     <dependency>
135       <groupId>org.powermock</groupId>
136       <artifactId>powermock-api-support</artifactId>
137       <version>1.6.4</version>
138       <scope>test</scope>
139     </dependency>
140     <dependency>
141       <groupId>org.powermock</groupId>
142       <artifactId>powermock-reflect</artifactId>
143       <version>1.6.4</version>
144       <scope>test</scope>
145     </dependency>
146     <dependency>
147       <groupId>org.powermock</groupId>
148       <artifactId>powermock-core</artifactId>
149       <version>1.6.4</version>
150       <scope>test</scope>
151     </dependency>
152     <dependency>
153       <groupId>org.opendaylight.controller</groupId>
154       <artifactId>sal-binding-broker-impl</artifactId>
155       <scope>test</scope>
156     </dependency>
157     <dependency>
158       <groupId>org.opendaylight.controller</groupId>
159       <artifactId>sal-binding-broker-impl</artifactId>
160       <type>test-jar</type>
161       <scope>test</scope>
162     </dependency>
163     <dependency>
164       <groupId>org.opendaylight.ovsdb</groupId>
165       <artifactId>utils.southbound-utils</artifactId>
166       <version>${project.version}</version>
167       <scope>test</scope>
168     </dependency>
169   </dependencies>
170   <build>
171     <plugins>
172       <plugin>
173         <groupId>org.apache.felix</groupId>
174         <artifactId>maven-bundle-plugin</artifactId>
175         <configuration>
176           <instructions>
177             <Export-Package>
178               org.opendaylight.ovsdb.southbound,
179               org.opendaylight.ovsdb.southbound.*,
180               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.southbound.impl.rev141210.*</Export-Package>
181           </instructions>
182         </configuration>
183       </plugin>
184       <plugin>
185         <groupId>org.apache.maven.plugins</groupId>
186         <artifactId>maven-surefire-plugin</artifactId>
187         <configuration>
188           <properties>
189             <property>
190               <name>listener</name>
191               <value>org.sonar.java.jacoco.JUnitListener</value>
192             </property>
193           </properties>
194         </configuration>
195       </plugin>
196       <plugin>
197         <groupId>org.codehaus.mojo</groupId>
198         <artifactId>build-helper-maven-plugin</artifactId>
199         <executions>
200           <execution>
201             <id>attach-artifacts</id>
202             <goals>
203               <goal>attach-artifact</goal>
204             </goals>
205             <phase>package</phase>
206             <configuration>
207               <artifacts>
208                 <artifact>
209                   <file>${project.build.directory}/classes/initial/southbound.cfg</file>
210                   <type>cfg</type>
211                   <classifier>config</classifier>
212                 </artifact>
213               </artifacts>
214             </configuration>
215           </execution>
216         </executions>
217       </plugin>
218     </plugins>
219   </build>
220
221   <!--
222       Maven Site Configuration
223
224       The following configuration is necessary for maven-site-plugin to
225       correctly identify the correct deployment path for OpenDaylight Maven
226       sites.
227   -->
228   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
229
230   <distributionManagement>
231     <site>
232       <id>opendaylight-site</id>
233       <url>${nexus.site.url}/${project.artifactId}/</url>
234     </site>
235   </distributionManagement>
236 </project>