From 54b753fa89b1fcf2b988ba50cbf05e052a6b84d5 Mon Sep 17 00:00:00 2001 From: "Yangkai.Shen" <237497819@qq.com> Date: Thu, 18 Oct 2018 19:12:00 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20spring-boot-demo-upload=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 --- spring-boot-demo-upload/.gitignore | 25 ++++++++++ spring-boot-demo-upload/pom.xml | 50 +++++++++++++++++++ .../SpringBootDemoUploadApplication.java | 12 +++++ .../src/main/resources/application.yml | 0 .../SpringBootDemoUploadApplicationTests.java | 16 ++++++ 5 files changed, 103 insertions(+) create mode 100644 spring-boot-demo-upload/.gitignore create mode 100644 spring-boot-demo-upload/pom.xml create mode 100644 spring-boot-demo-upload/src/main/java/com/xkcoding/springbootdemoupload/SpringBootDemoUploadApplication.java create mode 100644 spring-boot-demo-upload/src/main/resources/application.yml create mode 100644 spring-boot-demo-upload/src/test/java/com/xkcoding/springbootdemoupload/SpringBootDemoUploadApplicationTests.java diff --git a/spring-boot-demo-upload/.gitignore b/spring-boot-demo-upload/.gitignore new file mode 100644 index 0000000..82eca33 --- /dev/null +++ b/spring-boot-demo-upload/.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-upload/pom.xml b/spring-boot-demo-upload/pom.xml new file mode 100644 index 0000000..206ff87 --- /dev/null +++ b/spring-boot-demo-upload/pom.xml @@ -0,0 +1,50 @@ + + + 4.0.0 + + com.xkcoding + spring-boot-demo-upload + 0.0.1-SNAPSHOT + jar + + spring-boot-demo-upload + Demo project for Spring Boot + + + org.springframework.boot + spring-boot-starter-parent + 2.0.6.RELEASE + + + + + UTF-8 + UTF-8 + 1.8 + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + + diff --git a/spring-boot-demo-upload/src/main/java/com/xkcoding/springbootdemoupload/SpringBootDemoUploadApplication.java b/spring-boot-demo-upload/src/main/java/com/xkcoding/springbootdemoupload/SpringBootDemoUploadApplication.java new file mode 100644 index 0000000..c1b9f13 --- /dev/null +++ b/spring-boot-demo-upload/src/main/java/com/xkcoding/springbootdemoupload/SpringBootDemoUploadApplication.java @@ -0,0 +1,12 @@ +package com.xkcoding.springbootdemoupload; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SpringBootDemoUploadApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringBootDemoUploadApplication.class, args); + } +} diff --git a/spring-boot-demo-upload/src/main/resources/application.yml b/spring-boot-demo-upload/src/main/resources/application.yml new file mode 100644 index 0000000..e69de29 diff --git a/spring-boot-demo-upload/src/test/java/com/xkcoding/springbootdemoupload/SpringBootDemoUploadApplicationTests.java b/spring-boot-demo-upload/src/test/java/com/xkcoding/springbootdemoupload/SpringBootDemoUploadApplicationTests.java new file mode 100644 index 0000000..279d920 --- /dev/null +++ b/spring-boot-demo-upload/src/test/java/com/xkcoding/springbootdemoupload/SpringBootDemoUploadApplicationTests.java @@ -0,0 +1,16 @@ +package com.xkcoding.springbootdemoupload; + +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 SpringBootDemoUploadApplicationTests { + + @Test + public void contextLoads() { + } + +}