Fold atomix-utils into atomix-storage 02/104702/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 2 Mar 2023 10:20:22 +0000 (11:20 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 2 Mar 2023 10:26:47 +0000 (11:26 +0100)
There is very little value in keeping these two artifacts separate,
combine them to form a single unit.

JIRA: CONTROLLER-2071
Change-Id: I480ce9d050f32d5d843cc5ada90dcf422ee7f7ee
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
24 files changed:
artifacts/pom.xml
opendaylight/md-sal/sal-akka-segmented-journal/pom.xml
third-party/atomix/pom.xml
third-party/atomix/storage/pom.xml
third-party/atomix/storage/src/main/java/io/atomix/utils/serializer/BufferAwareByteArrayOutputStream.java [moved from third-party/atomix/utils/src/main/java/io/atomix/utils/serializer/BufferAwareByteArrayOutputStream.java with 100% similarity]
third-party/atomix/storage/src/main/java/io/atomix/utils/serializer/ByteArrayOutput.java [moved from third-party/atomix/utils/src/main/java/io/atomix/utils/serializer/ByteArrayOutput.java with 100% similarity]
third-party/atomix/storage/src/main/java/io/atomix/utils/serializer/KryoIOPool.java [moved from third-party/atomix/utils/src/main/java/io/atomix/utils/serializer/KryoIOPool.java with 100% similarity]
third-party/atomix/storage/src/main/java/io/atomix/utils/serializer/KryoInputPool.java [moved from third-party/atomix/utils/src/main/java/io/atomix/utils/serializer/KryoInputPool.java with 100% similarity]
third-party/atomix/storage/src/main/java/io/atomix/utils/serializer/KryoOutputPool.java [moved from third-party/atomix/utils/src/main/java/io/atomix/utils/serializer/KryoOutputPool.java with 100% similarity]
third-party/atomix/storage/src/main/java/io/atomix/utils/serializer/Namespace.java [moved from third-party/atomix/utils/src/main/java/io/atomix/utils/serializer/Namespace.java with 100% similarity]
third-party/atomix/storage/src/main/java/io/atomix/utils/serializer/Namespaces.java [moved from third-party/atomix/utils/src/main/java/io/atomix/utils/serializer/Namespaces.java with 100% similarity]
third-party/atomix/storage/src/main/java/io/atomix/utils/serializer/Serializer.java [moved from third-party/atomix/utils/src/main/java/io/atomix/utils/serializer/Serializer.java with 100% similarity]
third-party/atomix/storage/src/main/java/io/atomix/utils/serializer/SerializerBuilder.java [moved from third-party/atomix/utils/src/main/java/io/atomix/utils/serializer/SerializerBuilder.java with 100% similarity]
third-party/atomix/storage/src/main/java/io/atomix/utils/serializer/package-info.java [moved from third-party/atomix/utils/src/main/java/io/atomix/utils/serializer/package-info.java with 100% similarity]
third-party/atomix/storage/src/main/java/io/atomix/utils/serializer/serializers/ArraysAsListSerializer.java [moved from third-party/atomix/utils/src/main/java/io/atomix/utils/serializer/serializers/ArraysAsListSerializer.java with 100% similarity]
third-party/atomix/storage/src/main/java/io/atomix/utils/serializer/serializers/DefaultSerializers.java [moved from third-party/atomix/utils/src/main/java/io/atomix/utils/serializer/serializers/DefaultSerializers.java with 100% similarity]
third-party/atomix/storage/src/main/java/io/atomix/utils/serializer/serializers/ImmutableListSerializer.java [moved from third-party/atomix/utils/src/main/java/io/atomix/utils/serializer/serializers/ImmutableListSerializer.java with 100% similarity]
third-party/atomix/storage/src/main/java/io/atomix/utils/serializer/serializers/ImmutableMapSerializer.java [moved from third-party/atomix/utils/src/main/java/io/atomix/utils/serializer/serializers/ImmutableMapSerializer.java with 100% similarity]
third-party/atomix/storage/src/main/java/io/atomix/utils/serializer/serializers/ImmutableSetSerializer.java [moved from third-party/atomix/utils/src/main/java/io/atomix/utils/serializer/serializers/ImmutableSetSerializer.java with 100% similarity]
third-party/atomix/storage/src/main/java/io/atomix/utils/serializer/serializers/package-info.java [moved from third-party/atomix/utils/src/main/java/io/atomix/utils/serializer/serializers/package-info.java with 100% similarity]
third-party/atomix/storage/src/test/java/io/atomix/utils/serializer/BufferAwareByteArrayOutputStreamTest.java [moved from third-party/atomix/utils/src/test/java/io/atomix/utils/serializer/BufferAwareByteArrayOutputStreamTest.java with 100% similarity]
third-party/atomix/storage/src/test/java/io/atomix/utils/serializer/KryoInputPoolTest.java [moved from third-party/atomix/utils/src/test/java/io/atomix/utils/serializer/KryoInputPoolTest.java with 100% similarity]
third-party/atomix/storage/src/test/java/io/atomix/utils/serializer/KryoOutputPoolTest.java [moved from third-party/atomix/utils/src/test/java/io/atomix/utils/serializer/KryoOutputPoolTest.java with 100% similarity]
third-party/atomix/utils/pom.xml [deleted file]

index 26b7dd0f684967e3271a37bdcbf8d003b3e80821..0ae23e7f74d7fbd55a174004926b4efdb0a180a9 100644 (file)
                 <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>
index f5fe46edb5a7177902381b1a344841de9b4d25f0..93fef5cda79ab9c1f5d45dddf3c77e79b31fdb08 100644 (file)
@@ -67,11 +67,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
             <artifactId>atomix-storage</artifactId>
             <scope>provided</scope>
         </dependency>
-        <dependency>
-            <groupId>org.opendaylight.controller</groupId>
-            <artifactId>atomix-utils</artifactId>
-            <scope>provided</scope>
-        </dependency>
         <dependency>
             <groupId>com.esotericsoftware</groupId>
             <artifactId>kryo</artifactId>
@@ -133,7 +128,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
                             <!-- atomix.io is using an older Guava, and Kryo is using ancient objenesis,
                                  so let's embed it to prevent duplicates -->
                             *;inline=true;artifactId=atomix-storage,
-                            *;inline=true;artifactId=atomix-utils,
                             *;inline=true;groupId=com.esotericsoftware,
                             *;inline=true;groupId=org.objenesis,
                             *;inline=true;groupId=org.ow2.asm,
index 11adbd2393272b90c9aeb260ac0dafbcfec55aef..6b3a31859491d325e6e9768696bc87145b704101 100644 (file)
@@ -21,6 +21,5 @@
 
     <modules>
         <module>storage</module>
-        <module>utils</module>
     </modules>
 </project>
index d404373c07e72bf0d4827628e76b3e0ab47c49a7..c077f156f49b2538bc1827a412368291da0d29c6 100644 (file)
 
   <dependencies>
     <dependency>
-      <groupId>org.opendaylight.controller</groupId>
-      <artifactId>atomix-utils</artifactId>
+      <groupId>com.google.guava</groupId>
+      <artifactId>guava</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.commons</groupId>
+      <artifactId>commons-lang3</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>com.esotericsoftware</groupId>
+      <artifactId>kryo</artifactId>
+      <version>4.0.2</version>
+    </dependency>
+
+    <dependency>
+      <groupId>com.google.guava</groupId>
+      <artifactId>guava-testlib</artifactId>
     </dependency>
   </dependencies>
 
@@ -49,7 +63,8 @@
         <configuration>
           <instructions>
             <Export-Package>
-              io.atomix.storage.*
+              io.atomix.storage.*,
+              io.atomix.utils.*
             </Export-Package>
             <Import-Package>
               sun.nio.ch;resolution:=optional,sun.misc;resolution:=optional,*
diff --git a/third-party/atomix/utils/pom.xml b/third-party/atomix/utils/pom.xml
deleted file mode 100644 (file)
index cf46d87..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<!--
-  ~ 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.
-  ~ You may obtain a copy of the License at
-  ~
-  ~     http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  -->
-<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.controller</groupId>
-    <artifactId>bundle-parent</artifactId>
-    <version>7.0.5-SNAPSHOT</version>
-    <relativePath>../../../bundle-parent</relativePath>
-  </parent>
-
-  <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>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.commons</groupId>
-      <artifactId>commons-lang3</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>com.esotericsoftware</groupId>
-      <artifactId>kryo</artifactId>
-      <version>4.0.2</version>
-    </dependency>
-
-    <dependency>
-      <groupId>com.google.guava</groupId>
-      <artifactId>guava-testlib</artifactId>
-    </dependency>
-  </dependencies>
-
-  <build>
-    <plugins>
-      <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>