linzhijie
2021-04-12 3a8e1524dcf0eeb610d38123d5f0a3ef838379cd
pom.xml
@@ -360,14 +360,15 @@
            <version>13.0</version>
            <scope>compile</scope>
        </dependency>
      <dependency>
         <groupId>com.ots</groupId>
         <artifactId>tai-ots-framework</artifactId>
         <version>1.0</version>
         <scope>system</scope>
         <systemPath>${project.basedir}/jar/tai-ots-framework.jar</systemPath>
      </dependency>
    </dependencies>
   </dependencies>
<!--   <build>-->
<!--      <finalName>${project.artifactId}</finalName>-->
@@ -401,8 +402,28 @@
               <mainClass>com.ots.OtsApplication</mainClass>
               <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
               <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
               <includeSystemScope>true</includeSystemScope>
            </configuration>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-assembly-plugin</artifactId>
            <configuration>
               <finalName>${project.artifactId}</finalName>
               <descriptors>
                  <descriptor>src/main/assembly/assembly.xml</descriptor>
               </descriptors>
            </configuration>
            <executions>
               <execution>
                  <id>make-assembly</id>
                  <phase>package</phase>
                  <goals>
                     <goal>single</goal>
                  </goals>
               </execution>
            </executions>
         </plugin>
      </plugins>
   </build>