diff --git a/.gitignore b/.gitignore index e55eb64b5..2a090856e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ # 查看更多 .gitignore 配置 -> https://help.github.com/articles/ignoring-files/ target/ +lib/ !.mvn/wrapper/maven-wrapper.jar .flattened-pom.xml diff --git a/yudao-gateway/pom.xml b/yudao-gateway/pom.xml index 76be121ad..39f740e3f 100644 --- a/yudao-gateway/pom.xml +++ b/yudao-gateway/pom.xml @@ -94,6 +94,50 @@ + + + org.apache.maven.plugins + maven-jar-plugin + + + *.** + */*.xml + + + + ./resources/ + + + + + + + maven-resources-plugin + + + copy-resources + package + + copy-resources + + + + + src/main/resources + + *.** + + + + ${project.build.directory}/resources + + + + + diff --git a/yudao-module-infra/yudao-module-infra-biz/pom.xml b/yudao-module-infra/yudao-module-infra-biz/pom.xml index dc25849a9..a0fb14991 100644 --- a/yudao-module-infra/yudao-module-infra-biz/pom.xml +++ b/yudao-module-infra/yudao-module-infra-biz/pom.xml @@ -152,19 +152,91 @@ ${project.artifactId} - + org.springframework.boot spring-boot-maven-plugin ${spring.boot.version} + + ZIP + + + non-exists + non-exists + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + *.** + */*.xml + + + + true + lib/ + false + cn.iocoder.yudao.module.infra.InfraServerApplication + + + ./resources/ + + + ${project.build.directory} + + + + + maven-resources-plugin + copy-resources + package - repackage + copy-resources + + + + src/main/resources + + *.** + + + + ${project.build.directory}/resources + + + diff --git a/yudao-module-system/yudao-module-system-biz/pom.xml b/yudao-module-system/yudao-module-system-biz/pom.xml index 8b1002e27..df22096c1 100644 --- a/yudao-module-system/yudao-module-system-biz/pom.xml +++ b/yudao-module-system/yudao-module-system-biz/pom.xml @@ -153,19 +153,91 @@ ${project.artifactId} - + org.springframework.boot spring-boot-maven-plugin ${spring.boot.version} + + ZIP + + + non-exists + non-exists + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + *.** + */*.xml + + + + true + lib/ + false + cn.iocoder.yudao.module.system.SystemServerApplication + + + ./resources/ + + + ${project.build.directory} + + + + + maven-resources-plugin + copy-resources + package - repackage + copy-resources + + + + src/main/resources + + *.** + + + + ${project.build.directory}/resources + + +