Lodsve develop kits base on Spring-Boot and some opensource components!
_ _ ______ _
| | | | | ___ \ | |
| | ___ __| |_____ _____ | |_/ / ___ ___ | |_
| | / _ \ / _` / __\ \ / / _ \ | ___ \/ _ \ / _ \| __|
| |___| (_) | (_| \__ \\ V / __/ | |_/ / (_) | (_) | |_
\_____/\___/ \__,_|___/ \_/ \___| \____/ \___/ \___/ \__|
-
Lodsve develop kits base on Spring-Boot and some opensource components!
-
It consists of the following modules:
See capability
-
Note: Due to the optimized way of retrieving the version number, after importing into IntelliJ IDEA for the first time or executing the
mvn cleancommand, it is necessary to run the following command in the root directory:# 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
-
release version
<parent> <groupId>com.lodsve.boot</groupId> <artifactId>lodsve-boot-dependencies</artifactId> <version>x.x.x</version> </parent> -
You can refer to the Component Introduction for the usage of some plugins.
-
If you just to try new feature, please try the pre-release version. If you have any questions, please contact me in the 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>
-
I will automatically publish a snapshot version every week through Github Action!
Artifact version number like
x.x.x-YYYYMMDD-SNAPSHOT. -
Release a release version from time to time.
Artifact version number like
x.x.x.
git clone git@github.com:lodsve/lodsve-boot.git
Run command mvn idea:idea or mvn eclipse:eclipse in the root folder.
Note: Per the prerequisites above, ensure that you have JDK 17 and Maven 3.3.X configured properly in your IDE.
-
Config your 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 -
For a more standard git commit message
# 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 -
Config your IDE
- Eclipse: Open Settings-General-Workspace, modify
New text file line delimiterasUnix - Eclipse: Open Settings-General-Workspace, modify
Text file encodingasUTF-8 - IDE: Open Setting-Editor-Code Style, modify
line delimiterasUnix and OS X(\n) - IDE: Open Setting-Editor-File encoding, modify all
EncodingasUTF-8andwith NO BOM
- Eclipse: Open Settings-General-Workspace, modify
-
Required IDE Plugins(Both Eclipse and Intellij IDEA):
- Alibaba Java Coding Guidelines
See the master branch JavaDoc.
- Email: sunhao.java@gmail.com
- QQ: 867885140
- Blog: Blog OSChina
The Lodsve Boot is released under version 2.0 of the Apache License.
The Lodsve Boot was created using awesome JetBrains IDEA.