Commit 1a399135dec40e43d89fb8b7d3663230b0b49aee

Authored by zhangdaiscott
1 parent bab1bf16

SpringCloud运行环境,排除system模块jar中的application*.yaml配置文件

jeecg-boot/jeecg-boot-module-system/pom.xml
... ... @@ -61,10 +61,28 @@
61 61 <groupId>org.springframework.boot</groupId>
62 62 <artifactId>spring-boot-maven-plugin</artifactId>
63 63 <configuration>
64   - <!--微服务模式下修改为true,跳过SpringBoot启动打包插件,否则微服务模块无法引用-->
  64 + <!--SpringCloud运行环境 ,值改为true跳过SpringBoot启动打包插件 -->
65 65 <skip>${skip.springboot.maven}</skip>
66 66 </configuration>
67 67 </plugin>
68 68 </plugins>
69 69 </build>
  70 +
  71 + <profiles>
  72 + <!-- SpringCloud运行环境 -->
  73 + <profile>
  74 + <id>SpringCloud</id>
  75 + <build>
  76 + <resources>
  77 + <resource>
  78 + <directory>src/main/resources</directory>
  79 + <excludes>
  80 + <exclude>application.yml</exclude>
  81 + <exclude>application-*.yml</exclude>
  82 + </excludes>
  83 + </resource>
  84 + </resources>
  85 + </build>
  86 + </profile>
  87 + </profiles>
70 88 </project>
71 89 \ No newline at end of file
... ...
jeecg-boot/jeecg-cloud-module/jeecg-cloud-system-start/src/main/resources/application-dev.yml deleted