This is an automated email from the ASF dual-hosted git repository.

zjureel pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-shade.git


The following commit(s) were added to refs/heads/main by this push:
     new 2118155  Add paimon-shade-caffeine-3 (#19)
2118155 is described below

commit 211815541b83b6f431e921678588d4dc7c8a5d2d
Author: WenjunMin <[email protected]>
AuthorDate: Mon Sep 9 10:09:13 2024 +0800

    Add paimon-shade-caffeine-3 (#19)
    
    * Add paimon-shade-caffeine-3
    
    * fix
---
 paimon-shade-caffeine-3/pom.xml                    | 89 ++++++++++++++++++++++
 .../src/main/resources/META-INF/NOTICE             |  9 +++
 pom.xml                                            |  1 +
 3 files changed, 99 insertions(+)

diff --git a/paimon-shade-caffeine-3/pom.xml b/paimon-shade-caffeine-3/pom.xml
new file mode 100644
index 0000000..84e15d8
--- /dev/null
+++ b/paimon-shade-caffeine-3/pom.xml
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you 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.apache.paimon</groupId>
+        <artifactId>paimon-shade</artifactId>
+        <version>0.8-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>paimon-shade-caffeine-3</artifactId>
+    <name>paimon-shade-caffeine-3</name>
+    <version>${caffeine.version}-0.8-SNAPSHOT</version>
+
+    <packaging>jar</packaging>
+
+    <properties>
+        <caffeine.version>3.1.8</caffeine.version>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>com.github.ben-manes.caffeine</groupId>
+            <artifactId>caffeine</artifactId>
+            <version>${caffeine.version}</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>shade-paimon</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>shade</goal>
+                        </goals>
+                        <configuration>
+                            
<createDependencyReducedPom>true</createDependencyReducedPom>
+                            
<dependencyReducedPomLocation>${project.basedir}/target/dependency-reduced-pom.xml</dependencyReducedPomLocation>
+                            <artifactSet>
+                                <includes>
+                                    
<include>com.github.ben-manes.caffeine:*</include>
+                                </includes>
+                            </artifactSet>
+                            <relocations>
+                                <relocation>
+                                    <pattern>com.github.benmanes</pattern>
+                                    
<shadedPattern>${shading.prefix}.caffeine3.com.github.benmanes</shadedPattern>
+                                </relocation>
+                            </relocations>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <!-- Used to resolve variables in the 'version' tag -->
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>flatten-maven-plugin</artifactId>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
diff --git a/paimon-shade-caffeine-3/src/main/resources/META-INF/NOTICE 
b/paimon-shade-caffeine-3/src/main/resources/META-INF/NOTICE
new file mode 100644
index 0000000..feba228
--- /dev/null
+++ b/paimon-shade-caffeine-3/src/main/resources/META-INF/NOTICE
@@ -0,0 +1,9 @@
+paimon-shade-caffeine-3
+Copyright 2023-2024 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+This project bundles the following dependencies under the Apache Software 
License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
+
+- com.github.ben-manes.caffeine:caffeine:3.1.8
diff --git a/pom.xml b/pom.xml
index fda2875..c999039 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,6 +63,7 @@ under the License.
     <modules>
         <module>paimon-shade-guava-30</module>
         <module>paimon-shade-caffeine-2</module>
+        <module>paimon-shade-caffeine-3</module>
         <module>paimon-shade-jackson-parent</module>
         <module>paimon-shade-netty-4</module>
     </modules>

Reply via email to