From e80fe16ae2a724205cb507c29e7fc0f218c5eb26 Mon Sep 17 00:00:00 2001 From: "Yangkai.Shen" <237497819@qq.com> Date: Mon, 19 Nov 2018 19:48:07 +0800 Subject: [PATCH] =?UTF-8?q?:tada:=20spring-boot-demo-task-quartz=20?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 1 + spring-boot-demo-task-quartz/.gitignore | 25 ++++++++++ spring-boot-demo-task-quartz/pom.xml | 48 +++++++++++++++++++ .../SpringBootDemoTaskQuartzApplication.java | 12 +++++ .../src/main/resources/application.properties | 0 ...ingBootDemoTaskQuartzApplicationTests.java | 16 +++++++ 6 files changed, 102 insertions(+) create mode 100644 spring-boot-demo-task-quartz/.gitignore create mode 100644 spring-boot-demo-task-quartz/pom.xml create mode 100644 spring-boot-demo-task-quartz/src/main/java/com/xkcoding/task/quartz/SpringBootDemoTaskQuartzApplication.java create mode 100644 spring-boot-demo-task-quartz/src/main/resources/application.properties create mode 100644 spring-boot-demo-task-quartz/src/test/java/com/xkcoding/task/quartz/SpringBootDemoTaskQuartzApplicationTests.java diff --git a/pom.xml b/pom.xml index 4f9b45e..c6f38da 100644 --- a/pom.xml +++ b/pom.xml @@ -31,6 +31,7 @@ spring-boot-demo-cache-ehcache spring-boot-demo-email spring-boot-demo-task + spring-boot-demo-task-quartz spring-boot-demo-war spring-boot-demo-elasticsearch spring-boot-demo-neo4j diff --git a/spring-boot-demo-task-quartz/.gitignore b/spring-boot-demo-task-quartz/.gitignore new file mode 100644 index 0000000..82eca33 --- /dev/null +++ b/spring-boot-demo-task-quartz/.gitignore @@ -0,0 +1,25 @@ +/target/ +!.mvn/wrapper/maven-wrapper.jar + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/build/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ \ No newline at end of file diff --git a/spring-boot-demo-task-quartz/pom.xml b/spring-boot-demo-task-quartz/pom.xml new file mode 100644 index 0000000..0bfee88 --- /dev/null +++ b/spring-boot-demo-task-quartz/pom.xml @@ -0,0 +1,48 @@ + + + 4.0.0 + + spring-boot-demo-task-quartz + 1.0.0-SNAPSHOT + jar + + spring-boot-demo-task-quartz + Demo project for Spring Boot + + + com.xkcoding + spring-boot-demo + 1.0.0-SNAPSHOT + + + + UTF-8 + UTF-8 + 1.8 + + + + + org.springframework.boot + spring-boot-starter + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + spring-boot-demo-task-quartz + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/spring-boot-demo-task-quartz/src/main/java/com/xkcoding/task/quartz/SpringBootDemoTaskQuartzApplication.java b/spring-boot-demo-task-quartz/src/main/java/com/xkcoding/task/quartz/SpringBootDemoTaskQuartzApplication.java new file mode 100644 index 0000000..b4d0cb8 --- /dev/null +++ b/spring-boot-demo-task-quartz/src/main/java/com/xkcoding/task/quartz/SpringBootDemoTaskQuartzApplication.java @@ -0,0 +1,12 @@ +package com.xkcoding.task.quartz; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SpringBootDemoTaskQuartzApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringBootDemoTaskQuartzApplication.class, args); + } +} diff --git a/spring-boot-demo-task-quartz/src/main/resources/application.properties b/spring-boot-demo-task-quartz/src/main/resources/application.properties new file mode 100644 index 0000000..e69de29 diff --git a/spring-boot-demo-task-quartz/src/test/java/com/xkcoding/task/quartz/SpringBootDemoTaskQuartzApplicationTests.java b/spring-boot-demo-task-quartz/src/test/java/com/xkcoding/task/quartz/SpringBootDemoTaskQuartzApplicationTests.java new file mode 100644 index 0000000..b841a01 --- /dev/null +++ b/spring-boot-demo-task-quartz/src/test/java/com/xkcoding/task/quartz/SpringBootDemoTaskQuartzApplicationTests.java @@ -0,0 +1,16 @@ +package com.xkcoding.task.quartz; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.junit4.SpringRunner; + +@RunWith(SpringRunner.class) +@SpringBootTest +public class SpringBootDemoTaskQuartzApplicationTests { + + @Test + public void contextLoads() { + } + +}