TanJingyu 1 年之前
父節點
當前提交
4db9a6c43a
共有 1 個文件被更改,包括 23 次插入0 次删除
  1. 23 0
      pom.xml

+ 23 - 0
pom.xml

@@ -36,4 +36,27 @@
         </dependency>
     </dependencies>
 
+    <build>
+        <!-- 固定包名 避免随着版本变动 -->
+        <finalName>wx-notice</finalName>
+        <plugins>
+            <plugin>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-maven-plugin</artifactId>
+                <configuration>
+                    <mainClass>com.cybertogether.wx.notice.Application</mainClass>
+                    <layout>ZIP</layout>
+                </configuration>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>repackage</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+
+    </build>
+
 </project>