Bläddra i källkod

支付回调修改

lianghanqiang 4 år sedan
förälder
incheckning
17b7b229d9
1 ändrade filer med 38 tillägg och 2 borttagningar
  1. 38 2
      pom.xml

+ 38 - 2
pom.xml

@@ -332,8 +332,8 @@
                         <layout>ZIP</layout>
                         <includes>
                             <include>
-                                <groupId>non-exists</groupId>
-                                <artifactId>non-exists</artifactId>
+                                <groupId>nothing</groupId>
+                                <artifactId>nothing</artifactId>
                             </include>
                         </includes>
                     </configuration>
@@ -391,6 +391,42 @@
                     </execution>
                 </executions>
             </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-resources-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>copy-resources</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>copy-resources</goal>
+                        </goals>
+                        <configuration>
+                            <resources>
+                                <resource>
+                                    <directory>src/main/resources</directory>
+                                </resource>
+                            </resources>
+                            <outputDirectory>${project.build.directory}/resources</outputDirectory>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <exclude>*.yml</exclude>
+                        <exclude>*.properties</exclude>
+                        <exclude>*.xml</exclude>
+                        <exclude>*.txt</exclude>
+                        <exclude>log/**</exclude>
+                        <exclude>META-INF/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>