This is an alternate Design Project starter kit that uses Maven (with wrapper) and SpringBoot.
Read this section first. Take these steps as soon as you download the git repo.
BEFORE you import the project into your IDE, I would recommend you do the following:
- Replace the text
TEAM-XXin thepom.xmlfile with your own team identifier, such asMUD-1orNutriApp-2and so on. - Replace the text
REPLACE-ME-WITH-PROJECT-NAMEin thepom.xmlfile with your own project name. - Replace the text
REPLACE-ME-WITH-PROJECT-NAMEin theapplication.propertiesfile with your own project name. - Replace the text
YOUR PROJECT DESCRIPTION HEREin thepom.xmlfile with your own project description.
This project starter includes a Maven wrapper. This means that Maven runs in a virtual
environment; not against your global Maven installation. Use the ./mvnw command in a *NIX
environment such as MacOS or Linux and use the mvnw.cmd in a Windows environment.
Learn more here.
This section provides basic build commands for this project.
To run the Spring Boot application, use this command:
./mvnw spring-boot:runThis will also execute any CommandLineRunner implementation classes, such as
the sample SampleCommandLineRunner in this starter kit.
To run the complete suite of unit tests, use this command:
./mvnw clean test surefire-report:reportThis generates the Surefire report (on unit tests) in the file
target/site/surefire-report.html. It also generates the JaCoCo
(code coverage) report at: target/site/jacoco/index.html.