diff --git a/README.md b/README.md deleted file mode 100644 index ec3935a..0000000 --- a/README.md +++ /dev/null @@ -1,34 +0,0 @@ -# RIFE2 Spring Boot Example - -Based on the Spring Guides' [Sping Boot](https://github.com/spring-guides/gs-spring-boot) web application example. - -## Run the Application - -To run the web application, issue the following command: - -``` -./bld run -``` - -To access the web application, issue the follow command: - -``` -curl localhost:8080 -``` - -To access the web application services: - -``` -curl localhost:8880/ -curl localhost:8080/actuator/health -curl localhost:8080/actuator/info -curl localhost:8080/actuator/shutdown -``` - -## Test the Application - -To run the web application tests, issue the following command: - -``` -./bld test -``` \ No newline at end of file diff --git a/src/bld/java/com/example/springboot/ApplicationBuild.java b/src/bld/java/com/example/springboot/ApplicationBuild.java index 19ded19..f2c039d 100644 --- a/src/bld/java/com/example/springboot/ApplicationBuild.java +++ b/src/bld/java/com/example/springboot/ApplicationBuild.java @@ -1,6 +1,6 @@ package com.example.springboot; -import rife.bld.WebProject; +import rife.bld.BaseProject; import java.util.List; @@ -8,7 +8,7 @@ import static rife.bld.dependencies.Repository.MAVEN_CENTRAL; import static rife.bld.dependencies.Scope.compile; import static rife.bld.dependencies.Scope.test; -public class ApplicationBuild extends WebProject { +public class ApplicationBuild extends BaseProject { public ApplicationBuild() { pkg = "com.example.demo"; name = "DemoApplication"; @@ -28,11 +28,7 @@ public class ApplicationBuild extends WebProject { version(3, 1, 5))); scope(test) .include(dependency("org.springframework.boot", "spring-boot-starter-test", - version(3, 1, 5))) - .include(dependency("org.junit.jupiter", "junit-jupiter", - version(5, 10, 0))) - .include(dependency("org.junit.platform", "junit-platform-console-standalone", - version(1, 10, 0))); + version(3, 1, 5))); } public static void main(String[] args) {