diff --git a/Chapter1/Chapter1.iml b/Chapter1/Chapter1.iml new file mode 100644 index 0000000..6519ad1 --- /dev/null +++ b/Chapter1/Chapter1.iml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Chapter1/pom.xml b/Chapter1/pom.xml new file mode 100644 index 0000000..1d18e87 --- /dev/null +++ b/Chapter1/pom.xml @@ -0,0 +1,55 @@ + + + 4.0.0 + + com.didispace + Chapter1 + 0.0.1-SNAPSHOT + jar + + Chapter1 + The first Spring Boot project + + + org.springframework.boot + spring-boot-starter-parent + 1.3.2.RELEASE + + + + + UTF-8 + 1.8 + + + + + org.springframework.boot + spring-boot-starter + + + + org.springframework.boot + spring-boot-starter-test + test + + + + org.springframework.boot + spring-boot-starter-web + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + + diff --git a/Chapter1/src/main/java/com/didispace/Chapter1Application.java b/Chapter1/src/main/java/com/didispace/Chapter1Application.java new file mode 100644 index 0000000..6823281 --- /dev/null +++ b/Chapter1/src/main/java/com/didispace/Chapter1Application.java @@ -0,0 +1,13 @@ +package com.didispace; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class Chapter1Application { + + public static void main(String[] args) { + SpringApplication.run(Chapter1Application.class, args); + } + +} diff --git a/Chapter1/src/main/resources/application.properties b/Chapter1/src/main/resources/application.properties new file mode 100644 index 0000000..e69de29 diff --git a/Chapter1/src/test/java/com/didispace/Chapter1ApplicationTests.java b/Chapter1/src/test/java/com/didispace/Chapter1ApplicationTests.java new file mode 100644 index 0000000..1180149 --- /dev/null +++ b/Chapter1/src/test/java/com/didispace/Chapter1ApplicationTests.java @@ -0,0 +1,16 @@ +package com.didispace; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.boot.test.SpringApplicationConfiguration; +import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; + +@RunWith(SpringJUnit4ClassRunner.class) +@SpringApplicationConfiguration(classes = Chapter1Application.class) +public class Chapter1ApplicationTests { + + @Test + public void contextLoads() { + } + +}