Eclipse中引入maven模块jar包显示成without test code解决方法

maven项目一个模块可以引入另一个模块,如下:

A模块引入microservicecloud-api模块

 但是在A模块的依赖中microservicecloud-api本该显示为 jar 包,但是实际显示的是文件夹,后面是without test code,这就导致A模块编译不通过。

 解决方法:直接关闭被依赖的模块microservicecloud-api,目前没发现最好的解决办法。。。

posted @ 2020-03-18 19:05  雷雨客  阅读(1831)  评论(0编辑  收藏  举报