maven - 在多线程中构建 Maven 项目时发出警告
问题描述
我正在尝试使用命令在并行多线程中构建我的 Maven 项目
mvn -T 1C install
但我得到了警告,并且线程在单线程中构建。我已经检查了这个插件的文档,但我没有得到任何帮助
[WARNING] *****************************************************************
[WARNING] * Your build is requesting parallel execution, but project *
[WARNING] * contains the following plugin(s) that have goals not marked *
[WARNING] * as @threadSafe to support parallel building. *
[WARNING] * While this /may/ work fine, please look for plugin updates *
[WARNING] * and/or request plugins be made thread-safe. *
[WARNING] * If reporting an issue, report it against the plugin in *
[WARNING] * question, not against maven-core *
[WARNING] *****************************************************************
[WARNING] The following plugins are not marked @threadSafe in Abs Microservice Analytics:
[WARNING] org.springframework.cloud:spring-cloud-contract-maven-plugin:1.2.4.RELEASE
[WARNING] Enable debug to see more precisely which goals are not marked @threadSafe.
[WARNING] *****************************************************************
解决方案
推荐阅读
- android - Android上的邮槽接口
- python - 使用 BeautifulSoup 和 Requests 提取数据
- python - 您可以使用 protobuf 将 iframe 标签序列化为二进制数据吗?
- python - 如何使用python在谷歌搜索结果中打开一个网站?
- git - 多个目录中的相同单词文件,多个用户没有管理员权限
- r - 计算连续失败及其开始和结束日期
- android - 如何在不使用 Intent 的情况下将事件添加到 Android 设备上的日历
- spring-webflux - 如何使用 Reactor (Spring WebClient) 模拟 for 循环
- sql - 使用 TSQL 在 SQL Server 中使用单引号和逗号将短语拆分为单词
- python - 无论如何我们只能从图像轴中提取文本吗?