2 Star 16 Fork 31

ballcat-projects / ballcat-boot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

ballcat-boot

此项目是 Ballcat 单体应用的模板项目。

用户可以基于此模板项目进行业务的定制开发。

项目环境搭建参看文档 快速搭建 一章。

注意事项

代码格式化

由于项目使用了 spring-javaformat 插件进行格式管理,打包前请执行以下 maven 命令进行格式化,否则打包会失败:

mvn spring-javaformat:apply

使用 mvn 命令需要添加 maven 的环境变量, 如果没有添加,使用 idea 的用户可以通过 idea 右上角的 maven 工具进行格式化,
点击 ballcat-boot 的 Plugins -> spring-javaformat -> spring-javaformat:apply 进行格式化。

JDK11 使用

  1. 默认格式化基于 jdk8 环境, 在 jdk11 下使用时请删除 .spirngjavaformat 文件, 或者修改其中的内容为 中的 java-baseline=11

  2. 由于 jdk11 剔除了部分 javax 的包,如果使用 jdk11, 请将 pom.xml 中以下依赖的注释打开

    <dependency>
        <groupId>jakarta.xml.bind</groupId>
        <artifactId>jakarta.xml.bind-api</artifactId>
    </dependency>
    <dependency>
        <groupId>org.glassfish.jaxb</groupId>
        <artifactId>jaxb-runtime</artifactId>
    </dependency>
MIT License Copyright (c) 2021 Hccake 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.

简介

🐱‍🚀 Ballcat 基于 SpringBoot 的快速启动项目 展开 收起
Java
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/ballcat-projects/ballcat-boot.git
git@gitee.com:ballcat-projects/ballcat-boot.git
ballcat-projects
ballcat-boot
ballcat-boot
master

搜索帮助