[ BAEL-3751 ] : Initialize CI/CD module with application

This commit is contained in:
Lukasz Rys 2020-03-22 19:14:28 +01:00
parent 504348e3ad
commit 5f652fb842
5 changed files with 55 additions and 0 deletions

View File

@ -638,6 +638,7 @@
<module>spring-batch</module>
<module>spring-bom</module>
<module>spring-boot-ci-cd</module>
<module>spring-boot-modules</module>
<module>spring-boot-rest</module>
@ -1141,6 +1142,7 @@
<module>spring-batch</module>
<module>spring-bom</module>
<module>spring-boot-ci-cd</module>
<module>spring-boot-modules</module>
<module>spring-boot-rest</module>

View File

@ -0,0 +1 @@
# Spring Boot CI/CD

39
spring-boot-ci-cd/pom.xml Normal file
View File

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>spring-boot-ci-cd</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>spring-boot-ci-cd</name>
<packaging>jar</packaging>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-boot-2</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../parent-boot-2</relativePath>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

View File

@ -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);
}
}

View File

@ -0,0 +1 @@
defaultSize: 5