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