Browse Source

json文件外挂

luoguangyi 2 years ago
parent
commit
34a5b8f813
1 changed files with 6 additions and 4 deletions
  1. 6 4
      pom.xml

+ 6 - 4
pom.xml

@@ -139,7 +139,9 @@
             </plugin>
             <!--拷贝资源文件 copy-resources-->
             <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-resources-plugin</artifactId>
+                <version>${maven-resources-plugin.version}</version>
                 <executions>
                     <execution>
                         <id>copy-resources</id>
@@ -152,15 +154,15 @@
                                 <resource>
                                     <directory>src/main/resources/</directory>
                                     <includes>
-                                        <include>*.conf</include>
-                                        <include>*.keytab</include>
                                         <include>*.properties</include>
-                                        <include>*.xml</include>
+                                        <include>*.yml</include>
+                                        <include>*.json</include>
+                                        <include>*.conf</include>
                                         <include>*.json</include>
                                     </includes>
                                 </resource>
                             </resources>
-                            <outputDirectory>${project.build.directory}</outputDirectory>
+                            <outputDirectory>${project.build.directory}/config</outputDirectory>
                         </configuration>
                     </execution>
                 </executions>