From ee9bc67addfdc5c3158ae6dda4ef085b63365d94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=B9=E5=A4=A9=E5=8D=AB?= <15010051933@139.com> Date: Wed, 7 Apr 2021 11:31:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BC=94=E7=A4=BA=E7=8E=AF=E5=A2=83=20jenkins?= =?UTF-8?q?=E9=83=A8=E7=BD=B21?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cement-business/pom.xml | 12 ++++++------ .../src/main/resources/logback-spring.xml | 13 +++++++++++++ .../target/maven-archiver/pom.properties | 4 ---- .../target/maven-archiver/pom.properties | 4 ---- 4 files changed, 19 insertions(+), 14 deletions(-) delete mode 100644 cement-common/common-swagger/target/maven-archiver/pom.properties delete mode 100644 mybatis-generator/target/maven-archiver/pom.properties diff --git a/cement-business/pom.xml b/cement-business/pom.xml index 53e0a04..c8ee70d 100644 --- a/cement-business/pom.xml +++ b/cement-business/pom.xml @@ -204,9 +204,9 @@ <properties> <env>dev</env><!-- 节点åå—environmentæ˜¯è‡ªå·±éšæ„å–çš„ --> </properties> - <activation> - <activeByDefault>true</activeByDefault><!-- 默认激活该profile节点--> - </activation> + <!-- <activation> + <activeByDefault>true</activeByDefault><!– 默认激活该profile节点–> + </activation>--> </profile> <profile> <!-- 生产环境 --> @@ -224,9 +224,9 @@ <properties> <env>show</env> </properties> - <!--<activation> - <activeByDefault>true</activeByDefault><!– 默认激活该profile节点–> - </activation>--> + <activation> + <activeByDefault>true</activeByDefault><!-- 默认激活该profile节点--> + </activation> </profile> diff --git a/cement-business/src/main/resources/logback-spring.xml b/cement-business/src/main/resources/logback-spring.xml index fadf21a..9f98747 100644 --- a/cement-business/src/main/resources/logback-spring.xml +++ b/cement-business/src/main/resources/logback-spring.xml @@ -200,4 +200,17 @@ <appender-ref ref="WARN_FILE"/> </root> </springProfile> + + <!--4.3 演示环境:输出到文档--> + <springProfile name="show"> + <logger name="cn.wise.sc.cement.business.controller" level="debug"/><!-- 修改æ¤å¤„扫æåŒ…å --> + <root level="debug"> + <appender-ref ref="CONSOLE"/> + <appender-ref ref="DEBUG_FILE"/> + <appender-ref ref="INFO_FILE"/> + <appender-ref ref="ERROR_FILE"/> + <appender-ref ref="WARN_FILE"/> + </root> + </springProfile> + </configuration> \ No newline at end of file diff --git a/cement-common/common-swagger/target/maven-archiver/pom.properties b/cement-common/common-swagger/target/maven-archiver/pom.properties deleted file mode 100644 index 79281ab..0000000 --- a/cement-common/common-swagger/target/maven-archiver/pom.properties +++ /dev/null @@ -1,4 +0,0 @@ -#Created by Apache Maven 3.6.0 -version=1.0-SNAPSHOT -groupId=cn.wise.sc.tjcement -artifactId=common-swagger diff --git a/mybatis-generator/target/maven-archiver/pom.properties b/mybatis-generator/target/maven-archiver/pom.properties deleted file mode 100644 index f53ab7f..0000000 --- a/mybatis-generator/target/maven-archiver/pom.properties +++ /dev/null @@ -1,4 +0,0 @@ -#Created by Apache Maven 3.6.0 -version=1.0-SNAPSHOT -groupId=cn.wise.sc.tjcement -artifactId=mybatis-generator -- 2.18.1