maven - 使用 Maven 程序集插件复制选定的依赖项及其传递依赖项
问题描述
我想使用 Maven 程序集插件复制选定的依赖项(使用包含过滤器)及其传递依赖项。例如(来自程序集描述符的片段):
<dependencySets>
<dependencySet>
<useTransitiveDependencies>true</useTransitiveDependencies>
<unpack>false</unpack>
<includes>
<include>gpid:artifcatid</include>
</includes>
</dependencySet>
</dependencySets>
这只是将一个 jar 复制到目标目录。我希望它也能复制所有的传递依赖。如何实现?我希望我们不应该单独列出所有的罐子。
解决方案
推荐阅读
- php - 如何在php中比较数据库数据
- javascript - 我需要帮助理解这个数学
- python - 无法从 PHP (apache2) 执行 python 脚本
- javascript - 使用 React 构建受保护的路由
- php - Codeigniter 使用 for 循环将数据从一个表传输到另一个表
- flutter - 如何让我的更改通知器触发我的警报对话框?
- javascript - Webrtc 为什么从不调用调用者的ontrack?
- java - 为更改片段创建自定义类
- android - React Native:为什么这个屏幕在snack.expo.io 和我的设备上呈现不同?
- ios - 点击按钮时SwiftUI获取用户的位置