maven build-classpath不包括自己的模块
如果我有一个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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论