deps: 升级XXL依赖到2.4.0版本

This commit is contained in:
椰子 2023-06-26 16:53:56 +08:00
parent 630eb9836d
commit 7bbe60d27c
5 changed files with 20 additions and 25 deletions

View File

@ -8,14 +8,14 @@ pom.xml:
<dependency> <dependency>
<groupId>com.simaek</groupId> <groupId>com.simaek</groupId>
<artifactId>xxl-job-spring-boot-starter</artifactId> <artifactId>xxl-job-spring-boot-starter</artifactId>
<version>2.3.1</version> <version>2.4.0</version>
</dependency> </dependency>
``` ```
application.yaml: application.yaml:
```yaml ```yaml
xxl-job: xxl.job:
admin: admin:
addresses: http://10.10.10.1:8080/xxl-job-admin addresses: http://10.10.10.1:8080/xxl-job-admin
executor: executor:

20
pom.xml
View File

@ -7,7 +7,7 @@
<groupId>com.simaek</groupId> <groupId>com.simaek</groupId>
<artifactId>xxl-job-spring-boot-parent</artifactId> <artifactId>xxl-job-spring-boot-parent</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<version>2.3.1</version> <version>2.4.0</version>
<modules> <modules>
<module>xxl-job-spring-boot-autoconfigure</module> <module>xxl-job-spring-boot-autoconfigure</module>
@ -17,26 +17,27 @@
<properties> <properties>
<maven.compiler.source>8</maven.compiler.source> <maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target> <maven.compiler.target>8</maven.compiler.target>
<xxl.version>2.4.0</xxl.version>
</properties> </properties>
<developers> <developers>
<developer> <developer>
<name>Yaser Hsueh</name> <name>Yezzi Hsueh</name>
<email>xueye404@qq.com</email> <email>xueye404@foxmail.com</email>
<url>https://www.simaek.com</url> <url>https://www.simaek.com</url>
</developer> </developer>
</developers> </developers>
<distributionManagement> <distributionManagement>
<repository> <repository>
<id>simaek-nexus</id> <id>nexus-geovis</id>
<name>maven-releases</name> <name>maven-releases</name>
<url>https://nas.xueye.io:8081/repository/maven-releases/</url> <url>https://repo.geovis.cc/repository/maven-releases/</url>
</repository> </repository>
<snapshotRepository> <snapshotRepository>
<id>simaek-nexus</id> <id>nexus-geovis</id>
<name>maven-snapshots</name> <name>maven-snapshots</name>
<url>https://nas.xueye.io:8081/repository/maven-snapshots/</url> <url>https://repo.geovis.cc/repository/maven-snapshots/</url>
</snapshotRepository> </snapshotRepository>
</distributionManagement> </distributionManagement>
@ -46,7 +47,7 @@
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId> <artifactId>spring-boot-dependencies</artifactId>
<version>2.7.2</version> <version>2.7.13</version>
<type>pom</type> <type>pom</type>
<scope>import</scope> <scope>import</scope>
</dependency> </dependency>
@ -60,7 +61,7 @@
<dependency> <dependency>
<groupId>com.xuxueli</groupId> <groupId>com.xuxueli</groupId>
<artifactId>xxl-job-core</artifactId> <artifactId>xxl-job-core</artifactId>
<version>2.3.1</version> <version>${xxl.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
@ -101,7 +102,6 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId> <artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<configuration> <configuration>
<attach>true</attach> <attach>true</attach>
</configuration> </configuration>

View File

@ -5,7 +5,7 @@
<parent> <parent>
<artifactId>xxl-job-spring-boot-parent</artifactId> <artifactId>xxl-job-spring-boot-parent</artifactId>
<groupId>com.simaek</groupId> <groupId>com.simaek</groupId>
<version>2.3.1</version> <version>2.4.0</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -17,21 +17,20 @@
</properties> </properties>
<dependencies> <dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<scope>provided</scope>
</dependency>
<dependency> <dependency>
<groupId>com.xuxueli</groupId> <groupId>com.xuxueli</groupId>
<artifactId>xxl-job-core</artifactId> <artifactId>xxl-job-core</artifactId>
<scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId> <artifactId>spring-boot-configuration-processor</artifactId>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
<scope>provided</scope>
</dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -7,7 +7,7 @@ import org.springframework.context.annotation.Configuration;
* @author Yaser Hsueh * @author Yaser Hsueh
* @since 2.3.1 * @since 2.3.1
*/ */
@ConfigurationProperties(prefix = "xxl-job") @ConfigurationProperties(prefix = "xxl.job")
public class XxlJobProperties { public class XxlJobProperties {
/** /**

View File

@ -5,7 +5,7 @@
<parent> <parent>
<artifactId>xxl-job-spring-boot-parent</artifactId> <artifactId>xxl-job-spring-boot-parent</artifactId>
<groupId>com.simaek</groupId> <groupId>com.simaek</groupId>
<version>2.3.1</version> <version>2.4.0</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -21,10 +21,6 @@
<groupId>com.simaek</groupId> <groupId>com.simaek</groupId>
<artifactId>xxl-job-spring-boot-autoconfigure</artifactId> <artifactId>xxl-job-spring-boot-autoconfigure</artifactId>
</dependency> </dependency>
<dependency>
<groupId>com.xuxueli</groupId>
<artifactId>xxl-job-core</artifactId>
</dependency>
</dependencies> </dependencies>
</project> </project>