From 988606d5797ef5353e0b85ea6e5afb93ff3aaa28 Mon Sep 17 00:00:00 2001
From: lecjy <5655726966@qq.com>
Date: Mon, 16 Oct 2023 18:49:31 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89maven-antrun-plugin?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
containerization/docker-compose.yml | 6 ++++++
.../logback-spring.xml | 0
.../cskefu-auth/cskefu-auth-service/pom.xml | 4 ----
.../cskefu-channel-wechat-service/pom.xml | 4 ----
.../cskefu-gateway/cskefu-web-gateway/pom.xml | 4 ----
.../cskefu-manager-service/pom.xml | 4 ----
.../cskefu-plugin/cskefu-plugin-service/pom.xml | 4 ----
.../cskefu-websocket-service/pom.xml | 4 ----
cskefu-backend/pom.xml | 17 -----------------
9 files changed, 6 insertions(+), 41 deletions(-)
rename {cskefu-backend => containerization}/logback-spring.xml (100%)
diff --git a/containerization/docker-compose.yml b/containerization/docker-compose.yml
index a541f846..31f5d55d 100644
--- a/containerization/docker-compose.yml
+++ b/containerization/docker-compose.yml
@@ -122,6 +122,7 @@ services:
volumes:
- ./cskefu/logs:/cskefu/logs
- ./bootstrap.properties:/app/resources/bootstrap.properties
+ - ./logback-spring.xml:/app/resources/logback-spring.xml
deploy:
replicas: 3
environment:
@@ -152,6 +153,7 @@ services:
volumes:
- ./cskefu/logs:/cskefu/logs
- ./bootstrap.properties:/app/resources/bootstrap.properties
+ - ./logback-spring.xml:/app/resources/logback-spring.xml
environment:
- "JAVA_OPTS=-Xmx${CSKEFU_JAVA_XMX:-512m} -Xms${CSKEFU_JAVA_XMS:-512m} -XX:PermSize=128m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true --add-opens java.base/jdk.internal.misc=ALL-UNNAMED -Dio.netty.tryReflectionSetAccessible=true --illegal-access=warn"
- LOGGING_LEVEL_ROOT=${LOGGING_LEVEL_ROOT:-INFO}
@@ -182,6 +184,7 @@ services:
volumes:
- ./cskefu/logs:/cskefu/logs
- ./bootstrap.properties:/app/resources/bootstrap.properties
+ - ./logback-spring.xml:/app/resources/logback-spring.xml
environment:
- "JAVA_OPTS=-Xmx${CSKEFU_JAVA_XMX:-512m} -Xms${CSKEFU_JAVA_XMS:-512m} -XX:PermSize=128m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true --add-opens java.base/jdk.internal.misc=ALL-UNNAMED -Dio.netty.tryReflectionSetAccessible=true --illegal-access=warn"
- LOGGING_LEVEL_ROOT=${LOGGING_LEVEL_ROOT:-INFO}
@@ -212,6 +215,7 @@ services:
volumes:
- ./cskefu/logs:/cskefu/logs
- ./bootstrap.properties:/app/resources/bootstrap.properties
+ - ./logback-spring.xml:/app/resources/logback-spring.xml
environment:
- "JAVA_OPTS=-Xmx${CSKEFU_JAVA_XMX:-512m} -Xms${CSKEFU_JAVA_XMS:-512m} -XX:PermSize=128m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true --add-opens java.base/jdk.internal.misc=ALL-UNNAMED -Dio.netty.tryReflectionSetAccessible=true --illegal-access=warn"
- LOGGING_LEVEL_ROOT=${LOGGING_LEVEL_ROOT:-INFO}
@@ -242,6 +246,7 @@ services:
volumes:
- ./cskefu/logs:/cskefu/logs
- ./bootstrap.properties:/app/resources/bootstrap.properties
+ - ./logback-spring.xml:/app/resources/logback-spring.xml
environment:
- "JAVA_OPTS=-Xmx${CSKEFU_JAVA_XMX:-512m} -Xms${CSKEFU_JAVA_XMS:-512m} -XX:PermSize=128m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true --add-opens java.base/jdk.internal.misc=ALL-UNNAMED -Dio.netty.tryReflectionSetAccessible=true --illegal-access=warn"
- LOGGING_LEVEL_ROOT=${LOGGING_LEVEL_ROOT:-INFO}
@@ -269,6 +274,7 @@ services:
volumes:
- ./cskefu/logs:/cskefu/logs
- ./bootstrap.properties:/app/resources/bootstrap.properties
+ - ./logback-spring.xml:/app/resources/logback-spring.xml
deploy:
replicas: 2
environment:
diff --git a/cskefu-backend/logback-spring.xml b/containerization/logback-spring.xml
similarity index 100%
rename from cskefu-backend/logback-spring.xml
rename to containerization/logback-spring.xml
diff --git a/cskefu-backend/cskefu-auth/cskefu-auth-service/pom.xml b/cskefu-backend/cskefu-auth/cskefu-auth-service/pom.xml
index 1fc77c7b..aa710344 100644
--- a/cskefu-backend/cskefu-auth/cskefu-auth-service/pom.xml
+++ b/cskefu-backend/cskefu-auth/cskefu-auth-service/pom.xml
@@ -93,10 +93,6 @@
org.springframework.boot
spring-boot-maven-plugin
-
- org.apache.maven.plugins
- maven-antrun-plugin
-
com.google.cloud.tools
jib-maven-plugin
diff --git a/cskefu-backend/cskefu-channel/cskefu-channel-wechat-service/pom.xml b/cskefu-backend/cskefu-channel/cskefu-channel-wechat-service/pom.xml
index 14bf037c..00d55aad 100644
--- a/cskefu-backend/cskefu-channel/cskefu-channel-wechat-service/pom.xml
+++ b/cskefu-backend/cskefu-channel/cskefu-channel-wechat-service/pom.xml
@@ -84,10 +84,6 @@
org.springframework.boot
spring-boot-maven-plugin
-
- org.apache.maven.plugins
- maven-antrun-plugin
-
com.google.cloud.tools
jib-maven-plugin
diff --git a/cskefu-backend/cskefu-gateway/cskefu-web-gateway/pom.xml b/cskefu-backend/cskefu-gateway/cskefu-web-gateway/pom.xml
index a946dc5d..c05f437c 100644
--- a/cskefu-backend/cskefu-gateway/cskefu-web-gateway/pom.xml
+++ b/cskefu-backend/cskefu-gateway/cskefu-web-gateway/pom.xml
@@ -64,10 +64,6 @@
org.springframework.boot
spring-boot-maven-plugin
-
- org.apache.maven.plugins
- maven-antrun-plugin
-
com.google.cloud.tools
jib-maven-plugin
diff --git a/cskefu-backend/cskefu-manager/cskefu-manager-service/pom.xml b/cskefu-backend/cskefu-manager/cskefu-manager-service/pom.xml
index 2d88503b..e5c17807 100644
--- a/cskefu-backend/cskefu-manager/cskefu-manager-service/pom.xml
+++ b/cskefu-backend/cskefu-manager/cskefu-manager-service/pom.xml
@@ -74,10 +74,6 @@
org.springframework.boot
spring-boot-maven-plugin
-
- org.apache.maven.plugins
- maven-antrun-plugin
-
com.google.cloud.tools
jib-maven-plugin
diff --git a/cskefu-backend/cskefu-plugin/cskefu-plugin-service/pom.xml b/cskefu-backend/cskefu-plugin/cskefu-plugin-service/pom.xml
index c7535546..ed8aae7c 100644
--- a/cskefu-backend/cskefu-plugin/cskefu-plugin-service/pom.xml
+++ b/cskefu-backend/cskefu-plugin/cskefu-plugin-service/pom.xml
@@ -74,10 +74,6 @@
org.springframework.boot
spring-boot-maven-plugin
-
- org.apache.maven.plugins
- maven-antrun-plugin
-
com.google.cloud.tools
jib-maven-plugin
diff --git a/cskefu-backend/cskefu-websocket/cskefu-websocket-service/pom.xml b/cskefu-backend/cskefu-websocket/cskefu-websocket-service/pom.xml
index d58cfbb0..d623ec9a 100644
--- a/cskefu-backend/cskefu-websocket/cskefu-websocket-service/pom.xml
+++ b/cskefu-backend/cskefu-websocket/cskefu-websocket-service/pom.xml
@@ -63,10 +63,6 @@
org.springframework.boot
spring-boot-maven-plugin
-
- org.apache.maven.plugins
- maven-antrun-plugin
-
com.google.cloud.tools
jib-maven-plugin
diff --git a/cskefu-backend/pom.xml b/cskefu-backend/pom.xml
index cf145898..b121388d 100644
--- a/cskefu-backend/pom.xml
+++ b/cskefu-backend/pom.xml
@@ -272,23 +272,6 @@
true
-
- org.apache.maven.plugins
- maven-antrun-plugin
-
-
- package
-
- run
-
-
-
-
-
-
-
-
-