Bläddra i källkod

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

mcy 6 år sedan
förälder
incheckning
ed1feb9502
1 ändrade filer med 8 tillägg och 0 borttagningar
  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>