diff --git a/README.adoc b/README.adoc index ab8a2fdf..4447a208 100644 --- a/README.adoc +++ b/README.adoc @@ -23,6 +23,7 @@ $ ./mvnw clean install [source,java,indent=2] ---- @SpringBootApplication +@EnableTask public class MyApp { @Bean @@ -34,10 +35,10 @@ public class MyApp { SpringApplication.run(MyApp.class); } - public static class MyTaskApplication implements CommandLineRunner { + public static class MyTaskApplication implements ApplicationRunner { @Override - public void run(String... strings) throws Exception { + public void run(ApplicationArguments args) throws Exception { System.out.println("Hello World"); } } diff --git a/pom.xml b/pom.xml index 342cfe63..1d03307d 100755 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.springframework.cloud spring-cloud-build - 3.0.0-SNAPSHOT + 3.0.0-RC1 @@ -110,11 +110,11 @@ - 3.1.0-SNAPSHOT + 3.1.0-RC1 2.5.0 2.5.0 - 3.1.0-SNAPSHOT + 3.1.0-RC1 1.1 8.0 diff --git a/spring-cloud-starter-single-step-batch-job/pom.xml b/spring-cloud-starter-single-step-batch-job/pom.xml index 39d9cc3b..fed7c0aa 100644 --- a/spring-cloud-starter-single-step-batch-job/pom.xml +++ b/spring-cloud-starter-single-step-batch-job/pom.xml @@ -14,7 +14,7 @@ 1.15.0 1.0.8 2.6.3 - 3.1.0-SNAPSHOT + 3.1.0-RC1 diff --git a/spring-cloud-task-dependencies/pom.xml b/spring-cloud-task-dependencies/pom.xml index d6b9e731..3475fab8 100644 --- a/spring-cloud-task-dependencies/pom.xml +++ b/spring-cloud-task-dependencies/pom.xml @@ -10,7 +10,7 @@ spring-cloud-dependencies-parent org.springframework.cloud - 3.0.0-SNAPSHOT + 3.0.0-RC1 diff --git a/spring-cloud-task-samples/batch-events/pom.xml b/spring-cloud-task-samples/batch-events/pom.xml index 9d6533f0..c6e41d3f 100644 --- a/spring-cloud-task-samples/batch-events/pom.xml +++ b/spring-cloud-task-samples/batch-events/pom.xml @@ -23,7 +23,7 @@ 1.15.0 1.15.0 1.0.8 - 3.1.0-SNAPSHOT + 3.1.0-RC1 diff --git a/spring-cloud-task-samples/task-events/pom.xml b/spring-cloud-task-samples/task-events/pom.xml index a59c9b9b..9afc7b22 100644 --- a/spring-cloud-task-samples/task-events/pom.xml +++ b/spring-cloud-task-samples/task-events/pom.xml @@ -20,7 +20,7 @@ UTF-8 1.8 - 3.1.0-SNAPSHOT + 3.1.0-RC1 diff --git a/spring-cloud-task-samples/taskprocessor/pom.xml b/spring-cloud-task-samples/taskprocessor/pom.xml index 21af72b5..28dd4e16 100644 --- a/spring-cloud-task-samples/taskprocessor/pom.xml +++ b/spring-cloud-task-samples/taskprocessor/pom.xml @@ -21,7 +21,7 @@ UTF-8 true - 3.1.0-SNAPSHOT + 3.1.0-RC1 diff --git a/spring-cloud-task-samples/tasksink/pom.xml b/spring-cloud-task-samples/tasksink/pom.xml index 17457701..14bc7c77 100644 --- a/spring-cloud-task-samples/tasksink/pom.xml +++ b/spring-cloud-task-samples/tasksink/pom.xml @@ -22,7 +22,7 @@ UTF-8 true - 3.1.0-SNAPSHOT + 3.1.0-RC1