The purpose of this article was to see the GitLab CI/CD and Maven Life Cycle process, and understand the GitLab CI/CD concept and Maven commands. So our output is just "Welcome to My Web Page !". As it appears in the App.java file below.
We're going to do what you want, "a simple, workable example for deploying a java project all over the internet" in the second article of this series (as written in item "7. Next post"):
In the next post, “GitLab CI/CD - 2 : Building a Java Spring Boot API using Maven and Docker in GitLab CI/CD pipeline by running GitLab Runner in a container”.
If you want to do it yourself, you can check these links (which I will use too):
https://docs.gitlab.com/ee/ci/
https://www.youtube.com/watch?v=8Ao5WcMJJ2c
https://www.youtube.com/watch?v=qP8kir2GUgo
https://www.youtube.com/watch?v=ZAYBxLLcZrM&list=PLFGfElNsQthYDx0A_FaNNfUm9NHsK6zED&index=17