mica 介绍
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
Gradle
Spring boot 环境中可以开启 apply plugin: io.spring.dependency-management 插件。
dependencyManagement { imports { mavenBom net.dreamlu:mica-bom:${micaVersion} } } |
组件坐标
<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>
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
文档
协议
LGPL v3
允许以引入不改源码的形式免费用于学习、毕设、公司项目、私活等。
参考请注明:参考自 mica:https://gitee.com/596392912/mica
mica 官网
https://gitee.com/596392912/mica
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。