diff --git a/doc/XXL-JOB官方文档.md b/doc/XXL-JOB官方文档.md index 38f85b4a..5af3ab5a 100644 --- a/doc/XXL-JOB官方文档.md +++ b/doc/XXL-JOB官方文档.md @@ -1686,7 +1686,7 @@ public ReturnT execute(String param) { - 注意:最新版本 "XxlJobSpringExecutor" 逻辑有调整,历史项目中该组件的配置方式请参考Sample示例项目进行调整,尤其注意需要移除组件的init和destroy方法; ### 6.28 版本 v2.2.0 Release Notes[迭代中] -- 1、[迭代中]调度中心升级springboot2.x;因此,系统要求JDK8+; +- 1、调度中心升级springboot2.x;因此,系统要求JDK8+; - 2、执行器注册默认值优化; - 3、SQL脚本编码默认utf8mb4执行,避免小概率下容器环境中乱码问题; diff --git a/pom.xml b/pom.xml index 741c73dc..75be0a0f 100644 --- a/pom.xml +++ b/pom.xml @@ -1,142 +1,143 @@ - - 4.0.0 - com.xuxueli - xxl-job - 2.2.0-SNAPSHOT - pom - - ${project.artifactId} - A distributed task scheduling framework. - https://www.xuxueli.com/ - - - xxl-job-core - xxl-job-admin - xxl-job-executor-samples - - - - UTF-8 - UTF-8 - UTF-8 - 1.7 - 1.7 - true - - 1.5.0 - - 4.3.25.RELEASE - 1.5.22.RELEASE - 1.3.5 - 5.1.48 - - 1.7.29 - 4.12 - - 2.5.8 - - 3.2.0 - 3.1.1 - 1.6 - 3.2.3 - - - - - - - - - - - GNU General Public License version 3 - https://opensource.org/licenses/GPL-3.0 - - - - - master - https://github.com/xuxueli/xxl-job.git - scm:git:https://github.com/xuxueli/xxl-job.git - scm:git:git@github.com:xuxueli/xxl-job.git - - - - XXL - xuxueli - 931591021@qq.com - https://github.com/xuxueli - - - - - - - release - - - - - org.apache.maven.plugins - maven-source-plugin - ${maven-source-plugin.version} - - - package - - jar-no-fork - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - ${maven-javadoc-plugin.version} - - - package - - jar - - - none - - - - - - - org.apache.maven.plugins - maven-gpg-plugin - ${maven-gpg-plugin.version} - - false - - - - verify - - sign - - - - - - - - - oss - https://oss.sonatype.org/content/repositories/snapshots/ - - - oss - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - - - + + 4.0.0 + com.xuxueli + xxl-job + 2.2.0-SNAPSHOT + pom + + ${project.artifactId} + A distributed task scheduling framework. + https://www.xuxueli.com/ + + + xxl-job-core + xxl-job-admin + xxl-job-executor-samples + + + + UTF-8 + UTF-8 + UTF-8 + 1.7 + 1.7 + true + + 1.5.0 + + 5.0.7.RELEASE + 2.0.4.RELEASE + 1.3.5 + 8.5.43 + 5.1.48 + + 1.7.29 + 4.12 + + 2.5.8 + + 3.2.0 + 3.1.1 + 1.6 + 3.2.3 + + + + + + + + + + + GNU General Public License version 3 + https://opensource.org/licenses/GPL-3.0 + + + + + master + https://github.com/xuxueli/xxl-job.git + scm:git:https://github.com/xuxueli/xxl-job.git + scm:git:git@github.com:xuxueli/xxl-job.git + + + + XXL + xuxueli + 931591021@qq.com + https://github.com/xuxueli + + + + + + + release + + + + + org.apache.maven.plugins + maven-source-plugin + ${maven-source-plugin.version} + + + package + + jar-no-fork + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${maven-javadoc-plugin.version} + + + package + + jar + + + none + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + ${maven-gpg-plugin.version} + + false + + + + verify + + sign + + + + + + + + + oss + https://oss.sonatype.org/content/repositories/snapshots/ + + + oss + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + \ No newline at end of file diff --git a/xxl-job-admin/pom.xml b/xxl-job-admin/pom.xml index da1c725d..880a7a26 100644 --- a/xxl-job-admin/pom.xml +++ b/xxl-job-admin/pom.xml @@ -1,113 +1,119 @@ - - 4.0.0 - - com.xuxueli - xxl-job - 2.2.0-SNAPSHOT - - xxl-job-admin - jar - - - - - org.springframework.boot - spring-boot-starter-parent - ${spring-boot.version} - pom - import - - - - - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - org.springframework.boot - spring-boot-starter-freemarker - - - - - org.springframework.boot - spring-boot-starter-mail - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - org.mybatis.spring.boot - mybatis-spring-boot-starter - ${mybatis-spring-boot-starter.version} - - - - mysql - mysql-connector-java - ${mysql-connector-java.version} - - - - - com.xuxueli - xxl-job-core - ${project.parent.version} - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - ${spring-boot.version} - - - - repackage - - - - - - - com.spotify - docker-maven-plugin - 0.4.13 - - - ${project.artifactId}:${project.version} - ${project.basedir} - - - / - ${project.build.directory} - ${project.build.finalName}.jar - - - - - - - - + + 4.0.0 + + com.xuxueli + xxl-job + 2.2.0-SNAPSHOT + + xxl-job-admin + jar + + + + + org.springframework.boot + spring-boot-starter-parent + ${spring-boot.version} + pom + import + + + + + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + org.springframework.boot + spring-boot-starter-freemarker + + + + + org.springframework.boot + spring-boot-starter-mail + + + + + org.springframework.boot + spring-boot-starter-actuator + + + + + org.mybatis.spring.boot + mybatis-spring-boot-starter + ${mybatis-spring-boot-starter.version} + + + + org.apache.tomcat + tomcat-jdbc + ${tomcat-jdbc.version} + + + + mysql + mysql-connector-java + ${mysql-connector-java.version} + + + + + com.xuxueli + xxl-job-core + ${project.parent.version} + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + ${spring-boot.version} + + + + repackage + + + + + + + com.spotify + docker-maven-plugin + 0.4.13 + + + ${project.artifactId}:${project.version} + ${project.basedir} + + + / + ${project.build.directory} + ${project.build.finalName}.jar + + + + + + + + diff --git a/xxl-job-admin/src/main/resources/application.properties b/xxl-job-admin/src/main/resources/application.properties index a8c66b41..b5312c42 100644 --- a/xxl-job-admin/src/main/resources/application.properties +++ b/xxl-job-admin/src/main/resources/application.properties @@ -1,9 +1,9 @@ ### web server.port=8080 -server.context-path=/xxl-job-admin +server.servlet.context-path=/xxl-job-admin ### actuator -management.context-path=/actuator +management.server.servlet.context-path=/actuator management.health.mail.enabled=false ### resources