Fix serviceutils dependency
[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.11.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.11.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>utils.mdsal-utils</artifactId>
57       <version>${project.version}</version>
58     </dependency>
59     <dependency>
60       <groupId>${project.groupId}</groupId>
61       <artifactId>library</artifactId>
62       <version>${project.version}</version>
63     </dependency>
64     <dependency>
65       <groupId>${project.groupId}</groupId>
66       <artifactId>schema.openvswitch</artifactId>
67       <version>${project.version}</version>
68     </dependency>
69     <dependency>
70       <groupId>org.opendaylight.ovsdb</groupId>
71       <artifactId>utils.yang-utils</artifactId>
72       <version>${project.version}</version>
73     </dependency>
74     <dependency>
75       <groupId>com.google.guava</groupId>
76       <artifactId>guava</artifactId>
77     </dependency>
78     <dependency>
79       <groupId>org.opendaylight.infrautils</groupId>
80       <artifactId>ready-api</artifactId>
81     </dependency>
82     <dependency>
83       <groupId>org.opendaylight.serviceutils</groupId>
84       <artifactId>upgrade</artifactId>
85     </dependency>
86     <!-- external dependencies -->
87     <dependency>
88       <groupId>org.opendaylight.infrautils</groupId>
89       <artifactId>diagstatus-api</artifactId>
90     </dependency>
91     <dependency>
92       <groupId>javax.inject</groupId>
93       <artifactId>javax.inject</artifactId>
94       <optional>true</optional>
95     </dependency>
96     <dependency>
97       <groupId>org.apache.aries.blueprint</groupId>
98       <artifactId>blueprint-maven-plugin-annotation</artifactId>
99       <optional>true</optional>
100     </dependency>
101     <dependency>
102       <groupId>javax.annotation</groupId>
103       <artifactId>javax.annotation-api</artifactId>
104       <optional>true</optional>
105     </dependency>
106
107     <!-- testing dependencies -->
108     <dependency>
109       <groupId>org.sonarsource.java</groupId>
110       <artifactId>sonar-jacoco-listeners</artifactId>
111       <version>${sonar-jacoco-listeners.version}</version>
112       <scope>test</scope>
113     </dependency>
114     <dependency>
115       <groupId>org.slf4j</groupId>
116       <artifactId>slf4j-simple</artifactId>
117       <scope>test</scope>
118     </dependency>
119
120     <dependency>
121       <groupId>org.powermock</groupId>
122       <artifactId>powermock-api-mockito2</artifactId>
123     </dependency>
124     <dependency>
125       <groupId>org.powermock</groupId>
126       <artifactId>powermock-module-junit4</artifactId>
127     </dependency>
128     <dependency>
129       <groupId>org.opendaylight.controller</groupId>
130       <artifactId>sal-binding-broker-impl</artifactId>
131       <scope>test</scope>
132     </dependency>
133     <dependency>
134       <groupId>org.opendaylight.controller</groupId>
135       <artifactId>sal-binding-broker-impl</artifactId>
136       <type>test-jar</type>
137       <scope>test</scope>
138     </dependency>
139     <dependency>
140       <groupId>org.opendaylight.ovsdb</groupId>
141       <artifactId>utils.southbound-utils</artifactId>
142       <version>${project.version}</version>
143       <scope>test</scope>
144     </dependency>
145   </dependencies>
146   <build>
147     <plugins>
148       <plugin>
149         <groupId>org.apache.aries.blueprint</groupId>
150         <artifactId>blueprint-maven-plugin</artifactId>
151         <configuration>
152           <scanPaths>org.opendaylight.ovsdb.southbound</scanPaths>
153         </configuration>
154       </plugin>
155       <plugin>
156         <groupId>org.apache.felix</groupId>
157         <artifactId>maven-bundle-plugin</artifactId>
158         <configuration>
159           <instructions>
160             <Export-Package>
161               org.opendaylight.ovsdb.southbound,
162               org.opendaylight.ovsdb.southbound.*,
163               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.southbound.impl.rev141210.*</Export-Package>
164           </instructions>
165         </configuration>
166       </plugin>
167       <plugin>
168         <groupId>org.apache.maven.plugins</groupId>
169         <artifactId>maven-surefire-plugin</artifactId>
170         <configuration>
171           <properties>
172             <property>
173               <name>listener</name>
174               <value>org.sonar.java.jacoco.JUnitListener</value>
175             </property>
176           </properties>
177         </configuration>
178       </plugin>
179       <plugin>
180         <groupId>org.codehaus.mojo</groupId>
181         <artifactId>build-helper-maven-plugin</artifactId>
182         <executions>
183           <execution>
184             <id>attach-artifacts</id>
185             <goals>
186               <goal>attach-artifact</goal>
187             </goals>
188             <phase>package</phase>
189             <configuration>
190               <artifacts>
191                 <artifact>
192                   <file>${project.build.directory}/classes/initial/southbound.cfg</file>
193                   <type>cfg</type>
194                   <classifier>config</classifier>
195                 </artifact>
196               </artifacts>
197             </configuration>
198           </execution>
199         </executions>
200       </plugin>
201     </plugins>
202   </build>
203
204   <!--
205       Maven Site Configuration
206
207       The following configuration is necessary for maven-site-plugin to
208       correctly identify the correct deployment path for OpenDaylight Maven
209       sites.
210   -->
211   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
212
213   <distributionManagement>
214     <site>
215       <id>opendaylight-site</id>
216       <url>${nexus.site.url}/${project.artifactId}/</url>
217     </site>
218   </distributionManagement>
219 </project>