Skip to content

Latest commit

 

History

History
152 lines (109 loc) · 6.02 KB

README.cn.md

File metadata and controls

152 lines (109 loc) · 6.02 KB

lodsve-boot

基于Spring-Boot和一些开源组件的开发套件!

 _               _                ______             _
| |             | |               | ___ \           | |
| |     ___   __| |_____   _____  | |_/ / ___   ___ | |_
| |    / _ \ / _` / __\ \ / / _ \ | ___ \/ _ \ / _ \| __|
| |___| (_) | (_| \__ \\ V /  __/ | |_/ / (_) | (_) | |_
\_____/\___/ \__,_|___/ \_/ \___| \____/ \___/ \___/ \__|

英文版本

Deploy Snapshot Weekly Github Action Maven Verify

LICENSE Maven Central GitHub stars GitHub forks GitHub issues GitHub pull requests FOSSA Status

简单的介绍

  1. Lodsve基于Spring-Boot和一些开源组件的开发包!

  2. 包含了以下的模块:

    参考 提供的能力

  3. 注意:由于优化了获取版本号的方式,在首次导入到idea中,或者执行过mvn clean命令后,都需要在根目录执行一下以下命令:

    # Linux or MacOS
    ./mvnw com.lodsve.maven.plugins:lodsve-javatemplate-maven-plugin:1.0.3:generate-sources
    # Windows
    ./mvnw.cmd com.lodsve.maven.plugins:lodsve-javatemplate-maven-plugin:1.0.3:generate-sources
    

如何使用

  1. 使用release版本

     <parent>
         <groupId>com.lodsve.boot</groupId>
         <artifactId>lodsve-boot-dependencies</artifactId>
         <version>x.x.x</version>
     </parent>
    
  2. 部分插件的使用方式,可参考组件介绍

  3. 如果您只是想尝试新功能,请尝试预发布版本。 如果您有任何问题,请在 issue 中与我联系。

     <parent>
         <groupId>com.lodsve.boot</groupId>
         <artifactId>lodsve-boot-dependencies</artifactId>
         <version>x.x.x-SNAPSHOT</version>
     </parent>
     <repositories>
         <repository>
             <id>maven-center-snapshot</id>
             <name>Maven Center Snapshot</name>
             <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
             <snapshots>
                 <enabled>true</enabled>
             </snapshots>
         </repository>
     </repositories>
    

关于发版

  1. 我每周都会通过Github Action自动发布一个快照版本!

    构建版本号,如 x.x.x-YYYYMMDD-SNAPSHOT

  2. 不定时发布Release版本。

    构建版本号,如 x.x.x

检出源码

git clone [email protected]:lodsve/lodsve-boot.git

导入到您的IDE中

在项目根目录运行命令 mvn idea:idea 或者 mvn eclipse:eclipse

注意: 根据上述先决条件,确保已在IDE中正确配置了 JDK 8Maven 3.3.XLombok插件

  1. 配置Git

     git config --global user.name "your name"
     git config --global user.email "your email"
     git config --global core.autocrlf false
     git config --global core.safecrlf true
    
  2. 为了更标准的git提交信息

    # commit message template
    git config commit.template ./git/templates/commit-message-template
    # git hook to check commit message
    # windows
    fsutil hardlink create .git\hooks\commit-msg git\hooks\check-commit-msg
    # linux
    cd ./.git/hooks
    ln -s ../../git/hooks/check-commit-msg commit-msg
    
  3. 配置您的IDE

    • Eclipse:打开 Settings-General-Workspace,修改 New text file line delimiterUnix
    • Eclipse:打开 Settings-General-Workspace,修改 Text file encodingUTF-8
    • IDE:打开 Setting-Editor-Code Style,修改 line delimiterUnix and OS X(\n)
    • IDE:打开 Setting-Editor-File encoding,修改所有的 EncodingUTF-8with NO BOM
  4. 必须要安装的IDE插件(Eclipse 和 Intellij IDEA):

    • Alibaba Java Coding Guidelines
    • Lombok plugin

文档

查看master分支的 JavaDoc.

贡献成员

联系我

  1. 邮箱: [email protected]
  2. QQ: 867885140
  3. 博客: Blog OSChina

License

Lodsve Boot 是在 Apache License 的2.0版下发布的。

FOSSA Status

特别鸣谢

Lodsve Boot 是基于 JetBrains IDEA 创建的。

JetBrains logo