增加打包成spring boot 可执行jar的相关maven配置,mvn clean package -Pboot
diff --git a/samples/client/pom.xml b/samples/client/pom.xml
index a8f4003..c680787 100644
--- a/samples/client/pom.xml
+++ b/samples/client/pom.xml
@@ -12,6 +12,9 @@
   <artifactId>sample-client</artifactId>
   <packaging>jar</packaging>
 
+  <properties>
+    <start-class>com.supwisdom.leaveschool.client.ClientApplication</start-class>
+  </properties>
 
   <dependencies>
 
@@ -123,6 +126,8 @@
   </dependencies>
 
   <build>
+    <finalName>${project.artifactId}</finalName>
+
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
@@ -147,4 +152,18 @@
     </plugins>
   </build>
 
+  <profiles>
+    <profile>
+      <id>boot</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-maven-plugin</artifactId>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
 </project>