内容简介:是否想快速生成一个Spring Boot原型系统?这个开源项目已经发布到Maven中央仓库,可以使用mvn archetype:generate这些生成项目,在本地安装原型git clone https://github.com/sivalabs/spring-boot-maven-archetypes.git
是否想快速生成一个Spring Boot原型系统?这个开源项目已经发布到Maven中央仓库,可以使用mvn archetype:generate这些生成项目,
在本地安装原型
git clone https://github.com/sivalabs/spring-boot-maven-archetypes.git
./install.sh
从原型生成基本Java app项目:
mvn archetype:generate \
-B -DarchetypeGroupId=io.github.sivalabs.maven.archetypes \
-DarchetypeArtifactId=spring-boot-java-basic-archetype \
-DarchetypeVersion=0.0.1 \
-DgroupId=com.mycompany \
-DartifactId=myapp \
-Dversion=1.0-SNAPSHOT \
-Dpackage=com.mycompany.myapp
生成具有以下功能的基本SpringBoot REST API应用程序:
数据库支持(H2 / Postgres)
配置Dockerfile,Jenkinsfile
Flyway数据库迁移
用 Prometheus, Grafana一起监控
基于ELK的日志记录
mvn archetype:generate \
-B -DarchetypeGroupId=io.github.sivalabs.maven.archetypes \
-DarchetypeArtifactId=spring-boot-java-rest-api-archetype \
-DarchetypeVersion=0.0.1 \
-DgroupId=com.mycompany \
-DartifactId=myapp \
-Dversion=1.0-SNAPSHOT \
-Dpackage=com.mycompany.myapp
生成安全的REST API
生成具有以下功能的基本SpringBoot REST API应用程序:
数据库支持(H2 / Postgres)
基于JWT令牌的安全性
配置Dockerfile,Jenkinsfile
Flyway数据库迁移
用 Prometheus, Grafana一起监控
基于ELK的日志记录
mvn archetype:generate \
-B -DarchetypeGroupId=io.github.sivalabs.maven.archetypes \
-DarchetypeArtifactId=spring-boot-java-rest-api-secure-archetype \
-DarchetypeVersion=0.0.1 \
-DgroupId=com.mycompany \
-DartifactId=myapp \
-Dversion=1.0-SNAPSHOT \
-Dpackage=com.mycompany.myapp
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Where Wizards Stay Up Late
Katie Hafner / Simon & Schuster / 1998-1-21 / USD 16.00
Twenty five years ago, it didn't exist. Today, twenty million people worldwide are surfing the Net. "Where Wizards Stay Up Late" is the exciting story of the pioneers responsible for creating the most......一起来看看 《Where Wizards Stay Up Late》 这本书的介绍吧!
HTML 压缩/解压工具
在线压缩/解压 HTML 代码
html转js在线工具
html转js在线工具