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