소스 검색

打包问题处理

Longjun.Tu 2 년 전
부모
커밋
fbe2565119
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      iot-starter/pom.xml

+ 10 - 0
iot-starter/pom.xml

@@ -223,11 +223,21 @@
         </configuration>
       </plugin>
 
+      <plugin>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-maven-plugin</artifactId>
+      </plugin>
+
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
         <configuration>
           <appendAssemblyId>false</appendAssemblyId>
+          <archive>
+            <manifest>
+              <mainClass>cc.iotkit.Application</mainClass>
+            </manifest>
+          </archive>
           <descriptors>
             <descriptor>${project.parent.basedir}/iot-starter/src/main/resources/assemblies/standalone-package.xml</descriptor>
           </descriptors>