From eba0dc8322821cbcb3e13e38663c31fdc3004da8 Mon Sep 17 00:00:00 2001 From: yiumankam <415481084@qq.com> Date: Tue, 12 Jul 2022 02:08:51 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E5=8F=91=E5=B8=830.15.0=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- citrus-boot-starter/pom.xml | 14 +------------- citrus-elasticsearch/pom.xml | 15 +-------------- citrus-main/pom.xml | 17 ++--------------- citrus-mda/pom.xml | 16 ++-------------- citrus-security/pom.xml | 15 +-------------- citrus-support/pom.xml | 15 +-------------- .../file/LocalFileStorageServiceImpl.java | 4 +++- citrus-system/pom.xml | 15 +-------------- citrus-workflow-impl/pom.xml | 15 ++------------- citrus-workflow/pom.xml | 15 +-------------- pom.xml | 16 +++++++++------- 11 files changed, 24 insertions(+), 133 deletions(-) diff --git a/citrus-boot-starter/pom.xml b/citrus-boot-starter/pom.xml index eefeb9f5..cb7e7328 100644 --- a/citrus-boot-starter/pom.xml +++ b/citrus-boot-starter/pom.xml @@ -5,23 +5,11 @@ citrus com.github.yiuman - 0.14.0 + 0.15.0 4.0.0 citrus-boot-starter - - - - org.apache.maven.plugins - maven-compiler-plugin - - 16 - 16 - - - - citrus-boot-starter diff --git a/citrus-elasticsearch/pom.xml b/citrus-elasticsearch/pom.xml index 8af9c835..c9074e3c 100644 --- a/citrus-elasticsearch/pom.xml +++ b/citrus-elasticsearch/pom.xml @@ -5,23 +5,10 @@ citrus com.github.yiuman - 0.14.0 + 0.15.0 4.0.0 - citrus-elasticsearch - - - - org.apache.maven.plugins - maven-compiler-plugin - - 16 - 16 - - - - diff --git a/citrus-main/pom.xml b/citrus-main/pom.xml index 54d9ab88..d8b901e3 100644 --- a/citrus-main/pom.xml +++ b/citrus-main/pom.xml @@ -5,29 +5,16 @@ citrus com.github.yiuman - 0.14.0 + 0.15.0 4.0.0 citrus-main - - - - org.apache.maven.plugins - maven-compiler-plugin - - 16 - 16 - - - - - true true - 0.14.0 + 0.15.0 diff --git a/citrus-mda/pom.xml b/citrus-mda/pom.xml index 9ccc14fd..74dcf09a 100644 --- a/citrus-mda/pom.xml +++ b/citrus-mda/pom.xml @@ -5,23 +5,11 @@ citrus com.github.yiuman - 0.14.0 + 0.15.0 4.0.0 - citrus-mda - - - - org.apache.maven.plugins - maven-compiler-plugin - - 16 - 16 - - - - + com.github.yiuman diff --git a/citrus-security/pom.xml b/citrus-security/pom.xml index 89c36a63..a11891a4 100644 --- a/citrus-security/pom.xml +++ b/citrus-security/pom.xml @@ -5,25 +5,12 @@ com.github.yiuman citrus - 0.14.0 + 0.15.0 4.0.0 citrus-security - - - - org.apache.maven.plugins - maven-compiler-plugin - - 16 - 16 - - - - citrus-security - jar diff --git a/citrus-support/pom.xml b/citrus-support/pom.xml index 7f860679..4877d473 100644 --- a/citrus-support/pom.xml +++ b/citrus-support/pom.xml @@ -5,25 +5,12 @@ citrus com.github.yiuman - 0.14.0 + 0.15.0 4.0.0 citrus-support - - - - org.apache.maven.plugins - maven-compiler-plugin - - 16 - 16 - - - - citrus-support - jar diff --git a/citrus-support/src/main/java/com/github/yiuman/citrus/support/file/LocalFileStorageServiceImpl.java b/citrus-support/src/main/java/com/github/yiuman/citrus/support/file/LocalFileStorageServiceImpl.java index ed7cf691..f3afd606 100644 --- a/citrus-support/src/main/java/com/github/yiuman/citrus/support/file/LocalFileStorageServiceImpl.java +++ b/citrus-support/src/main/java/com/github/yiuman/citrus/support/file/LocalFileStorageServiceImpl.java @@ -43,7 +43,7 @@ public void setPath(String path) { @Override public String save(String filepath, InputStream stream) throws IOException { //文件目录 - try (stream) { + try { String directoryPath = path + "/" + LocalDate.now().format(FORMATTER); //创建目录 FileUtil.mkdir(directoryPath); @@ -51,6 +51,8 @@ public String save(String filepath, InputStream stream) throws IOException { FileOutputStream fileOutputStream = new FileOutputStream(FileUtil.file(filePath)); StreamUtils.copy(stream, fileOutputStream); return filePath; + } finally { + stream.close(); } } diff --git a/citrus-system/pom.xml b/citrus-system/pom.xml index b4e9a8f1..d8928ba0 100644 --- a/citrus-system/pom.xml +++ b/citrus-system/pom.xml @@ -5,25 +5,12 @@ citrus com.github.yiuman - 0.14.0 + 0.15.0 4.0.0 citrus-system - - - - org.apache.maven.plugins - maven-compiler-plugin - - 16 - 16 - - - - citrus-system - jar diff --git a/citrus-workflow-impl/pom.xml b/citrus-workflow-impl/pom.xml index 81ef7e90..231e1906 100644 --- a/citrus-workflow-impl/pom.xml +++ b/citrus-workflow-impl/pom.xml @@ -5,23 +5,12 @@ citrus com.github.yiuman - 0.14.0 + 0.15.0 4.0.0 citrus-workflow-impl - - - - org.apache.maven.plugins - maven-compiler-plugin - - 16 - 16 - - - - + jar diff --git a/citrus-workflow/pom.xml b/citrus-workflow/pom.xml index 2e5b4ec0..c27caa98 100644 --- a/citrus-workflow/pom.xml +++ b/citrus-workflow/pom.xml @@ -5,25 +5,12 @@ citrus com.github.yiuman - 0.14.0 + 0.15.0 4.0.0 citrus-workflow - - - - org.apache.maven.plugins - maven-compiler-plugin - - 16 - 16 - - - - citrus-workflow - jar diff --git a/pom.xml b/pom.xml index 2be69390..2f580a2b 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.github.yiuman citrus - 0.14.0 + 0.15.0 citrus citrus-低代码开发脚手架 https://github.com/Yiuman/citrus @@ -48,16 +48,18 @@ + 1.8 + 1.8 + 1.8 UTF-8 ${java.version} 2.5.2 1.18.22 5.7.22 3.5.1 - 1.8 - 1.8 - 17 - 0.14.0 + + + 0.15.0 3.0.5 0.11.0 2.6 @@ -143,8 +145,8 @@ maven-compiler-plugin 3.1 - 16 - 16 + ${maven.compiler.source} + ${maven.compiler.target} ${project.build.sourceEncoding}