From 5f652fb842f247ad7d859921af5e64a93fe32470 Mon Sep 17 00:00:00 2001 From: Lukasz Rys Date: Sun, 22 Mar 2020 19:14:28 +0100 Subject: [PATCH] [ BAEL-3751 ] : Initialize CI/CD module with application --- pom.xml | 2 + spring-boot-ci-cd/README.md | 1 + spring-boot-ci-cd/pom.xml | 39 +++++++++++++++++++ .../com/baeldung/cicd/CiCdApplication.java | 12 ++++++ .../main/resources/introduction-config.yml | 1 + 5 files changed, 55 insertions(+) create mode 100644 spring-boot-ci-cd/README.md create mode 100644 spring-boot-ci-cd/pom.xml create mode 100644 spring-boot-ci-cd/src/main/java/com/baeldung/cicd/CiCdApplication.java create mode 100644 spring-boot-ci-cd/src/main/resources/introduction-config.yml diff --git a/pom.xml b/pom.xml index 15331d8c95..9cf1aa2e92 100644 --- a/pom.xml +++ b/pom.xml @@ -638,6 +638,7 @@ spring-batch spring-bom + spring-boot-ci-cd spring-boot-modules spring-boot-rest @@ -1141,6 +1142,7 @@ spring-batch spring-bom + spring-boot-ci-cd spring-boot-modules spring-boot-rest diff --git a/spring-boot-ci-cd/README.md b/spring-boot-ci-cd/README.md new file mode 100644 index 0000000000..d207cd0fa0 --- /dev/null +++ b/spring-boot-ci-cd/README.md @@ -0,0 +1 @@ +# Spring Boot CI/CD \ No newline at end of file diff --git a/spring-boot-ci-cd/pom.xml b/spring-boot-ci-cd/pom.xml new file mode 100644 index 0000000000..070294fdce --- /dev/null +++ b/spring-boot-ci-cd/pom.xml @@ -0,0 +1,39 @@ + + + 4.0.0 + spring-boot-ci-cd + 0.0.1-SNAPSHOT + spring-boot-ci-cd + jar + + + com.baeldung + parent-boot-2 + 0.0.1-SNAPSHOT + ../parent-boot-2 + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-actuator + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + \ No newline at end of file diff --git a/spring-boot-ci-cd/src/main/java/com/baeldung/cicd/CiCdApplication.java b/spring-boot-ci-cd/src/main/java/com/baeldung/cicd/CiCdApplication.java new file mode 100644 index 0000000000..8451084148 --- /dev/null +++ b/spring-boot-ci-cd/src/main/java/com/baeldung/cicd/CiCdApplication.java @@ -0,0 +1,12 @@ +package com.baeldung.cicd; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class CiCdApplication { + + public static void main(String[] args) { + SpringApplication.run(CiCdApplication.class, args); + } +} diff --git a/spring-boot-ci-cd/src/main/resources/introduction-config.yml b/spring-boot-ci-cd/src/main/resources/introduction-config.yml new file mode 100644 index 0000000000..02ff36de05 --- /dev/null +++ b/spring-boot-ci-cd/src/main/resources/introduction-config.yml @@ -0,0 +1 @@ +defaultSize: 5 \ No newline at end of file