deps: 升级XXL依赖到2.4.0版本
This commit is contained in:
parent
630eb9836d
commit
7bbe60d27c
@ -8,14 +8,14 @@ pom.xml:
|
||||
<dependency>
|
||||
<groupId>com.simaek</groupId>
|
||||
<artifactId>xxl-job-spring-boot-starter</artifactId>
|
||||
<version>2.3.1</version>
|
||||
<version>2.4.0</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
application.yaml:
|
||||
|
||||
```yaml
|
||||
xxl-job:
|
||||
xxl.job:
|
||||
admin:
|
||||
addresses: http://10.10.10.1:8080/xxl-job-admin
|
||||
executor:
|
||||
|
20
pom.xml
20
pom.xml
@ -7,7 +7,7 @@
|
||||
<groupId>com.simaek</groupId>
|
||||
<artifactId>xxl-job-spring-boot-parent</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<version>2.3.1</version>
|
||||
<version>2.4.0</version>
|
||||
|
||||
<modules>
|
||||
<module>xxl-job-spring-boot-autoconfigure</module>
|
||||
@ -17,26 +17,27 @@
|
||||
<properties>
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
<xxl.version>2.4.0</xxl.version>
|
||||
</properties>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Yaser Hsueh</name>
|
||||
<email>xueye404@qq.com</email>
|
||||
<name>Yezzi Hsueh</name>
|
||||
<email>xueye404@foxmail.com</email>
|
||||
<url>https://www.simaek.com</url>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>simaek-nexus</id>
|
||||
<id>nexus-geovis</id>
|
||||
<name>maven-releases</name>
|
||||
<url>https://nas.xueye.io:8081/repository/maven-releases/</url>
|
||||
<url>https://repo.geovis.cc/repository/maven-releases/</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>simaek-nexus</id>
|
||||
<id>nexus-geovis</id>
|
||||
<name>maven-snapshots</name>
|
||||
<url>https://nas.xueye.io:8081/repository/maven-snapshots/</url>
|
||||
<url>https://repo.geovis.cc/repository/maven-snapshots/</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
|
||||
@ -46,7 +47,7 @@
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-dependencies</artifactId>
|
||||
<version>2.7.2</version>
|
||||
<version>2.7.13</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
@ -60,7 +61,7 @@
|
||||
<dependency>
|
||||
<groupId>com.xuxueli</groupId>
|
||||
<artifactId>xxl-job-core</artifactId>
|
||||
<version>2.3.1</version>
|
||||
<version>${xxl.version}</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
@ -101,7 +102,6 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>2.4</version>
|
||||
<configuration>
|
||||
<attach>true</attach>
|
||||
</configuration>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>xxl-job-spring-boot-parent</artifactId>
|
||||
<groupId>com.simaek</groupId>
|
||||
<version>2.3.1</version>
|
||||
<version>2.4.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
@ -17,21 +17,20 @@
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.xuxueli</groupId>
|
||||
<artifactId>xxl-job-core</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-autoconfigure</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
@ -7,7 +7,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
* @author Yaser Hsueh
|
||||
* @since 2.3.1
|
||||
*/
|
||||
@ConfigurationProperties(prefix = "xxl-job")
|
||||
@ConfigurationProperties(prefix = "xxl.job")
|
||||
public class XxlJobProperties {
|
||||
|
||||
/**
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>xxl-job-spring-boot-parent</artifactId>
|
||||
<groupId>com.simaek</groupId>
|
||||
<version>2.3.1</version>
|
||||
<version>2.4.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
@ -21,10 +21,6 @@
|
||||
<groupId>com.simaek</groupId>
|
||||
<artifactId>xxl-job-spring-boot-autoconfigure</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.xuxueli</groupId>
|
||||
<artifactId>xxl-job-core</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
Loading…
Reference in New Issue
Block a user