Bump versions by x.(y+1).z
[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.16.0-SNAPSHOT</version>
16     <relativePath>../../commons/binding-parent</relativePath>
17   </parent>
18
19   <modelVersion>4.0.0</modelVersion>
20   <artifactId>southbound-impl</artifactId>
21   <packaging>bundle</packaging>
22   <!-- <name> formatting is used by autorelease to parse and notify projects on
23        build failure. Please do not modify this unless you have a good reason. -->
24   <name>ODL :: ovsdb :: ${project.artifactId}</name>
25   <properties>
26     <sonar.jacoco.itReportPath>../southbound-it/target/jacoco-it.exec</sonar.jacoco.itReportPath>
27     <!-- FIXME: clean up code to pass again -->
28     <odlparent.spotbugs.enforce>false</odlparent.spotbugs.enforce>
29   </properties>
30
31   <dependencies>
32     <dependency>
33       <groupId>org.opendaylight.yangtools</groupId>
34       <artifactId>yang-data-util</artifactId>
35     </dependency>
36     <dependency>
37       <groupId>org.opendaylight.yangtools</groupId>
38       <artifactId>yang-data-impl</artifactId>
39     </dependency>
40     <dependency>
41       <groupId>org.opendaylight.mdsal</groupId>
42       <artifactId>mdsal-binding-api</artifactId>
43     </dependency>
44     <dependency>
45       <groupId>org.opendaylight.mdsal</groupId>
46       <artifactId>mdsal-dom-api</artifactId>
47     </dependency>
48     <dependency>
49       <groupId>org.opendaylight.mdsal</groupId>
50       <artifactId>mdsal-binding-dom-codec-api</artifactId>
51     </dependency>
52     <dependency>
53       <groupId>org.opendaylight.mdsal</groupId>
54       <artifactId>mdsal-eos-binding-api</artifactId>
55     </dependency>
56     <!-- project specific dependencies -->
57     <dependency>
58       <groupId>${project.groupId}</groupId>
59       <artifactId>southbound-api</artifactId>
60       <version>${project.version}</version>
61     </dependency>
62     <dependency>
63       <groupId>${project.groupId}</groupId>
64       <artifactId>utils.mdsal-utils</artifactId>
65       <version>${project.version}</version>
66     </dependency>
67     <dependency>
68       <groupId>${project.groupId}</groupId>
69       <artifactId>library</artifactId>
70       <version>${project.version}</version>
71     </dependency>
72     <dependency>
73       <groupId>${project.groupId}</groupId>
74       <artifactId>schema.openvswitch</artifactId>
75       <version>${project.version}</version>
76     </dependency>
77     <dependency>
78       <groupId>org.opendaylight.ovsdb</groupId>
79       <artifactId>utils.yang-utils</artifactId>
80       <version>${project.version}</version>
81     </dependency>
82     <dependency>
83       <groupId>com.google.guava</groupId>
84       <artifactId>guava</artifactId>
85     </dependency>
86     <dependency>
87       <groupId>org.opendaylight.infrautils</groupId>
88       <artifactId>ready-api</artifactId>
89     </dependency>
90     <dependency>
91       <groupId>org.opendaylight.serviceutils</groupId>
92       <artifactId>upgrade</artifactId>
93     </dependency>
94     <!-- external dependencies -->
95     <dependency>
96       <groupId>org.opendaylight.infrautils</groupId>
97       <artifactId>diagstatus-api</artifactId>
98     </dependency>
99     <dependency>
100       <groupId>com.guicedee.services</groupId>
101       <artifactId>javax.inject</artifactId>
102       <optional>true</optional>
103     </dependency>
104     <dependency>
105       <groupId>jakarta.annotation</groupId>
106       <artifactId>jakarta.annotation-api</artifactId>
107       <optional>true</optional>
108     </dependency>
109
110     <!-- testing dependencies -->
111     <dependency>
112       <groupId>org.sonarsource.java</groupId>
113       <artifactId>sonar-jacoco-listeners</artifactId>
114       <scope>test</scope>
115     </dependency>
116     <dependency>
117       <groupId>org.slf4j</groupId>
118       <artifactId>slf4j-simple</artifactId>
119       <scope>test</scope>
120     </dependency>
121     <dependency>
122       <groupId>org.opendaylight.mdsal</groupId>
123       <artifactId>mdsal-binding-test-utils</artifactId>
124     </dependency>
125
126     <dependency>
127       <groupId>org.mockito</groupId>
128       <artifactId>mockito-core</artifactId>
129       <version>3.12.4</version>
130       <scope>test</scope>
131     </dependency>
132     <dependency>
133       <groupId>org.powermock</groupId>
134       <artifactId>powermock-api-mockito2</artifactId>
135       <version>2.0.9</version>
136       <scope>test</scope>
137     </dependency>
138     <dependency>
139       <groupId>org.powermock</groupId>
140       <artifactId>powermock-module-junit4</artifactId>
141       <version>2.0.9</version>
142       <scope>test</scope>
143     </dependency>
144     <dependency>
145       <groupId>org.opendaylight.ovsdb</groupId>
146       <artifactId>utils.southbound-utils</artifactId>
147       <version>${project.version}</version>
148       <scope>test</scope>
149     </dependency>
150   </dependencies>
151   <build>
152     <plugins>
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
176           <!-- FIXME: remove this declaration once powermock is gone -->
177           <argLine>
178             @{argLine}
179             --add-opens java.base/java.lang=ALL-UNNAMED
180             --add-opens java.base/java.lang.reflect=ALL-UNNAMED
181             --add-opens java.base/java.net=ALL-UNNAMED
182             --add-opens java.base/java.util=ALL-UNNAMED
183             --add-opens java.base/java.util.concurrent=ALL-UNNAMED
184             --add-opens java.base/java.util.stream=ALL-UNNAMED
185           </argLine>
186         </configuration>
187       </plugin>
188       <plugin>
189         <groupId>org.codehaus.mojo</groupId>
190         <artifactId>build-helper-maven-plugin</artifactId>
191         <executions>
192           <execution>
193             <id>attach-artifacts</id>
194             <goals>
195               <goal>attach-artifact</goal>
196             </goals>
197             <phase>package</phase>
198             <configuration>
199               <artifacts>
200                 <artifact>
201                   <file>${project.build.directory}/classes/initial/southbound.cfg</file>
202                   <type>cfg</type>
203                   <classifier>config</classifier>
204                 </artifact>
205               </artifacts>
206             </configuration>
207           </execution>
208         </executions>
209       </plugin>
210     </plugins>
211   </build>
212
213   <!--
214       Maven Site Configuration
215
216       The following configuration is necessary for maven-site-plugin to
217       correctly identify the correct deployment path for OpenDaylight Maven
218       sites.
219   -->
220   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
221
222   <distributionManagement>
223     <site>
224       <id>opendaylight-site</id>
225       <url>${nexus.site.url}/${project.artifactId}/</url>
226     </site>
227   </distributionManagement>
228 </project>