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.17.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     <!-- external dependencies -->
91     <dependency>
92       <groupId>org.opendaylight.infrautils</groupId>
93       <artifactId>diagstatus-api</artifactId>
94     </dependency>
95     <dependency>
96       <groupId>com.guicedee.services</groupId>
97       <artifactId>javax.inject</artifactId>
98       <optional>true</optional>
99     </dependency>
100     <dependency>
101       <groupId>jakarta.annotation</groupId>
102       <artifactId>jakarta.annotation-api</artifactId>
103       <optional>true</optional>
104     </dependency>
105
106     <!-- testing dependencies -->
107     <dependency>
108       <groupId>org.sonarsource.java</groupId>
109       <artifactId>sonar-jacoco-listeners</artifactId>
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     <dependency>
118       <groupId>org.opendaylight.mdsal</groupId>
119       <artifactId>mdsal-binding-test-utils</artifactId>
120     </dependency>
121
122     <dependency>
123       <groupId>org.mockito</groupId>
124       <artifactId>mockito-core</artifactId>
125       <version>3.12.4</version>
126       <scope>test</scope>
127     </dependency>
128     <dependency>
129       <groupId>org.powermock</groupId>
130       <artifactId>powermock-api-mockito2</artifactId>
131       <version>2.0.9</version>
132       <scope>test</scope>
133     </dependency>
134     <dependency>
135       <groupId>org.powermock</groupId>
136       <artifactId>powermock-module-junit4</artifactId>
137       <version>2.0.9</version>
138       <scope>test</scope>
139     </dependency>
140     <dependency>
141       <groupId>org.opendaylight.ovsdb</groupId>
142       <artifactId>utils.southbound-utils</artifactId>
143       <version>${project.version}</version>
144       <scope>test</scope>
145     </dependency>
146   </dependencies>
147   <build>
148     <plugins>
149       <plugin>
150         <groupId>org.apache.felix</groupId>
151         <artifactId>maven-bundle-plugin</artifactId>
152         <configuration>
153           <instructions>
154             <Export-Package>
155               org.opendaylight.ovsdb.southbound,
156               org.opendaylight.ovsdb.southbound.*,
157               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.southbound.impl.rev141210.*</Export-Package>
158           </instructions>
159         </configuration>
160       </plugin>
161       <plugin>
162         <groupId>org.apache.maven.plugins</groupId>
163         <artifactId>maven-surefire-plugin</artifactId>
164         <configuration>
165           <properties>
166             <property>
167               <name>listener</name>
168               <value>org.sonar.java.jacoco.JUnitListener</value>
169             </property>
170           </properties>
171
172           <!-- FIXME: remove this declaration once powermock is gone -->
173           <argLine>
174             @{argLine}
175             --add-opens java.base/java.lang=ALL-UNNAMED
176             --add-opens java.base/java.lang.reflect=ALL-UNNAMED
177             --add-opens java.base/java.net=ALL-UNNAMED
178             --add-opens java.base/java.util=ALL-UNNAMED
179             --add-opens java.base/java.util.concurrent=ALL-UNNAMED
180             --add-opens java.base/java.util.stream=ALL-UNNAMED
181           </argLine>
182         </configuration>
183       </plugin>
184       <plugin>
185         <groupId>org.codehaus.mojo</groupId>
186         <artifactId>build-helper-maven-plugin</artifactId>
187         <executions>
188           <execution>
189             <id>attach-artifacts</id>
190             <goals>
191               <goal>attach-artifact</goal>
192             </goals>
193             <phase>package</phase>
194             <configuration>
195               <artifacts>
196                 <artifact>
197                   <file>${project.build.directory}/classes/initial/southbound.cfg</file>
198                   <type>cfg</type>
199                   <classifier>config</classifier>
200                 </artifact>
201               </artifacts>
202             </configuration>
203           </execution>
204         </executions>
205       </plugin>
206     </plugins>
207   </build>
208
209   <!--
210       Maven Site Configuration
211
212       The following configuration is necessary for maven-site-plugin to
213       correctly identify the correct deployment path for OpenDaylight Maven
214       sites.
215   -->
216   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
217
218   <distributionManagement>
219     <site>
220       <id>opendaylight-site</id>
221       <url>${nexus.site.url}/${project.artifactId}/</url>
222     </site>
223   </distributionManagement>
224 </project>