From d99f3ea1d12ae12d6b727cdd44a7d85840456d48 Mon Sep 17 00:00:00 2001 From: ruibaby Date: Sun, 24 Mar 2019 10:22:20 +0800 Subject: [PATCH] Mvn package exclude application-dev.yaml and application-test.yaml --- assembly.xml | 38 ----------- pom.xml | 190 +++------------------------------------------------ 2 files changed, 11 insertions(+), 217 deletions(-) delete mode 100755 assembly.xml diff --git a/assembly.xml b/assembly.xml deleted file mode 100755 index de1378c96..000000000 --- a/assembly.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - distribution - - dir - - - false - - - - src/main/resources/ - /resources - - - bin/ - / - - - - - - /lib - runtime - - ${project.groupId}:${project.artifactId} - - - - / - - ${project.groupId}:${project.artifactId} - - - - \ No newline at end of file diff --git a/pom.xml b/pom.xml index 7ac3f6bd8..1246f63db 100755 --- a/pom.xml +++ b/pom.xml @@ -240,185 +240,17 @@ org.springframework.boot spring-boot-maven-plugin + + org.apache.maven.plugins + maven-jar-plugin + 3.0.2 + + + /**/application-dev.yaml + /**/application-test.yaml + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -