Skip to content

๐Ÿ› ๏ธ Lg5 Spring to create ฮผ-services, simply faster

lg-labs License

๐Ÿ‘‹ Manage all Spring Boot dependencies to create new applications using this library. It's just faster.

From Lg Pentagon or lg5! Get Lg5-Spring to develop ฮผ-services faster.

For more information, check this pages https://lufgarciaqu.medium.com.


Hex Arch, DDD,SAGA, Outbox&Kafka

Use Spring Boot 3.3.X, JDK 21

๐Ÿš€ Using Lg5 Spring

Code Repository and an example of use with blank-service๏ธ.

Install 1/2: Add this to pom.xml:

pom.xml
1
2
3
4
5
<parent>
  <groupId>com.lg5.spring</groupId>
  <artifactId>lg5-spring-parent</artifactId>
  <version>1.0.0-alpha.[check lts version]</version>
</parent>   
Note: Please check the latest version

Install 2/2: Install the dependencies in your project.

Terminal
mvn install

๐Ÿ— The template (blank-service)๏ธ

Also, Repo with Real Example using Lg5Spring, and Repo blank-service๏ธ.

Important Modules

โš ๏ธ Important

  • If you change something into some submodule, you must verify and sync the lg5-spring-parent

  • If you create a submodule, you must verify and sync the lg5-spring-parent

๐Ÿš€ Run locally

You can ...

Using makefile

Start with

๐Ÿ˜€ To start the build for all dependencies.

make all-build

Publish Maven Local

๐Ÿ˜€ To start publishing in maven local.

make publish-local

So, you must check the folder .m2.

The Version Catalog with TOML file

The TOML file consists of 4 major sections:

the [versions] section is used to declare versions which can be referenced by dependencies

the [libraries] section is used to declare the aliases to coordinates

the [bundles] section is used to declare dependency bundles

the [plugins] section is used to declare plugins

โš–๏ธ License

The MIT License (MIT). Please see License for more information.