This archetype will create a project with:
- Spring Boot 2.4.4
- Java 11
- OpenFeign
- Swagger UI in container
- JUnit 5 and Mockito
- Wiremock using Junit 5
and java source code format is using google-java-format to comply with Google Java Style.
Clone the project:
$ git clone [email protected]:valdemarjuniorr/spring-boot-maven-archetype.git
in the same folder the command was executed:
$ cd spring-boot-maven-archetype
$ mvn install
and then to creating a new Spring Boot project is easy as ever. Simply copy the command below:
$ mvn archetype:generate -B -DarchetypeArtifactId=ms-spring-boot-template \
-DarchetypeGroupId=com.valdemarjuniorr \
-DgroupId={GROUP_ID} \
-DartifactId={ARTIFACT_ID}
change GROUP_ID and ARTIFACT_ID and run. The project it will be generated in current folder.