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 <dependencyManagement>
<dependencies>
<dependency>
<groupId>net.dreamlu</groupId>
<artifactId>mica-bom</artifactId>
<version>${mica.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement> GradleSpring 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>Gradleimplementation "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
<dependencies>
<dependency>
<groupId>net.dreamlu</groupId>
<artifactId>mica-bom</artifactId>
<version>${mica.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement> GradleSpring 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>Gradleimplementation "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