From 1b61134b0a2c5c170a310dd8f622691832d78e33 Mon Sep 17 00:00:00 2001 From: Jason Joo Date: Tue, 30 Jul 2019 16:03:56 +0800 Subject: [PATCH] Bump to 4.1.1 --- README.md | 10 ++-- pom.xml | 32 ++++++++++++- tbschedule-console/pom.xml | 4 +- tbschedule-demo/pom.xml | 11 +++++ .../tbschedule-demo-memory/pom.xml | 46 +++---------------- tbschedule-demo/tbschedule-demo-redis/pom.xml | 46 +++---------------- .../tbschedule-demo-zookeeper/pom.xml | 46 +++---------------- 7 files changed, 68 insertions(+), 127 deletions(-) diff --git a/README.md b/README.md index 96027b6..0775457 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ A simple non-centralizing scheduling framework. - [Run](#run) - [Load Balancing](#load-balancing) - [Changelog](#changelog) + - [4.1.1](#411) - [4.1.0](#410) - [4.0.1](#401) - [4.0.0](#400) @@ -26,7 +27,7 @@ The necessary dependency: ``` com.yoloho.schedule tbschedule-core -4.1.0 +4.1.1 ``` If you use zookeeper as storage: @@ -34,7 +35,7 @@ If you use zookeeper as storage: ``` com.yoloho.schedule tbschedule-storage-zookeeper -4.1.0 +4.1.1 ``` If you want use extensions like extension of task: @@ -42,7 +43,7 @@ If you want use extensions like extension of task: ``` com.yoloho.schedule tbschedule-extension-task -4.1.0 +4.1.1 ``` See [tbschedule-demo](tbschedule-demo) for demo. @@ -171,6 +172,9 @@ SERVER_PORT=8080 In older original version the worker instances' distribution always includes the leader node. So if you have many jobs or some `single instance` jobs the leader will be the heaviest node. To solve this we introduce `dynamic schedule distribution` algorithm. A shuffling on scheduling servers will be done when rescheduling. # Changelog +## 4.1.1 +* Introduce the flattern plugin +* Optimize the deploy files ## 4.1.0 * Restructure the storage related logics. diff --git a/pom.xml b/pom.xml index 5b3a915..78b9f75 100644 --- a/pom.xml +++ b/pom.xml @@ -6,14 +6,14 @@ com.yoloho.enhanced.parent enhanced-parent - 1.0.3 + 1.0.5 com.yoloho.schedule tbschedule-parent pom ${revision} - 4.1.0 + 4.1.1 tbschedule-core @@ -82,6 +82,34 @@ + + org.codehaus.mojo + flatten-maven-plugin + + true + resolveCiFriendliesOnly + + remove + remove + + + + + flatten + process-resources + + flatten + + + + flatten.clean + clean + + clean + + + + diff --git a/tbschedule-console/pom.xml b/tbschedule-console/pom.xml index 714f3c3..f20a348 100644 --- a/tbschedule-console/pom.xml +++ b/tbschedule-console/pom.xml @@ -6,12 +6,12 @@ com.yoloho.enhanced.parent enhanced-parent-springboot-web - 1.0.0 + 1.0.5 com.yoloho.schedule tbschedule-console tbschedule-console - 4.1.0 + 4.1.1 jar diff --git a/tbschedule-demo/pom.xml b/tbschedule-demo/pom.xml index 27bd57b..becc327 100644 --- a/tbschedule-demo/pom.xml +++ b/tbschedule-demo/pom.xml @@ -15,4 +15,15 @@ tbschedule-demo-redis tbschedule-demo-zookeeper + + + + org.apache.maven.plugins + maven-deploy-plugin + + true + + + + diff --git a/tbschedule-demo/tbschedule-demo-memory/pom.xml b/tbschedule-demo/tbschedule-demo-memory/pom.xml index 13c5595..871bbb7 100644 --- a/tbschedule-demo/tbschedule-demo-memory/pom.xml +++ b/tbschedule-demo/tbschedule-demo-memory/pom.xml @@ -6,12 +6,12 @@ com.yoloho.enhanced.parent enhanced-parent-springboot-base - 1.0.0 + 1.0.5 com.yoloho.schedule tbschedule-demo-memory tbschedule-demo-memory - 4.1.0 + 4.1.1 jar @@ -81,44 +81,10 @@ org.apache.maven.plugins - maven-source-plugin - - - attach-sources - - jar - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - - - attach-javadoc - package - - jar - - - -Xdoclint:none - - - - - - org.apache.maven.plugins - maven-gpg-plugin - - - sign-artifacts - verify - - sign - - - + maven-deploy-plugin + + true + diff --git a/tbschedule-demo/tbschedule-demo-redis/pom.xml b/tbschedule-demo/tbschedule-demo-redis/pom.xml index e2dbdc0..ccf6cb8 100644 --- a/tbschedule-demo/tbschedule-demo-redis/pom.xml +++ b/tbschedule-demo/tbschedule-demo-redis/pom.xml @@ -6,12 +6,12 @@ com.yoloho.enhanced.parent enhanced-parent-springboot-base - 1.0.0 + 1.0.5 com.yoloho.schedule tbschedule-demo-redis tbschedule-demo-redis - 4.1.0 + 4.1.1 jar @@ -81,44 +81,10 @@ org.apache.maven.plugins - maven-source-plugin - - - attach-sources - - jar - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - - - attach-javadoc - package - - jar - - - -Xdoclint:none - - - - - - org.apache.maven.plugins - maven-gpg-plugin - - - sign-artifacts - verify - - sign - - - + maven-deploy-plugin + + true + diff --git a/tbschedule-demo/tbschedule-demo-zookeeper/pom.xml b/tbschedule-demo/tbschedule-demo-zookeeper/pom.xml index 6233aaf..70beb42 100644 --- a/tbschedule-demo/tbschedule-demo-zookeeper/pom.xml +++ b/tbschedule-demo/tbschedule-demo-zookeeper/pom.xml @@ -6,12 +6,12 @@ com.yoloho.enhanced.parent enhanced-parent-springboot-base - 1.0.0 + 1.0.5 com.yoloho.schedule tbschedule-demo-zookeeper tbschedule-demo-zookeeper - 4.1.0 + 4.1.1 jar @@ -81,44 +81,10 @@ org.apache.maven.plugins - maven-source-plugin - - - attach-sources - - jar - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - - - attach-javadoc - package - - jar - - - -Xdoclint:none - - - - - - org.apache.maven.plugins - maven-gpg-plugin - - - sign-artifacts - verify - - sign - - - + maven-deploy-plugin + + true +