diff --git a/spring-boot-demo-email/.gitignore b/spring-boot-demo-email/.gitignore new file mode 100644 index 0000000..82eca33 --- /dev/null +++ b/spring-boot-demo-email/.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-email/pom.xml b/spring-boot-demo-email/pom.xml new file mode 100644 index 0000000..ae25602 --- /dev/null +++ b/spring-boot-demo-email/pom.xml @@ -0,0 +1,48 @@ + + + 4.0.0 + + spring-boot-demo-email + 1.0.0-SNAPSHOT + jar + + spring-boot-demo-email + 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-mail + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + spring-boot-demo-email + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/spring-boot-demo-email/src/main/java/com/xkcoding/email/SpringBootDemoEmailApplication.java b/spring-boot-demo-email/src/main/java/com/xkcoding/email/SpringBootDemoEmailApplication.java new file mode 100644 index 0000000..d82bc7f --- /dev/null +++ b/spring-boot-demo-email/src/main/java/com/xkcoding/email/SpringBootDemoEmailApplication.java @@ -0,0 +1,25 @@ +package com.xkcoding.email; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +/** + *

+ * 启动器 + *

+ * + * @package: com.xkcoding.email + * @description: 启动器 + * @author: yangkai.shen + * @date: Created in 2018/11/4 22:38 + * @copyright: Copyright (c) 2018 + * @version: V1.0 + * @modified: yangkai.shen + */ +@SpringBootApplication +public class SpringBootDemoEmailApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringBootDemoEmailApplication.class, args); + } +} diff --git a/spring-boot-demo-email/src/main/resources/application.yml b/spring-boot-demo-email/src/main/resources/application.yml new file mode 100644 index 0000000..e69de29 diff --git a/spring-boot-demo-email/src/test/java/com/xkcoding/email/SpringBootDemoEmailApplicationTests.java b/spring-boot-demo-email/src/test/java/com/xkcoding/email/SpringBootDemoEmailApplicationTests.java new file mode 100644 index 0000000..c068893 --- /dev/null +++ b/spring-boot-demo-email/src/test/java/com/xkcoding/email/SpringBootDemoEmailApplicationTests.java @@ -0,0 +1,16 @@ +package com.xkcoding.email; + +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 SpringBootDemoEmailApplicationTests { + + @Test + public void contextLoads() { + } + +}