linzhijie
2021-03-16 8f781f3cb17187a7ee58f41632c25fbb2aa81cc7
pom.xml
@@ -254,7 +254,7 @@
         <artifactId>jasypt-spring-boot-starter</artifactId>
         <version>2.0.0</version>
      </dependency>
      <!-- 获取系统信息 -->
      <dependency>
         <groupId>com.github.oshi</groupId>
@@ -365,6 +365,8 @@
         <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>
@@ -401,8 +403,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>