瀏覽代碼

springboot打JAR包配置

xueli.xue 8 年之前
父節點
當前提交
cafe9546cd
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      xxl-job-executor-springboot-example/pom.xml

+ 7 - 0
xxl-job-executor-springboot-example/pom.xml 查看文件

@@ -82,6 +82,13 @@
82 82
             <plugin>
83 83
                 <groupId>org.springframework.boot</groupId>
84 84
                 <artifactId>spring-boot-maven-plugin</artifactId>
85
+                <executions>
86
+                    <execution>
87
+                        <goals>
88
+                            <goal>repackage</goal>
89
+                        </goals>
90
+                    </execution>
91
+                </executions>
85 92
             </plugin>
86 93
         </plugins>
87 94
     </build>