Overview of the application
This is a simple Sprint Boot based Java application that is built using Maven. Sprint Boot dependencies are handled using the pom.xml at the root directory of the repository.
This is a MVC architecture based application where controller returns a page with title and message attributes to the view.
Code Repository URL
The repository for the application can be accessed from the following URL:
This is what the application looks like:

Execute the application locally
To execute the application locally, follow the below steps:
Clone the repository and move to the code directory:
git clone https://github.com/devops-maestro17/java-cicd-pipeline
cd java-cicd-pipeline/spring-boot-app
Install JDK and Maven
sudo apt update
# Install Maven
sudo apt install maven
# Install JDK
sudo apt install openjdk-11-jre -y
Execute the Maven targets to generate the jar artifacts:
mvn clean package
Run the application using the below command and access it on port 8080:
java -jar target/spring-boot-web.jar
Last updated