diff --git a/spring-quartz/pom.xml b/spring-quartz/pom.xml
index 709cfb9e3d..2fb4ab0e47 100644
--- a/spring-quartz/pom.xml
+++ b/spring-quartz/pom.xml
@@ -13,13 +13,15 @@
org.springframework.boot
spring-boot-starter-parent
- 1.2.6.RELEASE
+ 1.4.2.RELEASE
UTF-8
1.8
+ 2.2.3
+ 3.6.0
@@ -39,7 +41,7 @@
org.quartz-scheduler
quartz
- 2.2.1
+ ${quartz.version}
@@ -64,7 +66,7 @@
org.apache.maven.plugins
maven-compiler-plugin
- 3.1
+ ${maven-compiler-plugin.version}
1.8
diff --git a/spring-quartz/src/main/java/org/baeldung/springquartz/SpringQuartzApp.java b/spring-quartz/src/main/java/org/baeldung/springquartz/SpringQuartzApp.java
index 547ef78d84..1cba49b414 100644
--- a/spring-quartz/src/main/java/org/baeldung/springquartz/SpringQuartzApp.java
+++ b/spring-quartz/src/main/java/org/baeldung/springquartz/SpringQuartzApp.java
@@ -1,6 +1,6 @@
package org.baeldung.springquartz;
-import org.springframework.boot.SpringApplication;
+import org.springframework.boot.Banner.Mode;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
@@ -10,6 +10,6 @@ import org.springframework.scheduling.annotation.EnableScheduling;
public class SpringQuartzApp {
public static void main(String[] args) {
- new SpringApplicationBuilder(SpringQuartzApp.class).showBanner(false).run(args);
+ new SpringApplicationBuilder(SpringQuartzApp.class).bannerMode(Mode.OFF).run(args);
}
}