2021
12-16
12-16
SpringBoot 如何根据不同profile选择不同配置
SpringBoot根据不同profile选择不同配置附上pom的profiles配置<build><finalName>${project.artifactId}</finalName><resources><resource><directory>src/main/resources/</directory><filtering>true</filtering></resource></resources><plugins><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-compiler-plugin</artifactId><configuration><encoding>ut...
继续阅读 >