spring-boot-archetype
is a maven scaffold for quickly building efficient, clean, and stable spring-boot
projects.
As long as you have Maven
installed, or you encode using Intellij IDEA
, you can build a new spring-boot
project
based on spring-boot-archetype
in a few simple steps.
- packaged to jar or war according to active profile
- Unified
@RequestMapping
input verification BaseModel
,BaseMapper
,BaseService
supported, write code at oncemybatis-plus3
supportedswagger-ui
supportedlombok
supported- Global exception encapsulation handling
logger
withprofile
supported- Follow the alibaba p3c specification
- Various utility packages
- ...
<dependency>
<groupId>com.github.netyjq</groupId>
<artifactId>spring-boot-archetype</artifactId>
<version>0.0.2.release</version>
</dependency>
Make sure you have already installed maven, and then type the command below to your terminal,
after a while, maven will tips you input your project's groupId
, artifactId
, version
, package
, then your project will be automatically built successfully.
mvn archetype:generate -DarchetypeGroupId=com.github.netyjq -DarchetypeArtifactId=spring-boot-archetype -DarchetypeVersion=0.0.2.release
- Open the Intellij IDEA, click the navigation button: File > new > Project >
- Choose Maven, Check the checkbox "Create from Archetype", then click button "Add Archetype"
- Then you will see a form, just enter the 'pom' information.
- Select the "Archetype" you just added in the list, step by step, and the new project will automatically complete the build.
- Gmail: [email protected]
- Wechat: eWVrYXlqcQ==
I am glad with your fork or star, any question please submit a issue.