File tree Expand file tree Collapse file tree
src/main/java/org/baeldung/springquartz Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 <parent >
1414 <groupId >org.springframework.boot</groupId >
1515 <artifactId >spring-boot-starter-parent</artifactId >
16- <version >1.2.6 .RELEASE</version >
16+ <version >1.4.2 .RELEASE</version >
1717 <relativePath /> <!-- lookup parent from repository -->
1818 </parent >
1919
2020 <properties >
2121 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
2222 <java .version>1.8</java .version>
23+ <quartz .version>2.2.3</quartz .version>
24+ <maven-compiler-plugin .version>3.6.0</maven-compiler-plugin .version>
2325 </properties >
2426
2527 <dependencies >
3941 <dependency >
4042 <groupId >org.quartz-scheduler</groupId >
4143 <artifactId >quartz</artifactId >
42- <version >2.2.1 </version >
44+ <version >${quartz.version} </version >
4345 </dependency >
4446
4547 <!-- tests -->
6466 <plugin >
6567 <groupId >org.apache.maven.plugins</groupId >
6668 <artifactId >maven-compiler-plugin</artifactId >
67- <version >3.1 </version >
69+ <version >${maven-compiler-plugin.version} </version >
6870 <configuration >
6971 <source >1.8</source >
7072 <target >1.8</target >
Original file line number Diff line number Diff line change 11package org .baeldung .springquartz ;
22
3- import org .springframework .boot .SpringApplication ;
3+ import org .springframework .boot .Banner . Mode ;
44import org .springframework .boot .builder .SpringApplicationBuilder ;
55import org .springframework .context .annotation .ComponentScan ;
66import org .springframework .scheduling .annotation .EnableScheduling ;
1010public class SpringQuartzApp {
1111
1212 public static void main (String [] args ) {
13- new SpringApplicationBuilder (SpringQuartzApp .class ).showBanner ( false ).run (args );
13+ new SpringApplicationBuilder (SpringQuartzApp .class ).bannerMode ( Mode . OFF ).run (args );
1414 }
1515}
You can’t perform that action at this time.
0 commit comments