diff --git a/.github/workflows/MavenDeploy.yml b/.github/workflows/MavenDeploy.yml
index 6128c542..a8a32200 100644
--- a/.github/workflows/MavenDeploy.yml
+++ b/.github/workflows/MavenDeploy.yml
@@ -11,6 +11,8 @@ on:
env:
APPLICATION_NAME: "starfish"
+ GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
+
# APPLICATION_VERSION: "1.0.0"
# APPLICATION_ENV: "dev"
@@ -33,18 +35,14 @@ jobs:
cache: maven
- name: Package
- env:
- GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
run: mvn --batch-mode --update-snapshots package -Dmaven.test.skip=true
# - name: Install
-# env:
-# GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
# run: mvn --batch-mode --update-snapshots install -Dmaven.test.skip=true
- name: Deploy
- env:
- GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
+# env:
+# GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
run: mvn --batch-mode --update-snapshots deploy -Dmaven.test.skip=true
# - name: Build With Maven
diff --git a/.gitignore b/.gitignore
index 193dd62a..473bb5f8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,4 +12,6 @@
.tmp
*.tar.gz
/target/*
-hs_err_pid*
\ No newline at end of file
+hs_err_pid*
+/target/
+target
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 046fd0dd..850f7059 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,11 +5,11 @@
org.springframework.boot
spring-boot-starter-parent
- 3.4.4
+ 4.0.0
com.github.sunkolin
starfish
- 1.0.0
+ 2.0.2-SNAPSHOT
jar
starfish
starfish
@@ -33,12 +33,23 @@
- UTF-8
17
- 2023.0.1
+ UTF-8
+
+ aliyun
+ aliyun
+ default
+ https://maven.aliyun.com/repository/central
+
+ false
+
+
+ true
+
+
central
https://repo1.maven.org/maven2
@@ -49,15 +60,6 @@
true
-
-
- aliyun
- aliyun
- default
- https://maven.aliyun.com/repository/public
-
- false
-
true
@@ -75,18 +77,12 @@
-
- org.springframework.cloud
- spring-cloud-dependencies
- ${spring.cloud.version}
- pom
- import
-
+
-
+
org.springframework.boot
spring-boot
@@ -111,19 +107,14 @@
org.springframework.boot
spring-boot-starter-cache
-
- org.springframework.boot
- spring-boot-starter-aop
-
+
+
+
+
org.springframework.boot
spring-boot-starter-mail
-
- org.springframework.boot
- spring-boot-starter-test
- test
-
org.springframework.boot
spring-boot-starter-data-redis
@@ -134,15 +125,10 @@
org.springframework.boot
- spring-boot-starter-quartz
-
-
- c3p0
- c3p0
-
-
+ spring-boot-starter-test
+ test
-
+
org.springframework.boot
spring-boot-configuration-processor
@@ -187,12 +173,12 @@
cn.hutool
hutool-all
- 5.8.30
+ 5.8.41
com.xuxueli
xxl-job-core
- 2.4.2
+ 3.2.0
org.mybatis.spring.boot
@@ -213,6 +199,17 @@
bcprov-jdk18on
1.78.1
+
+
+ cn.idev.excel
+ fastexcel
+ 1.3.0
+
+
+
+
+
+
diff --git a/src/main/java/com/starfish/common/cache/CacheAutoConfiguration.java b/src/main/java/com/starfish/common/cache/CacheAutoConfiguration.java
index 2a2c9de5..3189ac0b 100644
--- a/src/main/java/com/starfish/common/cache/CacheAutoConfiguration.java
+++ b/src/main/java/com/starfish/common/cache/CacheAutoConfiguration.java
@@ -12,6 +12,7 @@
import org.springframework.context.annotation.Configuration;
import jakarta.annotation.Resource;
+
import java.util.concurrent.TimeUnit;
/**
@@ -64,9 +65,9 @@ public CacheManager cacheManager(Caffeine