1
0
mirror of https://github.com/chatopera/cosin.git synced 2025-08-01 16:38:02 +08:00

去掉maven-antrun-plugin

This commit is contained in:
lecjy 2023-10-16 18:49:31 +08:00
parent acce711b29
commit 988606d579
9 changed files with 6 additions and 41 deletions

View File

@ -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:

View File

@ -93,10 +93,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>

View File

@ -84,10 +84,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>

View File

@ -64,10 +64,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>

View File

@ -74,10 +74,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>

View File

@ -74,10 +74,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>

View File

@ -63,10 +63,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>

View File

@ -272,23 +272,6 @@
<allowInsecureRegistries>true</allowInsecureRegistries>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy file="../../logback-spring.xml" tofile="${project.build.outputDirectory}/logback-spring.xml"/>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>