From aaa15b403a89490a33a45d68c8b7cfa34d87b175 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期三, 20 十月 2021 13:22:45 +0800 Subject: [PATCH] add [重大更新]增加 ruoyi-job 任务调度模块(基于xxl-job) --- pom.xml | 683 ++++++++++++++++++++++++++++++++++---------------------- 1 files changed, 417 insertions(+), 266 deletions(-) diff --git a/pom.xml b/pom.xml index 91ac13c..f14bbd7 100644 --- a/pom.xml +++ b/pom.xml @@ -1,266 +1,417 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - - <groupId>com.ruoyi</groupId> - <artifactId>ruoyi</artifactId> - <version>3.7.0</version> - - <name>ruoyi</name> - <url>http://www.ruoyi.vip</url> - <description>鑻ヤ緷绠$悊绯荤粺</description> - - <properties> - <ruoyi.version>3.7.0</ruoyi.version> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> - <java.version>1.8</java.version> - <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version> - <druid.version>1.2.8</druid.version> - <bitwalker.version>1.21</bitwalker.version> - <swagger.version>3.0.0</swagger.version> - <kaptcha.version>2.3.2</kaptcha.version> - <mybatis-spring-boot.version>2.2.0</mybatis-spring-boot.version> - <pagehelper.boot.version>1.4.0</pagehelper.boot.version> - <fastjson.version>1.2.78</fastjson.version> - <oshi.version>5.8.0</oshi.version> - <jna.version>5.8.0</jna.version> - <commons.io.version>2.11.0</commons.io.version> - <commons.fileupload.version>1.4</commons.fileupload.version> - <commons.collections.version>3.2.2</commons.collections.version> - <poi.version>4.1.2</poi.version> - <velocity.version>1.7</velocity.version> - <jwt.version>0.9.1</jwt.version> - </properties> - - <!-- 渚濊禆澹版槑 --> - <dependencyManagement> - <dependencies> - - <!-- SpringBoot鐨勪緷璧栭厤缃�--> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-dependencies</artifactId> - <version>2.5.5</version> - <type>pom</type> - <scope>import</scope> - </dependency> - - <!-- 闃块噷鏁版嵁搴撹繛鎺ユ睜 --> - <dependency> - <groupId>com.alibaba</groupId> - <artifactId>druid-spring-boot-starter</artifactId> - <version>${druid.version}</version> - </dependency> - - <!-- 瑙f瀽瀹㈡埛绔搷浣滅郴缁熴�佹祻瑙堝櫒绛� --> - <dependency> - <groupId>eu.bitwalker</groupId> - <artifactId>UserAgentUtils</artifactId> - <version>${bitwalker.version}</version> - </dependency> - - <!-- SpringBoot闆嗘垚mybatis妗嗘灦 --> - <dependency> - <groupId>org.mybatis.spring.boot</groupId> - <artifactId>mybatis-spring-boot-starter</artifactId> - <version>${mybatis-spring-boot.version}</version> - </dependency> - - <!-- pagehelper 鍒嗛〉鎻掍欢 --> - <dependency> - <groupId>com.github.pagehelper</groupId> - <artifactId>pagehelper-spring-boot-starter</artifactId> - <version>${pagehelper.boot.version}</version> - </dependency> - - <!-- 鑾峰彇绯荤粺淇℃伅 --> - <dependency> - <groupId>com.github.oshi</groupId> - <artifactId>oshi-core</artifactId> - <version>${oshi.version}</version> - </dependency> - - <dependency> - <groupId>net.java.dev.jna</groupId> - <artifactId>jna</artifactId> - <version>${jna.version}</version> - </dependency> - - <dependency> - <groupId>net.java.dev.jna</groupId> - <artifactId>jna-platform</artifactId> - <version>${jna.version}</version> - </dependency> - - <!-- Swagger3渚濊禆 --> - <dependency> - <groupId>io.springfox</groupId> - <artifactId>springfox-boot-starter</artifactId> - <version>${swagger.version}</version> - <exclusions> - <exclusion> - <groupId>io.swagger</groupId> - <artifactId>swagger-models</artifactId> - </exclusion> - </exclusions> - </dependency> - - <!-- io甯哥敤宸ュ叿绫� --> - <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> - <version>${commons.io.version}</version> - </dependency> - - <!-- 鏂囦欢涓婁紶宸ュ叿绫� --> - <dependency> - <groupId>commons-fileupload</groupId> - <artifactId>commons-fileupload</artifactId> - <version>${commons.fileupload.version}</version> - </dependency> - - <!-- excel宸ュ叿 --> - <dependency> - <groupId>org.apache.poi</groupId> - <artifactId>poi-ooxml</artifactId> - <version>${poi.version}</version> - </dependency> - - <!-- velocity浠g爜鐢熸垚浣跨敤妯℃澘 --> - <dependency> - <groupId>org.apache.velocity</groupId> - <artifactId>velocity</artifactId> - <version>${velocity.version}</version> - <exclusions> - <exclusion> - <groupId>commons-collections</groupId> - <artifactId>commons-collections</artifactId> - </exclusion> - </exclusions> - </dependency> - - <!-- collections宸ュ叿绫� --> - <dependency> - <groupId>commons-collections</groupId> - <artifactId>commons-collections</artifactId> - <version>${commons.collections.version}</version> - </dependency> - - <!-- 闃块噷JSON瑙f瀽鍣� --> - <dependency> - <groupId>com.alibaba</groupId> - <artifactId>fastjson</artifactId> - <version>${fastjson.version}</version> - </dependency> - - <!-- Token鐢熸垚涓庤В鏋�--> - <dependency> - <groupId>io.jsonwebtoken</groupId> - <artifactId>jjwt</artifactId> - <version>${jwt.version}</version> - </dependency> - - <!-- 楠岃瘉鐮� --> - <dependency> - <groupId>com.github.penggle</groupId> - <artifactId>kaptcha</artifactId> - <version>${kaptcha.version}</version> - </dependency> - - <!-- 瀹氭椂浠诲姟--> - <dependency> - <groupId>com.ruoyi</groupId> - <artifactId>ruoyi-quartz</artifactId> - <version>${ruoyi.version}</version> - </dependency> - - <!-- 浠g爜鐢熸垚--> - <dependency> - <groupId>com.ruoyi</groupId> - <artifactId>ruoyi-generator</artifactId> - <version>${ruoyi.version}</version> - </dependency> - - <!-- 鏍稿績妯″潡--> - <dependency> - <groupId>com.ruoyi</groupId> - <artifactId>ruoyi-framework</artifactId> - <version>${ruoyi.version}</version> - </dependency> - - <!-- 绯荤粺妯″潡--> - <dependency> - <groupId>com.ruoyi</groupId> - <artifactId>ruoyi-system</artifactId> - <version>${ruoyi.version}</version> - </dependency> - - <!-- 閫氱敤宸ュ叿--> - <dependency> - <groupId>com.ruoyi</groupId> - <artifactId>ruoyi-common</artifactId> - <version>${ruoyi.version}</version> - </dependency> - - </dependencies> - </dependencyManagement> - - <modules> - <module>ruoyi-admin</module> - <module>ruoyi-framework</module> - <module>ruoyi-system</module> - <module>ruoyi-quartz</module> - <module>ruoyi-generator</module> - <module>ruoyi-common</module> - </modules> - <packaging>pom</packaging> - - - <dependencies> - - </dependencies> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.1</version> - <configuration> - <source>${java.version}</source> - <target>${java.version}</target> - <encoding>${project.build.sourceEncoding}</encoding> - </configuration> - </plugin> - </plugins> - </build> - - <repositories> - <repository> - <id>public</id> - <name>aliyun nexus</name> - <url>http://maven.aliyun.com/nexus/content/groups/public/</url> - <releases> - <enabled>true</enabled> - </releases> - </repository> - </repositories> - - <pluginRepositories> - <pluginRepository> - <id>public</id> - <name>aliyun nexus</name> - <url>http://maven.aliyun.com/nexus/content/groups/public/</url> - <releases> - <enabled>true</enabled> - </releases> - <snapshots> - <enabled>false</enabled> - </snapshots> - </pluginRepository> - </pluginRepositories> - -</project> \ No newline at end of file +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <groupId>com.ruoyi</groupId> + <artifactId>ruoyi-vue-plus</artifactId> + <version>3.2.0</version> + + <name>RuoYi-Vue-Plus</name> + <url>https://gitee.com/JavaLionLi/RuoYi-Vue-Plus</url> + <description>RuoYi-Vue-Plus鍚庡彴绠$悊绯荤粺</description> + + <properties> + <ruoyi-vue-plus.version>3.2.0</ruoyi-vue-plus.version> + <spring-boot.version>2.5.5</spring-boot.version> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> + <java.version>1.8</java.version> + <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version> + <druid.version>1.2.8</druid.version> + <knife4j.version>3.0.3</knife4j.version> + <swagger-annotations.version>1.5.22</swagger-annotations.version> + <poi.version>4.1.2</poi.version> + <easyexcel.version>2.2.11</easyexcel.version> + <velocity.version>1.7</velocity.version> + <jwt.version>0.9.1</jwt.version> + <mybatis-plus.version>3.4.3.4</mybatis-plus.version> + <p6spy.version>3.9.1</p6spy.version> + <hutool.version>5.7.13</hutool.version> + <feign.version>3.0.3</feign.version> + <feign-okhttp.version>11.6</feign-okhttp.version> + <okhttp.version>4.9.1</okhttp.version> + <spring-boot-admin.version>2.5.2</spring-boot-admin.version> + <redisson.version>3.16.3</redisson.version> + <lock4j.version>2.2.1</lock4j.version> + <dynamic-ds.version>3.4.1</dynamic-ds.version> + <tlog.version>1.3.2</tlog.version> + <xxl-job-core-version>2.3.0</xxl-job-core-version> + + <!-- jdk11 缂哄け渚濊禆 jaxb--> + <jaxb.version>3.0.1</jaxb.version> + + <!-- OSS 閰嶇疆 --> + <qiniu.version>7.8.0</qiniu.version> + <aliyun.oss.version>3.13.1</aliyun.oss.version> + <qcloud.cos.version>5.6.55</qcloud.cos.version> + <minio.version>8.3.0</minio.version> + + <!-- docker 閰嶇疆 --> + <docker.registry.url>localhost</docker.registry.url> + <docker.registry.host>http://${docker.registry.url}:2375</docker.registry.host> + <docker.namespace>ruoyi</docker.namespace> + <docker.plugin.version>1.2.2</docker.plugin.version> + + </properties> + + <!-- 渚濊禆澹版槑 --> + <dependencyManagement> + <dependencies> + + <!-- SpringBoot鐨勪緷璧栭厤缃�--> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-dependencies</artifactId> + <version>${spring-boot.version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> + + <!-- 闃块噷鏁版嵁搴撹繛鎺ユ睜 --> + <dependency> + <groupId>com.alibaba</groupId> + <artifactId>druid-spring-boot-starter</artifactId> + <version>${druid.version}</version> + </dependency> + + <dependency> + <groupId>com.github.xiaoymin</groupId> + <artifactId>knife4j-spring-boot-starter</artifactId> + <version>${knife4j.version}</version> + <exclusions> + <exclusion> + <artifactId>swagger-annotations</artifactId> + <groupId>io.swagger</groupId> + </exclusion> + </exclusions> + </dependency> + + <dependency> + <groupId>io.swagger</groupId> + <artifactId>swagger-annotations</artifactId> + <version>${swagger-annotations.version}</version> + </dependency> + + <!-- excel宸ュ叿 --> + <dependency> + <groupId>org.apache.poi</groupId> + <artifactId>poi-ooxml</artifactId> + <version>${poi.version}</version> + </dependency> + + <dependency> + <groupId>com.alibaba</groupId> + <artifactId>easyexcel</artifactId> + <version>${easyexcel.version}</version> + <exclusions> + <exclusion> + <groupId>org.apache.poi</groupId> + <artifactId>poi</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.poi</groupId> + <artifactId>poi-ooxml-schemas</artifactId> + </exclusion> + </exclusions> + </dependency> + + <!-- velocity浠g爜鐢熸垚浣跨敤妯℃澘 --> + <dependency> + <groupId>org.apache.velocity</groupId> + <artifactId>velocity</artifactId> + <version>${velocity.version}</version> + </dependency> + + <!-- Token鐢熸垚涓庤В鏋�--> + <dependency> + <groupId>io.jsonwebtoken</groupId> + <artifactId>jjwt</artifactId> + <version>${jwt.version}</version> + </dependency> + + <!-- dynamic-datasource 澶氭暟鎹簮--> + <dependency> + <groupId>com.baomidou</groupId> + <artifactId>dynamic-datasource-spring-boot-starter</artifactId> + <version>${dynamic-ds.version}</version> + </dependency> + + <dependency> + <groupId>com.baomidou</groupId> + <artifactId>mybatis-plus-boot-starter</artifactId> + <version>${mybatis-plus.version}</version> + </dependency> + <dependency> + <groupId>com.baomidou</groupId> + <artifactId>mybatis-plus-extension</artifactId> + <version>${mybatis-plus.version}</version> + </dependency> + <!-- sql鎬ц兘鍒嗘瀽鎻掍欢 --> + <dependency> + <groupId>p6spy</groupId> + <artifactId>p6spy</artifactId> + <version>${p6spy.version}</version> + </dependency> + + <dependency> + <groupId>cn.hutool</groupId> + <artifactId>hutool-all</artifactId> + <version>${hutool.version}</version> + </dependency> + + <!-- @deprecated 鐢变簬浣跨敤浜烘暟杈冨皯 鍐冲畾涓� 3.4.0 鐗堟湰绉婚櫎 --> + <dependency> + <groupId>org.springframework.cloud</groupId> + <artifactId>spring-cloud-starter-openfeign</artifactId> + <version>${feign.version}</version> + <exclusions> + <exclusion> + <artifactId>feign-core</artifactId> + <groupId>io.github.openfeign</groupId> + </exclusion> + </exclusions> + </dependency> + <!-- @deprecated 鐢变簬浣跨敤浜烘暟杈冨皯 鍐冲畾涓� 3.4.0 鐗堟湰绉婚櫎 --> + <dependency> + <groupId>io.github.openfeign</groupId> + <artifactId>feign-okhttp</artifactId> + <version>${feign-okhttp.version}</version> + </dependency> + + <dependency> + <groupId>com.squareup.okhttp3</groupId> + <artifactId>okhttp</artifactId> + <version>${okhttp.version}</version> + </dependency> + + <dependency> + <groupId>de.codecentric</groupId> + <artifactId>spring-boot-admin-starter-server</artifactId> + <version>${spring-boot-admin.version}</version> + </dependency> + <dependency> + <groupId>de.codecentric</groupId> + <artifactId>spring-boot-admin-starter-client</artifactId> + <version>${spring-boot-admin.version}</version> + </dependency> + + <!--redisson--> + <dependency> + <groupId>org.redisson</groupId> + <artifactId>redisson-spring-boot-starter</artifactId> + <version>${redisson.version}</version> + </dependency> + <dependency> + <groupId>com.baomidou</groupId> + <artifactId>lock4j-redisson-spring-boot-starter</artifactId> + <version>${lock4j.version}</version> + </dependency> + + <!-- xxl-job-core --> + <dependency> + <groupId>com.xuxueli</groupId> + <artifactId>xxl-job-core</artifactId> + <version>${xxl-job-core-version}</version> + </dependency> + + <dependency> + <groupId>com.yomahub</groupId> + <artifactId>tlog-spring-boot-configuration</artifactId> + <version>${tlog.version}</version> + </dependency> + + <dependency> + <groupId>com.yomahub</groupId> + <artifactId>tlog-webroot</artifactId> + <version>${tlog.version}</version> + <exclusions> + <exclusion> + <artifactId>javassist</artifactId> + <groupId>org.javassist</groupId> + </exclusion> + <exclusion> + <artifactId>guava</artifactId> + <groupId>com.google.guava</groupId> + </exclusion> + </exclusions> + </dependency> + + <dependency> + <groupId>com.yomahub</groupId> + <artifactId>tlog-feign</artifactId> + <version>${tlog.version}</version> + </dependency> + + <dependency> + <groupId>com.yomahub</groupId> + <artifactId>tlog-xxl-job</artifactId> + <version>${tlog.version}</version> + </dependency> + + <!-- 瀹氭椂浠诲姟 @deprecated 3.5.0鍒犻櫎 杩佺Щ鑷硏xl-job --> + <dependency> + <groupId>com.ruoyi</groupId> + <artifactId>ruoyi-quartz</artifactId> + <version>${ruoyi-vue-plus.version}</version> + </dependency> + + <!-- 瀹氭椂浠诲姟 --> + <dependency> + <groupId>com.ruoyi</groupId> + <artifactId>ruoyi-job</artifactId> + <version>${ruoyi-vue-plus.version}</version> + </dependency> + + <!-- 浠g爜鐢熸垚--> + <dependency> + <groupId>com.ruoyi</groupId> + <artifactId>ruoyi-generator</artifactId> + <version>${ruoyi-vue-plus.version}</version> + </dependency> + + <!-- 鏍稿績妯″潡--> + <dependency> + <groupId>com.ruoyi</groupId> + <artifactId>ruoyi-framework</artifactId> + <version>${ruoyi-vue-plus.version}</version> + </dependency> + + <!-- 绯荤粺妯″潡--> + <dependency> + <groupId>com.ruoyi</groupId> + <artifactId>ruoyi-system</artifactId> + <version>${ruoyi-vue-plus.version}</version> + </dependency> + + <!-- 閫氱敤宸ュ叿--> + <dependency> + <groupId>com.ruoyi</groupId> + <artifactId>ruoyi-common</artifactId> + <version>${ruoyi-vue-plus.version}</version> + </dependency> + + <!-- demo妯″潡 --> + <dependency> + <groupId>com.ruoyi</groupId> + <artifactId>ruoyi-oss</artifactId> + <version>${ruoyi-vue-plus.version}</version> + </dependency> + + <!-- demo妯″潡 --> + <dependency> + <groupId>com.ruoyi</groupId> + <artifactId>ruoyi-demo</artifactId> + <version>${ruoyi-vue-plus.version}</version> + </dependency> + + </dependencies> + </dependencyManagement> + + <modules> + <module>ruoyi-admin</module> + <module>ruoyi-framework</module> + <module>ruoyi-system</module> + <module>ruoyi-quartz</module> + <module>ruoyi-job</module> + <module>ruoyi-generator</module> + <module>ruoyi-common</module> + <module>ruoyi-demo</module> + <module>ruoyi-extend</module> + <module>ruoyi-oss</module> + </modules> + <packaging>pom</packaging> + + + <dependencies> + <!-- jdk11 缂哄け渚濊禆 jaxb--> + <dependency> + <groupId>com.sun.xml.bind</groupId> + <artifactId>jaxb-impl</artifactId> + <version>${jaxb.version}</version> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.1</version> + <configuration> + <source>${java.version}</source> + <target>${java.version}</target> + <encoding>${project.build.sourceEncoding}</encoding> + </configuration> + </plugin> + </plugins> + <resources> + <resource> + <!--鎵撳寘璇ョ洰褰曚笅鐨� application.yml --> + <directory>src/main/resources</directory> + <!-- 鍚敤杩囨护 鍗宠璧勬簮涓殑鍙橀噺灏嗕細琚繃婊ゅ櫒涓殑鍊兼浛鎹� --> + <filtering>true</filtering> + </resource> + </resources> + </build> + + <repositories> + <repository> + <id>public</id> + <name>aliyun nexus</name> + <url>https://maven.aliyun.com/repository/public/</url> + <releases> + <enabled>true</enabled> + </releases> + </repository> + </repositories> + + <pluginRepositories> + <pluginRepository> + <id>public</id> + <name>aliyun nexus</name> + <url>https://maven.aliyun.com/repository/public/</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </pluginRepository> + </pluginRepositories> + + <profiles> + <profile> + <id>local</id> + <properties> + <!-- 鐜鏍囪瘑锛岄渶瑕佷笌閰嶇疆鏂囦欢鐨勫悕绉扮浉瀵瑰簲 --> + <profiles.active>local</profiles.active> + <logging.level>debug</logging.level> + <endpoints.include>'*'</endpoints.include> + </properties> + </profile> + <profile> + <id>dev</id> + <properties> + <!-- 鐜鏍囪瘑锛岄渶瑕佷笌閰嶇疆鏂囦欢鐨勫悕绉扮浉瀵瑰簲 --> + <profiles.active>dev</profiles.active> + <logging.level>debug</logging.level> + <endpoints.include>'*'</endpoints.include> + </properties> + <activation> + <!-- 榛樿鐜 --> + <activeByDefault>true</activeByDefault> + </activation> + </profile> + <profile> + <id>prod</id> + <properties> + <profiles.active>prod</profiles.active> + <logging.level>warn</logging.level> + <endpoints.include>health, info, logfile</endpoints.include> + </properties> + </profile> + </profiles> + +</project> -- Gitblit v1.9.3