Skip to content

工具类(线程池、LRU算法等)、公共实体、springboot脚手架、数据访问层(tkmybatis 、mybatis-plus、hbase等)、整合第三方依赖包(如redis、mq、xxl-job等)

License

xk11961677/framework

Repository files navigation

sky

Build Status license springboot Gitter version helloworld codecov

文档地址

代码结构

git 分支开发规约

  • 使用git flow 流程,分支名称分别以 feature-* 、 release-* 、hotfix-* 开头
  • 版本号:<主版本>.<次版本>.<增量版本>-<代号>
    • 方式1: 升级版本号命令: mvn versions:set -DnewVersion=x.x.x
    • 方式2: 升级版本号命令
      • mvn release:prepare
        1. 把项目打一个release版本
        2. 在git的tag中打一个tag
        3. 自动升级SNAPSHOT 并提交更新后的pom文件到git
      • mvn release:rollback
        1. 回滚,但不会删除tag
      • mvn release:perform
        1. 去git的tag上拿代码
        2. 用tag上的代码,打一个release版的包
        3. deploy到的maven私服
    • 方式3: 仅修改 pom.xml --> 1.0.0-SNAPSHOT 属性
    • 推荐方式3
  • 代号版本
    • SNAPSHOT: 用于develop/hotfix
    • RC数字: 用于测试阶段
    • RELEASE: 正式发布版
    • 具体列子:
      1. 开发版本: 1.1.0-SNAPSHOT、1.2.0-SNAPSHOT、2.1.0-SNAPSHOT
      2. 稳定版本:
        1. 候选发布版本: 1.1.0-RC1、1.2.0-RC2
        2. 正式发布版本: 1.1.0-RELEASE、1.1.1-RELEASE

git message 规约

用于生成规范changelog

提交格式

  1. 请点我
  2. idea 可使用 git commit template 插件
  3. npm 可以使用 commitizen

生成changelog方式

运行docs/script/changelog/gitlog.sh

javadoc生成方式

mvn javadoc:javadoc

问题反馈

  • 在使用中有任何问题,欢迎反馈

FAQ

开发计划

关于作者

MIT License

Copyright (c) 2019 framework

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

工具类(线程池、LRU算法等)、公共实体、springboot脚手架、数据访问层(tkmybatis 、mybatis-plus、hbase等)、整合第三方依赖包(如redis、mq、xxl-job等)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages