Explorar o código

application.yml不打包进jar, 解决jar中的application.yml和config中的会合并bug

mcy %!s(int64=6) %!d(string=hai) anos
pai
achega
ed1feb9502
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      client-adapter/launcher/pom.xml

+ 8 - 0
client-adapter/launcher/pom.xml

@@ -166,6 +166,14 @@
                 </executions>
             </plugin>
         </plugins>
+        <resources>
+            <resource>
+                <directory>src/main/resources</directory>
+                <excludes>
+                    <exclude>application.yml</exclude>
+                </excludes>
+            </resource>
+        </resources>
     </build>
 
     <profiles>