maven build-classpath不包括自己的模块

发布于 2025-02-07 02:20:12 字数 430 浏览 1 评论 0原文

如果我有一个Maven模块“ my-module”,则可以在其上运行依赖性:build-classpath,如下所示: https://maven.apache.orgace.org/plugins/ maven依赖性 - plugin/build-classPath-mojo.html

这应该给我一个我需要的所有罐子的列表,以便从my-module运行内容。但是缺少一个罐子:my-module.jar本身!有什么方法可以解决这个问题?

If I have a maven module 'my-module', I can run dependency:build-classpath on it, as documented here:
https://maven.apache.org/plugins/maven-dependency-plugin/build-classpath-mojo.html

This should give me a list of all jars I need in order to run things from my-module. But there's one jar missing: my-module.jar itself! Any way to fix this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文