mica - 微服务核心


LGPL
跨平台
Java

软件简介

mica 云母 —— 微服务核心

mica 云母,寓意为云服务的核心,使得云服务开发更加方便快捷。mica 的前身是 lutool,lutool
在内部孵化了小两年,已经被多个朋友运用到企业。由于 lutool 对微服务不够友好,故重塑了mica。

mica 核心依赖

mica 基于 java 8,没有历史包袱。仅依赖 Spring 全家桶,无第三方依赖。

依赖 版本
Spring Boot 2.1.x
Spring Cloud Greenwich.RELEASE

mica 组件集

mica 中的部分大部分组件进行了持续性打磨,增强易用性和性能。

使用 mica-bom

提示

mica-bom,可以简化依赖和依赖版本统一处理,避免jar冲突。

Maven

net.dreamlu mica-bom ${mica.version} pom import

Gradle

Spring boot 环境中可以开启 apply plugin: "io.spring.dependency-management" 插件。

dependencyManagement { imports { mavenBom "net.dreamlu:mica-bom:${micaVersion}" } }

组件坐标

Maven

<dependency>
    <groupId>net.dreamlu</groupId>
    <artifactId>mica-core</artifactId>
</dependency>
<dependency>
    <groupId>net.dreamlu</groupId>
    <artifactId>mica-launcher</artifactId>
</dependency>
<dependency>
    <groupId>net.dreamlu</groupId>
    <artifactId>mica-boot</artifactId>
</dependency>
<dependency>
    <groupId>net.dreamlu</groupId>
    <artifactId>mica-boot-test</artifactId>
</dependency>
<dependency>
    <groupId>net.dreamlu</groupId>
    <artifactId>mica-log4j2</artifactId>
</dependency>
<dependency>
    <groupId>net.dreamlu</groupId>
    <artifactId>mica-captcha</artifactId>
</dependency>

Gradle

implementation "net.dreamlu:mica-core"
implementation "net.dreamlu:mica-launcher"
implementation "net.dreamlu:mica-boot"
implementation "net.dreamlu:mica-boot-test"
implementation "net.dreamlu:mica-log4j2"
implementation "net.dreamlu:mica-captcha"

文档

https://www.dreamlu.net/docs/

协议

LGPL v3

允许以引入不改源码的形式免费用于学习、毕设、公司项目、私活等。

特殊情况修改代码,但仍然想闭源需经过作者同意。

参考请注明:参考自 mica:https://gitee.com/596392912/mica