如何指定 Maven 插件“jar”的直接路径?
简短版本:
我正在尝试将本地 JAR 引用为 maven-plugin。
这可能吗?如果是这样,我在哪里可以找到相关文档?
长版:
我知道不建议这样做,但这是在我的插件的“集成测试”上下文中完成的。
作为我的插件单元测试的一部分,我想运行完整的“干净测试”(集成测试)循环到示例项目。
此示例项目需要插件的 jar,而不一定是安装在我的本地存储库上的 jar。
Short version:
I am trying to reference a local JAR as a maven-plugin.
Is that possible? if so, where can I find documentation for that?
Long version:
I know this is not recommended but this is done in an "integration test" context for my plugin.
As part of my plugin's unit tests I want to run a full "clean test" (integration test) cycle to a sample project.
This sample project needs the jar of the plugin and not necessarily the one installed on my local repository.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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