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

kirs pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-seatunnel-datasource-sdk.git


The following commit(s) were added to refs/heads/main by this push:
     new 304223b  Add guava dependency (#4)
304223b is described below

commit 304223b6c915f950f03192607a825999d42afb32
Author: Kirs <[email protected]>
AuthorDate: Fri Dec 30 11:13:30 2022 +0800

    Add guava dependency (#4)
---
 datasource-client/pom.xml                                        | 4 ++++
 .../org/apache/seatunnel/datasource/annotation/ThreadSafe.java   | 2 +-
 .../java/org/apache/seatunnel/datasource/model/BaseModel.java    | 2 ++
 pom.xml                                                          | 9 ++++++++-
 4 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/datasource-client/pom.xml b/datasource-client/pom.xml
index c621a0d..5873bc2 100644
--- a/datasource-client/pom.xml
+++ b/datasource-client/pom.xml
@@ -45,6 +45,10 @@
             <groupId>org.apache.commons</groupId>
             <artifactId>commons-lang3</artifactId>
         </dependency>
+        <dependency>
+            <groupId>com.google.guava</groupId>
+            <artifactId>guava</artifactId>
+        </dependency>
     </dependencies>
 
 </project>
diff --git 
a/datasource-client/src/main/java/org/apache/seatunnel/datasource/annotation/ThreadSafe.java
 
b/datasource-client/src/main/java/org/apache/seatunnel/datasource/annotation/ThreadSafe.java
index e7e9072..86ac9c3 100644
--- 
a/datasource-client/src/main/java/org/apache/seatunnel/datasource/annotation/ThreadSafe.java
+++ 
b/datasource-client/src/main/java/org/apache/seatunnel/datasource/annotation/ThreadSafe.java
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.seatunnel.datasource.annotation;
 
 import java.lang.annotation.Documented;
diff --git 
a/datasource-client/src/main/java/org/apache/seatunnel/datasource/model/BaseModel.java
 
b/datasource-client/src/main/java/org/apache/seatunnel/datasource/model/BaseModel.java
index ece7e05..d318973 100644
--- 
a/datasource-client/src/main/java/org/apache/seatunnel/datasource/model/BaseModel.java
+++ 
b/datasource-client/src/main/java/org/apache/seatunnel/datasource/model/BaseModel.java
@@ -17,6 +17,8 @@
 
 package org.apache.seatunnel.datasource.model;
 
+import java.util.Date;
+
 public class BaseModel {
 
     /**
diff --git a/pom.xml b/pom.xml
index 5b2ca6d..9d3dbbe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -78,6 +78,8 @@
         <!--dependency version-->
         <jackson.version>2.14.0</jackson.version>
         <lombok.version>1.18.24</lombok.version>
+        <guava.version>31.1-jre</guava.version>
+        <commons-lang3.version>3.12.0</commons-lang3.version>
         <!--maven plugin version-->
         
<maven-checkstyle-plugin.version>3.2.0</maven-checkstyle-plugin.version>
         <checkstyle.fails.on.error>true</checkstyle.fails.on.error>
@@ -99,7 +101,12 @@
             <dependency>
                 <groupId>org.apache.commons</groupId>
                 <artifactId>commons-lang3</artifactId>
-                <version>3.12.0</version>
+                <version>${commons-lang3.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>com.google.guava</groupId>
+                <artifactId>guava</artifactId>
+                <version>${guava.version}</version>
             </dependency>
 
         </dependencies>

Reply via email to