From 76071d5e5b62cb71b5cea9464ae2319dda79db43 Mon Sep 17 00:00:00 2001 From: John Thompson Date: Tue, 23 May 2017 17:02:24 -0400 Subject: [PATCH 01/11] adding context example --- .../guru/springframework/DiDemoApplication.java | 8 +++++++- .../controllers/MyController.java | 16 ++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 src/main/java/guru/springframework/controllers/MyController.java diff --git a/src/main/java/guru/springframework/DiDemoApplication.java b/src/main/java/guru/springframework/DiDemoApplication.java index 9e42add3..edb8a7fc 100644 --- a/src/main/java/guru/springframework/DiDemoApplication.java +++ b/src/main/java/guru/springframework/DiDemoApplication.java @@ -1,12 +1,18 @@ package guru.springframework; +import guru.springframework.controllers.MyController; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.context.ApplicationContext; @SpringBootApplication public class DiDemoApplication { public static void main(String[] args) { - SpringApplication.run(DiDemoApplication.class, args); + ApplicationContext ctx = SpringApplication.run(DiDemoApplication.class, args); + + MyController controller = (MyController) ctx.getBean("myController"); + + controller.hello(); } } diff --git a/src/main/java/guru/springframework/controllers/MyController.java b/src/main/java/guru/springframework/controllers/MyController.java new file mode 100644 index 00000000..e2fad0e4 --- /dev/null +++ b/src/main/java/guru/springframework/controllers/MyController.java @@ -0,0 +1,16 @@ +package guru.springframework.controllers; + +import org.springframework.stereotype.Controller; + +/** + * Created by jt on 5/23/17. + */ +@Controller +public class MyController { + + public String hello(){ + System.out.println("Hello!!! "); + + return "foo"; + } +} From b2cac1c30089e33f959a82640d7afcd980d29e0d Mon Sep 17 00:00:00 2001 From: John Thompson Date: Wed, 24 May 2017 16:47:44 -0400 Subject: [PATCH 02/11] adding Manual DI Example --- .../ConstructorInjectedController.java | 20 ++++++++++++++ .../controllers/GetterInjectedController.java | 19 ++++++++++++++ .../PropertyInjectedController.java | 18 +++++++++++++ .../services/GreetingService.java | 9 +++++++ .../services/GreetingServiceImpl.java | 17 ++++++++++++ .../ConstructorInjectedControllerTest.java | 24 +++++++++++++++++ .../GetterInjectedControllerTest.java | 26 +++++++++++++++++++ .../PropertyInjectedControllerTest.java | 26 +++++++++++++++++++ 8 files changed, 159 insertions(+) create mode 100644 src/main/java/guru/springframework/controllers/ConstructorInjectedController.java create mode 100644 src/main/java/guru/springframework/controllers/GetterInjectedController.java create mode 100644 src/main/java/guru/springframework/controllers/PropertyInjectedController.java create mode 100644 src/main/java/guru/springframework/services/GreetingService.java create mode 100644 src/main/java/guru/springframework/services/GreetingServiceImpl.java create mode 100644 src/test/java/guru/springframework/controllers/ConstructorInjectedControllerTest.java create mode 100644 src/test/java/guru/springframework/controllers/GetterInjectedControllerTest.java create mode 100644 src/test/java/guru/springframework/controllers/PropertyInjectedControllerTest.java diff --git a/src/main/java/guru/springframework/controllers/ConstructorInjectedController.java b/src/main/java/guru/springframework/controllers/ConstructorInjectedController.java new file mode 100644 index 00000000..f3bcf6cd --- /dev/null +++ b/src/main/java/guru/springframework/controllers/ConstructorInjectedController.java @@ -0,0 +1,20 @@ +package guru.springframework.controllers; + +import guru.springframework.services.GreetingService; +import guru.springframework.services.GreetingServiceImpl; + +/** + * Created by jt on 5/24/17. + */ +public class ConstructorInjectedController { + + private GreetingService greetingService; + + public ConstructorInjectedController(GreetingService greetingService) { + this.greetingService = greetingService; + } + + String sayHello(){ + return greetingService.sayGreeting(); + } +} diff --git a/src/main/java/guru/springframework/controllers/GetterInjectedController.java b/src/main/java/guru/springframework/controllers/GetterInjectedController.java new file mode 100644 index 00000000..2d101437 --- /dev/null +++ b/src/main/java/guru/springframework/controllers/GetterInjectedController.java @@ -0,0 +1,19 @@ +package guru.springframework.controllers; + +import guru.springframework.services.GreetingService; +import guru.springframework.services.GreetingServiceImpl; + +/** + * Created by jt on 5/24/17. + */ +public class GetterInjectedController { + private GreetingService greetingService; + + String sayHello(){ + return greetingService.sayGreeting(); + } + + public void setGreetingService(GreetingService greetingService) { + this.greetingService = greetingService; + } +} diff --git a/src/main/java/guru/springframework/controllers/PropertyInjectedController.java b/src/main/java/guru/springframework/controllers/PropertyInjectedController.java new file mode 100644 index 00000000..b73bdcdd --- /dev/null +++ b/src/main/java/guru/springframework/controllers/PropertyInjectedController.java @@ -0,0 +1,18 @@ +package guru.springframework.controllers; + +import guru.springframework.services.GreetingServiceImpl; + + +/** + * Created by jt on 5/24/17. + */ + +public class PropertyInjectedController { + + public GreetingServiceImpl greetingService; + + String sayHello(){ + return greetingService.sayGreeting(); + } + +} diff --git a/src/main/java/guru/springframework/services/GreetingService.java b/src/main/java/guru/springframework/services/GreetingService.java new file mode 100644 index 00000000..836d17c1 --- /dev/null +++ b/src/main/java/guru/springframework/services/GreetingService.java @@ -0,0 +1,9 @@ +package guru.springframework.services; + +/** + * Created by jt on 5/24/17. + */ +public interface GreetingService { + + String sayGreeting(); +} diff --git a/src/main/java/guru/springframework/services/GreetingServiceImpl.java b/src/main/java/guru/springframework/services/GreetingServiceImpl.java new file mode 100644 index 00000000..b3519d0e --- /dev/null +++ b/src/main/java/guru/springframework/services/GreetingServiceImpl.java @@ -0,0 +1,17 @@ +package guru.springframework.services; + +import org.springframework.stereotype.Service; + +/** + * Created by jt on 5/24/17. + */ +@Service +public class GreetingServiceImpl implements GreetingService { + + public static final String HELLO_GURUS = "Hello Gurus!!!!"; + + @Override + public String sayGreeting() { + return HELLO_GURUS; + } +} diff --git a/src/test/java/guru/springframework/controllers/ConstructorInjectedControllerTest.java b/src/test/java/guru/springframework/controllers/ConstructorInjectedControllerTest.java new file mode 100644 index 00000000..bbf36c6e --- /dev/null +++ b/src/test/java/guru/springframework/controllers/ConstructorInjectedControllerTest.java @@ -0,0 +1,24 @@ +package guru.springframework.controllers; + +import guru.springframework.services.GreetingServiceImpl; +import org.junit.Before; +import org.junit.Test; + +import static org.junit.Assert.assertEquals; + +/** + * Created by jt on 5/24/17. + */ +public class ConstructorInjectedControllerTest { + private ConstructorInjectedController constructorInjectedController; + + @Before + public void setUp() throws Exception { + this.constructorInjectedController = new ConstructorInjectedController(new GreetingServiceImpl()); + } + + @Test + public void testGreeting() throws Exception { + assertEquals(GreetingServiceImpl.HELLO_GURUS, constructorInjectedController.sayHello()); + } +} \ No newline at end of file diff --git a/src/test/java/guru/springframework/controllers/GetterInjectedControllerTest.java b/src/test/java/guru/springframework/controllers/GetterInjectedControllerTest.java new file mode 100644 index 00000000..f0837998 --- /dev/null +++ b/src/test/java/guru/springframework/controllers/GetterInjectedControllerTest.java @@ -0,0 +1,26 @@ +package guru.springframework.controllers; + +import guru.springframework.services.GreetingServiceImpl; +import org.junit.Before; +import org.junit.Test; + +import static org.junit.Assert.assertEquals; + +/** + * Created by jt on 5/24/17. + */ +public class GetterInjectedControllerTest { + + private GetterInjectedController getterInjectedController; + + @Before + public void setUp() throws Exception { + this.getterInjectedController = new GetterInjectedController(); + this.getterInjectedController.setGreetingService(new GreetingServiceImpl()); + } + + @Test + public void testGreeting() throws Exception { + assertEquals(GreetingServiceImpl.HELLO_GURUS, getterInjectedController.sayHello()); + } +} \ No newline at end of file diff --git a/src/test/java/guru/springframework/controllers/PropertyInjectedControllerTest.java b/src/test/java/guru/springframework/controllers/PropertyInjectedControllerTest.java new file mode 100644 index 00000000..e91cee57 --- /dev/null +++ b/src/test/java/guru/springframework/controllers/PropertyInjectedControllerTest.java @@ -0,0 +1,26 @@ +package guru.springframework.controllers; + +import guru.springframework.services.GreetingServiceImpl; +import org.junit.Before; +import org.junit.Test; + +import static org.junit.Assert.assertEquals; + +/** + * Created by jt on 5/24/17. + */ +public class PropertyInjectedControllerTest { + + private PropertyInjectedController propertyInjectedController; + + @Before + public void setUp() throws Exception { + this.propertyInjectedController = new PropertyInjectedController(); + this.propertyInjectedController.greetingService = new GreetingServiceImpl(); + } + + @Test + public void testGreeting() throws Exception { + assertEquals(GreetingServiceImpl.HELLO_GURUS, propertyInjectedController.sayHello()); + } +} \ No newline at end of file From 32c671ff0f8d4ff4e76cfdf994eec0dbf0aab098 Mon Sep 17 00:00:00 2001 From: John Thompson Date: Wed, 24 May 2017 16:55:53 -0400 Subject: [PATCH 03/11] making controller greeting methods public --- .../controllers/ConstructorInjectedController.java | 2 +- .../springframework/controllers/GetterInjectedController.java | 2 +- .../springframework/controllers/PropertyInjectedController.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/guru/springframework/controllers/ConstructorInjectedController.java b/src/main/java/guru/springframework/controllers/ConstructorInjectedController.java index f3bcf6cd..c689cbbb 100644 --- a/src/main/java/guru/springframework/controllers/ConstructorInjectedController.java +++ b/src/main/java/guru/springframework/controllers/ConstructorInjectedController.java @@ -14,7 +14,7 @@ public ConstructorInjectedController(GreetingService greetingService) { this.greetingService = greetingService; } - String sayHello(){ + public String sayHello(){ return greetingService.sayGreeting(); } } diff --git a/src/main/java/guru/springframework/controllers/GetterInjectedController.java b/src/main/java/guru/springframework/controllers/GetterInjectedController.java index 2d101437..d63685bf 100644 --- a/src/main/java/guru/springframework/controllers/GetterInjectedController.java +++ b/src/main/java/guru/springframework/controllers/GetterInjectedController.java @@ -9,7 +9,7 @@ public class GetterInjectedController { private GreetingService greetingService; - String sayHello(){ + public String sayHello(){ return greetingService.sayGreeting(); } diff --git a/src/main/java/guru/springframework/controllers/PropertyInjectedController.java b/src/main/java/guru/springframework/controllers/PropertyInjectedController.java index b73bdcdd..2f2b6f9e 100644 --- a/src/main/java/guru/springframework/controllers/PropertyInjectedController.java +++ b/src/main/java/guru/springframework/controllers/PropertyInjectedController.java @@ -11,7 +11,7 @@ public class PropertyInjectedController { public GreetingServiceImpl greetingService; - String sayHello(){ + public String sayHello(){ return greetingService.sayGreeting(); } From 29ca0a5af56b35cd405ea27db1a4e3b620ddf264 Mon Sep 17 00:00:00 2001 From: John Thompson Date: Wed, 24 May 2017 17:13:03 -0400 Subject: [PATCH 04/11] making controller greeting methods public --- src/main/java/guru/springframework/DiDemoApplication.java | 7 +++++++ .../controllers/ConstructorInjectedController.java | 4 ++++ .../controllers/GetterInjectedController.java | 4 ++++ .../controllers/PropertyInjectedController.java | 5 ++++- 4 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/main/java/guru/springframework/DiDemoApplication.java b/src/main/java/guru/springframework/DiDemoApplication.java index edb8a7fc..ad23374a 100644 --- a/src/main/java/guru/springframework/DiDemoApplication.java +++ b/src/main/java/guru/springframework/DiDemoApplication.java @@ -1,6 +1,9 @@ package guru.springframework; +import guru.springframework.controllers.ConstructorInjectedController; +import guru.springframework.controllers.GetterInjectedController; import guru.springframework.controllers.MyController; +import guru.springframework.controllers.PropertyInjectedController; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.ApplicationContext; @@ -14,5 +17,9 @@ public static void main(String[] args) { MyController controller = (MyController) ctx.getBean("myController"); controller.hello(); + + System.out.println(ctx.getBean(PropertyInjectedController.class).sayHello()); + System.out.println(ctx.getBean(GetterInjectedController.class).sayHello()); + System.out.println(ctx.getBean(ConstructorInjectedController.class).sayHello()); } } diff --git a/src/main/java/guru/springframework/controllers/ConstructorInjectedController.java b/src/main/java/guru/springframework/controllers/ConstructorInjectedController.java index c689cbbb..a40acab4 100644 --- a/src/main/java/guru/springframework/controllers/ConstructorInjectedController.java +++ b/src/main/java/guru/springframework/controllers/ConstructorInjectedController.java @@ -2,14 +2,18 @@ import guru.springframework.services.GreetingService; import guru.springframework.services.GreetingServiceImpl; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; /** * Created by jt on 5/24/17. */ +@Controller public class ConstructorInjectedController { private GreetingService greetingService; + @Autowired public ConstructorInjectedController(GreetingService greetingService) { this.greetingService = greetingService; } diff --git a/src/main/java/guru/springframework/controllers/GetterInjectedController.java b/src/main/java/guru/springframework/controllers/GetterInjectedController.java index d63685bf..994a6433 100644 --- a/src/main/java/guru/springframework/controllers/GetterInjectedController.java +++ b/src/main/java/guru/springframework/controllers/GetterInjectedController.java @@ -2,10 +2,13 @@ import guru.springframework.services.GreetingService; import guru.springframework.services.GreetingServiceImpl; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; /** * Created by jt on 5/24/17. */ +@Controller public class GetterInjectedController { private GreetingService greetingService; @@ -13,6 +16,7 @@ public String sayHello(){ return greetingService.sayGreeting(); } + @Autowired public void setGreetingService(GreetingService greetingService) { this.greetingService = greetingService; } diff --git a/src/main/java/guru/springframework/controllers/PropertyInjectedController.java b/src/main/java/guru/springframework/controllers/PropertyInjectedController.java index 2f2b6f9e..067b15dd 100644 --- a/src/main/java/guru/springframework/controllers/PropertyInjectedController.java +++ b/src/main/java/guru/springframework/controllers/PropertyInjectedController.java @@ -1,14 +1,17 @@ package guru.springframework.controllers; import guru.springframework.services.GreetingServiceImpl; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; /** * Created by jt on 5/24/17. */ - +@Controller public class PropertyInjectedController { + @Autowired public GreetingServiceImpl greetingService; public String sayHello(){ From 69f7c68d6fd60e997dfa6fd18709b9f52efbd76c Mon Sep 17 00:00:00 2001 From: John Thompson Date: Wed, 24 May 2017 17:45:49 -0400 Subject: [PATCH 05/11] adding more services for Qualifier example --- .../ConstructorInjectedController.java | 6 ++---- .../controllers/GetterInjectedController.java | 3 ++- .../controllers/PropertyInjectedController.java | 5 +++-- .../services/ConstructorGreetingService.java | 14 ++++++++++++++ .../services/GetterGreetingService.java | 15 +++++++++++++++ .../PropertyInjectedControllerTest.java | 2 +- 6 files changed, 37 insertions(+), 8 deletions(-) create mode 100644 src/main/java/guru/springframework/services/ConstructorGreetingService.java create mode 100644 src/main/java/guru/springframework/services/GetterGreetingService.java diff --git a/src/main/java/guru/springframework/controllers/ConstructorInjectedController.java b/src/main/java/guru/springframework/controllers/ConstructorInjectedController.java index a40acab4..d21186fb 100644 --- a/src/main/java/guru/springframework/controllers/ConstructorInjectedController.java +++ b/src/main/java/guru/springframework/controllers/ConstructorInjectedController.java @@ -1,8 +1,7 @@ package guru.springframework.controllers; import guru.springframework.services.GreetingService; -import guru.springframework.services.GreetingServiceImpl; -import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Controller; /** @@ -13,8 +12,7 @@ public class ConstructorInjectedController { private GreetingService greetingService; - @Autowired - public ConstructorInjectedController(GreetingService greetingService) { + public ConstructorInjectedController(@Qualifier("constructorGreetingService") GreetingService greetingService) { this.greetingService = greetingService; } diff --git a/src/main/java/guru/springframework/controllers/GetterInjectedController.java b/src/main/java/guru/springframework/controllers/GetterInjectedController.java index 994a6433..52fdc1c9 100644 --- a/src/main/java/guru/springframework/controllers/GetterInjectedController.java +++ b/src/main/java/guru/springframework/controllers/GetterInjectedController.java @@ -3,6 +3,7 @@ import guru.springframework.services.GreetingService; import guru.springframework.services.GreetingServiceImpl; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Controller; /** @@ -17,7 +18,7 @@ public String sayHello(){ } @Autowired - public void setGreetingService(GreetingService greetingService) { + public void setGreetingService(@Qualifier("getterGreetingService") GreetingService greetingService) { this.greetingService = greetingService; } } diff --git a/src/main/java/guru/springframework/controllers/PropertyInjectedController.java b/src/main/java/guru/springframework/controllers/PropertyInjectedController.java index 067b15dd..9cdc1dc6 100644 --- a/src/main/java/guru/springframework/controllers/PropertyInjectedController.java +++ b/src/main/java/guru/springframework/controllers/PropertyInjectedController.java @@ -1,5 +1,6 @@ package guru.springframework.controllers; +import guru.springframework.services.GreetingService; import guru.springframework.services.GreetingServiceImpl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; @@ -12,10 +13,10 @@ public class PropertyInjectedController { @Autowired - public GreetingServiceImpl greetingService; + public GreetingService greetingServiceImpl; public String sayHello(){ - return greetingService.sayGreeting(); + return greetingServiceImpl.sayGreeting(); } } diff --git a/src/main/java/guru/springframework/services/ConstructorGreetingService.java b/src/main/java/guru/springframework/services/ConstructorGreetingService.java new file mode 100644 index 00000000..5dc84ded --- /dev/null +++ b/src/main/java/guru/springframework/services/ConstructorGreetingService.java @@ -0,0 +1,14 @@ +package guru.springframework.services; + +import org.springframework.stereotype.Service; + +/** + * Created by jt on 5/24/17. + */ +@Service +public class ConstructorGreetingService implements GreetingService { + @Override + public String sayGreeting() { + return "Hello - I was injected via the constructor!!!"; + } +} diff --git a/src/main/java/guru/springframework/services/GetterGreetingService.java b/src/main/java/guru/springframework/services/GetterGreetingService.java new file mode 100644 index 00000000..922c130a --- /dev/null +++ b/src/main/java/guru/springframework/services/GetterGreetingService.java @@ -0,0 +1,15 @@ +package guru.springframework.services; + +import org.springframework.stereotype.Service; + +/** + * Created by jt on 5/24/17. + */ +@Service +public class GetterGreetingService implements GreetingService { + + @Override + public String sayGreeting() { + return "Hello - I was injected by the getter"; + } +} diff --git a/src/test/java/guru/springframework/controllers/PropertyInjectedControllerTest.java b/src/test/java/guru/springframework/controllers/PropertyInjectedControllerTest.java index e91cee57..e5e98f3d 100644 --- a/src/test/java/guru/springframework/controllers/PropertyInjectedControllerTest.java +++ b/src/test/java/guru/springframework/controllers/PropertyInjectedControllerTest.java @@ -16,7 +16,7 @@ public class PropertyInjectedControllerTest { @Before public void setUp() throws Exception { this.propertyInjectedController = new PropertyInjectedController(); - this.propertyInjectedController.greetingService = new GreetingServiceImpl(); + this.propertyInjectedController.greetingServiceImpl = new GreetingServiceImpl(); } @Test From d96580a71c5774f45e29c13134421022d20f6943 Mon Sep 17 00:00:00 2001 From: John Thompson Date: Wed, 24 May 2017 17:46:32 -0400 Subject: [PATCH 06/11] removing unused imports --- .../springframework/controllers/GetterInjectedController.java | 1 - .../springframework/controllers/PropertyInjectedController.java | 1 - 2 files changed, 2 deletions(-) diff --git a/src/main/java/guru/springframework/controllers/GetterInjectedController.java b/src/main/java/guru/springframework/controllers/GetterInjectedController.java index 52fdc1c9..39c3f3a7 100644 --- a/src/main/java/guru/springframework/controllers/GetterInjectedController.java +++ b/src/main/java/guru/springframework/controllers/GetterInjectedController.java @@ -1,7 +1,6 @@ package guru.springframework.controllers; import guru.springframework.services.GreetingService; -import guru.springframework.services.GreetingServiceImpl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Controller; diff --git a/src/main/java/guru/springframework/controllers/PropertyInjectedController.java b/src/main/java/guru/springframework/controllers/PropertyInjectedController.java index 9cdc1dc6..33bf4dd5 100644 --- a/src/main/java/guru/springframework/controllers/PropertyInjectedController.java +++ b/src/main/java/guru/springframework/controllers/PropertyInjectedController.java @@ -1,7 +1,6 @@ package guru.springframework.controllers; import guru.springframework.services.GreetingService; -import guru.springframework.services.GreetingServiceImpl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; From 8150c6bf5a9d748fc85d064bcf9d853947be0142 Mon Sep 17 00:00:00 2001 From: John Thompson Date: Mon, 19 Jun 2017 13:46:03 -0400 Subject: [PATCH 07/11] updating Spring Boot version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e2c6a36b..c2bce693 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 2.0.0.M1 + 2.0.0.M2 From 660b4e31174c6a816b7be2d19637f5754ea6ceea Mon Sep 17 00:00:00 2001 From: John Thompson Date: Mon, 31 Jul 2017 16:55:10 -0400 Subject: [PATCH 08/11] Updating Spring Boot Version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c2bce693..5dde83a4 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 2.0.0.M2 + 2.0.0.M3 From b35814c9700bf63f14796a9a3f7df16921fa6e6a Mon Sep 17 00:00:00 2001 From: springframeworkguru Date: Sun, 10 Dec 2017 08:58:56 +0530 Subject: [PATCH 09/11] Updated to 2.0.0.M7 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 5dde83a4..351d95af 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 2.0.0.M3 + 2.0.0.M7 From d31b9c40864d6ce98fbb89b7b5331b289f7564fc Mon Sep 17 00:00:00 2001 From: springframeworkguru Date: Sat, 17 Mar 2018 22:05:06 +0530 Subject: [PATCH 10/11] Updated to Spring Boot 2.0.0.RELEASE --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 351d95af..eb823c68 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 2.0.0.M7 + 2.0.0.RELEASE From 0e7c0d9845d3236b6ffe2eaa203e856548dcbe25 Mon Sep 17 00:00:00 2001 From: springframeworkguru Date: Wed, 5 Dec 2018 01:16:32 +0530 Subject: [PATCH 11/11] Upgraded to Spring Boot 2.1.0.RELEASE --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index eb823c68..1de0549d 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 2.0.0.RELEASE + 2.1.0.RELEASE