Bump versions to 7.0.7-SNAPSHOT
[controller.git] / atomix-storage / pom.xml
1 <!--
2   ~ Copyright 2017-2021 Open Networking Foundation
3   ~ Copyright 2023 PANTHEON.tech, s.r.o.
4   ~
5   ~ Licensed under the Apache License, Version 2.0 (the "License");
6   ~ you may not use this file except in compliance with the License.
7   ~ You may obtain a copy of the License at
8   ~
9   ~     http://www.apache.org/licenses/LICENSE-2.0
10   ~
11   ~ Unless required by applicable law or agreed to in writing, software
12   ~ distributed under the License is distributed on an "AS IS" BASIS,
13   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   ~ See the License for the specific language governing permissions and
15   ~ limitations under the License.
16   -->
17 <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">
18   <modelVersion>4.0.0</modelVersion>
19
20   <parent>
21     <groupId>org.opendaylight.controller</groupId>
22     <artifactId>bundle-parent</artifactId>
23     <version>7.0.7-SNAPSHOT</version>
24     <relativePath>../bundle-parent</relativePath>
25   </parent>
26
27   <artifactId>atomix-storage</artifactId>
28   <name>Atomix Storage</name>
29   <packaging>bundle</packaging>
30
31   <properties>
32     <odlparent.checkstyle.skip>true</odlparent.checkstyle.skip>
33     <odlparent.spotbugs.enforce>false</odlparent.spotbugs.enforce>
34   </properties>
35
36   <dependencies>
37     <dependency>
38       <groupId>com.google.guava</groupId>
39       <artifactId>guava</artifactId>
40     </dependency>
41     <dependency>
42       <groupId>com.esotericsoftware</groupId>
43       <artifactId>kryo</artifactId>
44       <version>4.0.2</version>
45       <scope>provided</scope>
46     </dependency>
47     <dependency>
48       <groupId>com.esotericsoftware</groupId>
49       <artifactId>minlog</artifactId>
50       <version>1.3.1</version>
51       <scope>provided</scope>
52     </dependency>
53     <dependency>
54       <groupId>com.esotericsoftware</groupId>
55       <artifactId>reflectasm</artifactId>
56       <version>1.11.9</version>
57       <scope>provided</scope>
58     </dependency>
59     <dependency>
60       <groupId>org.objenesis</groupId>
61       <artifactId>objenesis</artifactId>
62       <version>2.6</version>
63       <scope>provided</scope>
64     </dependency>
65
66     <dependency>
67       <groupId>com.google.guava</groupId>
68       <artifactId>guava-testlib</artifactId>
69     </dependency>
70   </dependencies>
71
72   <build>
73     <plugins>
74       <!-- This project has a different license -->
75       <plugin>
76         <artifactId>maven-dependency-plugin</artifactId>
77         <executions>
78           <execution>
79             <id>unpack-license</id>
80             <configuration>
81               <skip>true</skip>
82             </configuration>
83           </execution>
84         </executions>
85       </plugin>
86       <plugin>
87         <artifactId>maven-antrun-plugin</artifactId>
88         <executions>
89           <execution>
90             <id>copy-license</id>
91             <phase>prepare-package</phase>
92             <goals>
93               <goal>run</goal>
94             </goals>
95             <configuration>
96               <target>
97                 <copy file="LICENSE" tofile="${project.build.directory}/classes/LICENSE"/>
98               </target>
99             </configuration>
100           </execution>
101         </executions>
102       </plugin>
103       <plugin>
104         <artifactId>maven-checkstyle-plugin</artifactId>
105         <executions>
106           <execution>
107             <id>check-license</id>
108             <goals>
109               <goal>check</goal>
110             </goals>
111             <configuration>
112               <skip>true</skip>
113             </configuration>
114           </execution>
115         </executions>
116       </plugin>
117
118       <plugin>
119         <groupId>org.apache.felix</groupId>
120         <artifactId>maven-bundle-plugin</artifactId>
121         <extensions>true</extensions>
122         <configuration>
123           <instructions>
124             <Export-Package>
125               io.atomix.storage.journal
126             </Export-Package>
127             <Import-Package>
128               sun.nio.ch;resolution:=optional,
129               sun.misc;resolution:=optional,
130               !COM.newmonics.*,
131               !android.os,
132               *
133             </Import-Package>
134
135             <!-- Kryo is using ancient objenesis, so let's embed it to prevent duplicates -->
136             <Embed-Dependency>
137                 *;inline=true;groupId=com.esotericsoftware,
138                 *;inline=true;groupId=org.objenesis,
139             </Embed-Dependency>
140           </instructions>
141         </configuration>
142       </plugin>
143     </plugins>
144   </build>
145 </project>