<classifier>features</classifier>
<type>xml</type>
</dependency>
+
+ <!-- Atomix -->
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>atomix-storage</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>atomix-utils</artifactId>
+ <version>${project.version}</version>
+ </dependency>
</dependencies>
</dependencyManagement>
</project>
<module>opendaylight/config</module>
<module>opendaylight/blueprint</module>
+
+ <module>third-party/atomix</module>
</modules>
<profiles>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<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">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.opendaylight.odlparent</groupId>
+ <artifactId>odlparent-lite</artifactId>
+ <version>12.0.3</version>
+ <relativePath/>
+ </parent>
+
+ <groupId>org.opendaylight.controller</groupId>
+ <artifactId>atomix</artifactId>
+ <version>7.0.5-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <properties>
+ <maven.deploy.skip>true</maven.deploy.skip>
+ <maven.install.skip>true</maven.install.skip>
+ </properties>
+
+ <modules>
+ <module>storage</module>
+ <module>utils</module>
+ </modules>
+</project>
<!--
- ~ Copyright 2017-present Open Networking Foundation
+ ~ Copyright 2017-2021 Open Networking Foundation
+ ~ Copyright 2023 PANTHEON.tech, s.r.o.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>io.atomix</groupId>
- <artifactId>atomix-parent</artifactId>
- <version>3.2.0-SNAPSHOT</version>
+ <groupId>org.opendaylight.controller</groupId>
+ <artifactId>bundle-parent</artifactId>
+ <version>7.0.5-SNAPSHOT</version>
+ <relativePath>../../../bundle-parent</relativePath>
</parent>
- <packaging>bundle</packaging>
<artifactId>atomix-storage</artifactId>
<name>Atomix Storage</name>
+ <properties>
+ <odlparent.checkstyle.skip>true</odlparent.checkstyle.skip>
+ <odlparent.modernizer.skip>true</odlparent.modernizer.skip>
+ <odlparent.spotbugs.skip>true</odlparent.spotbugs.skip>
+ </properties>
+
<dependencies>
<dependency>
- <groupId>io.atomix</groupId>
+ <groupId>org.opendaylight.controller</groupId>
<artifactId>atomix-utils</artifactId>
- <version>${project.version}</version>
</dependency>
</dependencies>
</instructions>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>check-license</id>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ <configuration>
+ <!-- This project has a different license -->
+ <skip>true</skip>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>
/**
* Maps a portion of the randomAccessFile into memory in {@link FileChannel.MapMode#READ_WRITE} mode and returns
- * a {@link UnsafeMappedBytes} instance.
+ * a {@link MappedBytes} instance.
*
* @param offset The offset from which to map the randomAccessFile into memory.
* @param size The count of the bytes to map into memory.
}
/**
- * Maps a portion of the randomAccessFile into memory and returns a {@link UnsafeMappedBytes} instance.
+ * Maps a portion of the randomAccessFile into memory and returns a {@link MappedBytes} instance.
*
* @param offset The offset from which to map the randomAccessFile into memory.
* @param size The count of the bytes to map into memory.
<!--
- ~ Copyright 2017-present Open Networking Foundation
+ ~ Copyright 2017-2021 Open Networking Foundation
+ ~ Copyright 2023 PANTHEON.tech, s.r.o.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>io.atomix</groupId>
- <artifactId>atomix-parent</artifactId>
- <version>3.2.0-SNAPSHOT</version>
+ <groupId>org.opendaylight.controller</groupId>
+ <artifactId>bundle-parent</artifactId>
+ <version>7.0.5-SNAPSHOT</version>
+ <relativePath>../../../bundle-parent</relativePath>
</parent>
- <packaging>bundle</packaging>
<artifactId>atomix-utils</artifactId>
<name>Atomix Utilities</name>
+ <properties>
+ <odlparent.checkstyle.skip>true</odlparent.checkstyle.skip>
+ <odlparent.modernizer.skip>true</odlparent.modernizer.skip>
+ <odlparent.spotbugs.skip>true</odlparent.spotbugs.skip>
+ </properties>
+
<dependencies>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
- <version>${guava.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
- <version>${commons.lang3.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-math3</artifactId>
- <version>${commons.math3.version}</version>
</dependency>
<dependency>
<groupId>com.esotericsoftware</groupId>
<artifactId>kryo</artifactId>
- <version>${kryo.version}</version>
+ <version>4.0.2</version>
</dependency>
<dependency>
<groupId>com.typesafe</groupId>
<artifactId>config</artifactId>
- <version>${config.version}</version>
</dependency>
+
<dependency>
- <groupId>io.github.classgraph</groupId>
- <artifactId>classgraph</artifactId>
- <version>${classgraph.version}</version>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava-testlib</artifactId>
</dependency>
</dependencies>
</instructions>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>check-license</id>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ <configuration>
+ <!-- This project has a different license -->
+ <skip>true</skip>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>