Add an explicit LICENSE file
[controller.git] / third-party / 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.5-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>org.apache.commons</groupId>
43       <artifactId>commons-lang3</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>com.esotericsoftware</groupId>
47       <artifactId>kryo</artifactId>
48       <version>4.0.2</version>
49       <scope>provided</scope>
50     </dependency>
51     <dependency>
52       <groupId>com.esotericsoftware</groupId>
53       <artifactId>minlog</artifactId>
54       <version>1.3.1</version>
55       <scope>provided</scope>
56     </dependency>
57     <dependency>
58       <groupId>com.esotericsoftware</groupId>
59       <artifactId>reflectasm</artifactId>
60       <version>1.11.8</version>
61       <scope>provided</scope>
62     </dependency>
63     <dependency>
64       <groupId>org.ow2.asm</groupId>
65       <artifactId>asm</artifactId>
66       <version>5.2</version>
67       <scope>provided</scope>
68     </dependency>
69     <dependency>
70       <groupId>org.objenesis</groupId>
71       <artifactId>objenesis</artifactId>
72       <version>2.6</version>
73       <scope>provided</scope>
74     </dependency>
75
76     <dependency>
77       <groupId>com.google.guava</groupId>
78       <artifactId>guava-testlib</artifactId>
79     </dependency>
80   </dependencies>
81
82   <build>
83     <plugins>
84       <plugin>
85         <groupId>org.apache.felix</groupId>
86         <artifactId>maven-bundle-plugin</artifactId>
87         <extensions>true</extensions>
88         <configuration>
89           <instructions>
90             <Export-Package>
91               io.atomix.storage.journal.*,
92               io.atomix.utils.serializer.*,
93               com.esotericsoftware.kryo.*;version=4.0.2
94             </Export-Package>
95             <Import-Package>
96               sun.nio.ch;resolution:=optional,
97               sun.misc;resolution:=optional,
98               !COM.newmonics.*,
99               !android.os,
100               *
101             </Import-Package>
102
103             <!-- Kryo is using ancient objenesis, so let's embed it to prevent duplicates -->
104             <Embed-Dependency>
105                 *;inline=true;groupId=com.esotericsoftware,
106                 *;inline=true;groupId=org.objenesis,
107                 *;inline=true;groupId=org.ow2.asm,
108             </Embed-Dependency>
109           </instructions>
110         </configuration>
111       </plugin>
112       <plugin>
113         <artifactId>maven-checkstyle-plugin</artifactId>
114         <executions>
115           <execution>
116             <id>check-license</id>
117             <goals>
118               <goal>check</goal>
119             </goals>
120             <configuration>
121               <!-- This project has a different license -->
122               <skip>true</skip>
123             </configuration>
124           </execution>
125         </executions>
126       </plugin>
127     </plugins>
128   </build>
129 </project>