Jay
2024-10-12 f6a1e4196efbddd6fc4bcf7191a5ccb30ccae946
iailab-cloud/iailab-xxl-job/pom.xml
@@ -25,7 +25,7 @@
      <gson.version>2.10.1</gson.version>
      <spring.version>5.3.34</spring.version>
      <spring-boot.version>2.7.18</spring-boot.version>
<!--      <spring-boot.version>2.7.18</spring-boot.version>-->
      <mybatis-spring-boot-starter.version>2.3.2</mybatis-spring-boot-starter.version>
      <mysql-connector-j.version>8.3.0</mysql-connector-j.version>
@@ -50,11 +50,6 @@
   </licenses>
   <dependencies>
      <!-- Spring Cloud 基础 -->
      <dependency>
         <groupId>org.springframework.cloud</groupId>
         <artifactId>spring-cloud-starter-bootstrap</artifactId>
      </dependency>
      <!-- starter-web:spring-webmvc + autoconfigure + logback + yaml + tomcat -->
      <dependency>
         <groupId>org.springframework.boot</groupId>
@@ -125,57 +120,79 @@
   </dependencies>
   <build>
      <finalName>${project.artifactId}</finalName>
      <plugins>
         <!-- Source -->
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <version>${maven-source-plugin.version}</version>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
            <version>${spring.boot.version}</version>
            <executions>
               <execution>
                  <phase>package</phase>
                  <goals>
                     <goal>jar-no-fork</goal>
                     <goal>repackage</goal>
                  </goals>
               </execution>
            </executions>
         </plugin>
         <!-- Javadoc -->
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>${maven-javadoc-plugin.version}</version>
            <executions>
               <execution>
                  <phase>package</phase>
                  <goals>
                     <goal>jar</goal>
                  </goals>
                  <configuration>
                     <doclint>none</doclint>
                  </configuration>
               </execution>
            </executions>
         </plugin>
         <!-- GPG -->
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>${maven-gpg-plugin.version}</version>
            <configuration>
               <useAgent>false</useAgent>
               <!-- 作用:项目打成jar的同时将本地jar包也引入进去 -->
               <includeSystemScope>true</includeSystemScope>
            </configuration>
<!--            <executions>-->
<!--               <execution>-->
<!--                  <phase>verify</phase>-->
<!--                  <goals>-->
<!--                     <goal>sign</goal>-->
<!--                  </goals>-->
<!--               </execution>-->
<!--            </executions>-->
         </plugin>
      </plugins>
   </build>
<!--   <build>-->
<!--      <plugins>-->
<!--         &lt;!&ndash; Source &ndash;&gt;-->
<!--         <plugin>-->
<!--            <groupId>org.apache.maven.plugins</groupId>-->
<!--            <artifactId>maven-source-plugin</artifactId>-->
<!--            <version>${maven-source-plugin.version}</version>-->
<!--            <executions>-->
<!--               <execution>-->
<!--                  <phase>package</phase>-->
<!--                  <goals>-->
<!--                     <goal>jar-no-fork</goal>-->
<!--                  </goals>-->
<!--               </execution>-->
<!--            </executions>-->
<!--         </plugin>-->
<!--         &lt;!&ndash; Javadoc &ndash;&gt;-->
<!--         <plugin>-->
<!--            <groupId>org.apache.maven.plugins</groupId>-->
<!--            <artifactId>maven-javadoc-plugin</artifactId>-->
<!--            <version>${maven-javadoc-plugin.version}</version>-->
<!--            <executions>-->
<!--               <execution>-->
<!--                  <phase>package</phase>-->
<!--                  <goals>-->
<!--                     <goal>jar</goal>-->
<!--                  </goals>-->
<!--                  <configuration>-->
<!--                     <doclint>none</doclint>-->
<!--                  </configuration>-->
<!--               </execution>-->
<!--            </executions>-->
<!--         </plugin>-->
<!--         &lt;!&ndash; GPG &ndash;&gt;-->
<!--         <plugin>-->
<!--            <groupId>org.apache.maven.plugins</groupId>-->
<!--            <artifactId>maven-gpg-plugin</artifactId>-->
<!--            <version>${maven-gpg-plugin.version}</version>-->
<!--            <configuration>-->
<!--               <useAgent>false</useAgent>-->
<!--            </configuration>-->
<!--&lt;!&ndash;            <executions>&ndash;&gt;-->
<!--&lt;!&ndash;               <execution>&ndash;&gt;-->
<!--&lt;!&ndash;                  <phase>verify</phase>&ndash;&gt;-->
<!--&lt;!&ndash;                  <goals>&ndash;&gt;-->
<!--&lt;!&ndash;                     <goal>sign</goal>&ndash;&gt;-->
<!--&lt;!&ndash;                  </goals>&ndash;&gt;-->
<!--&lt;!&ndash;               </execution>&ndash;&gt;-->
<!--&lt;!&ndash;            </executions>&ndash;&gt;-->
<!--         </plugin>-->
<!--      </plugins>-->
<!--   </build>-->
</project>