当前位置:网站首页>On the problem of dependency invalidation when the dependency in the basic module is inherited by the sub module in the microservice
On the problem of dependency invalidation when the dependency in the basic module is inherited by the sub module in the microservice
2022-07-19 09:43:00 【Password (Live)】
common Modules have the following dependencies
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<!-- One Java tool kit -->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>5.1.0</version>
</dependency>
</dependencies>
The dependencies of sub modules are as follows :
In this case, if our sub module introduces common Modules can only be seen hutool This depends on !
Here's why :
When other projects inherit this project , If dependences We added <optional>true</optional>, Indicates that the current dependency is not passed down .
Delete common Modular optional
Back to normal !
边栏推荐
- R语言data.table导入数据实战:data.table使用dcast.data.table函数实现透视表(pivot table)
- 如何在监控主机上单独部署agent——WGCLOUD
- 2022-07-16:以下go语言代码输出什么?A:[];B:[5];C:[5 0 0 0 0];D:[0 0 0 0 0]。 package main imp
- 代码庆端午--粽你心意
- C language compilation process
- [C language] data type and meaning
- 易贝按关键字搜索EBAY商品 API 返回值说明
- node+express搭建服务器环境
- idea卡顿且报错:UI was frozen for xxxxx ms问题解决
- Could NOT find CUDA (missing: CUDA_INCLUDE_DIRS) (found suitable exact version “11.4“)
猜你喜欢
Add - before the command in makefile to ignore the error caused by the command and continue to execute the next command
MySQL user management
rhcsa 第二天 7.15
C语言基础篇 —— 2-3 指针与数组
Classificateur knn
第4章-一阶多智体系统一致性 -> 切换拓扑系统一致性
[C language] void type and void* pointer type
第一部分—C语言基础篇_3. 运算符与表达式
Chapter IX deque of STL
研究发现DNA纳米设备注射液可安全用于医疗用途
随机推荐
记忆 lda LDA in blas level-3 SGEMM cublasGemmex cubulasSgemm
Detailed explanation of the different usage of PIP and PIP3
What is the product power of lantu dreamer?
Why is SaaS so important for enterprise digital transformation?
es索引、类型(mapping)、文档、ik分词器
【C语言】数组知识点总结
Google play app store may delete the overview of APP permissions and use a new combination of data security information
第八章 STL 之 vector
Chapter IX deque of STL
v-mode
565. 数组嵌套
Have you learned the database design pattern of multi tenant SaaS?
第4章-一阶多智体系统一致性 -> 切换拓扑系统一致性【程序代码】
Pyodide 中实现网络请求的 3 种方法
C语言力扣第25题之k个一组反转链表。多指针遍历
Chapter 4 - first order multi-agent system consistency - > continuous time system consistency with time delay [program code]
how to use culasLt
第4章-一阶多智体系统一致性 -> 领航跟随系统一致性
Part I - Fundamentals of C language_ 6. Function
实用工具系列 - Xshell安装下载与使用