From d101befdddc4b84fce345521676b39dabe3176cd Mon Sep 17 00:00:00 2001 From: ronger Date: Mon, 26 Sep 2022 07:53:32 +0800 Subject: [PATCH] =?UTF-8?q?:construction=5Fworker:=20maven=20ci=20?= =?UTF-8?q?=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 61 +++++++++++++++++++++++++++++- src/main/resources/application.yml | 5 ++- 2 files changed, 64 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 364f05e..356c54f 100644 --- a/pom.xml +++ b/pom.xml @@ -272,15 +272,74 @@ **/**/*.xml + + + src/main/resources + false + + **/** + + + + + + src/main/resources + true + config + + application.yml + application-${profileActive}.yml + banner.txt + logback.xml + *.properties + + org.springframework.boot spring-boot-maven-plugin 2.3.5.RELEASE + + true + + + + org.apache.maven.plugins + maven-resources-plugin + + + woff + woff2 + eot + ttf + svg + + forest - + + + + + dev + + dev + + + true + + + + prod + + prod + + + false + + + diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 1f0ad51..99c9014 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,6 +1,9 @@ +--- spring: profiles: - active: dev + active: '@profileActive@' +--- +spring: thymeleaf: prefix: classpath:/templates/ suffix: .html