Parcourir la source

增加 maven多环境配置注释

疯狂的狮子li il y a 4 ans
Parent
commit
2afb109bff
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      pom.xml

+ 2 - 0
pom.xml

@@ -251,7 +251,9 @@
         </plugins>
         <resources>
             <resource>
+                <!--打包该目录下的 application.yml -->
                 <directory>src/main/resources</directory>
+                <!-- 启用过滤 即该资源中的变量将会被过滤器中的值替换 -->
                 <filtering>true</filtering>
             </resource>
         </resources>