瀏覽代碼

[chg] pom中添加打包启动class配置

wcz 5 年之前
父節點
當前提交
3346183af6
共有 1 個文件被更改,包括 18 次插入0 次删除
  1. 18 0
      lift-enterprise-service/pom.xml

+ 18 - 0
lift-enterprise-service/pom.xml

@@ -37,4 +37,22 @@
 
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-maven-plugin</artifactId>
+                <configuration>
+                    <mainClass>cn.com.ty.lift.enterprise.EnterpriseApplication</mainClass>
+                </configuration>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>repackage</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
 </project>