开发者

maven-assembly-descriptor include this very module

In a single-module project, I don't see how to get a 'classified' artifac开发者_开发知识库t from the project itself into the descriptor and thus the assembly. Do I list it as a dependency?


Did you try the Build Helper Maven Plugin (I'm thinking to build-helper:attach-artifact)? See Attach additional artifacts to your project in the plugin Usage page.

If it doesn't work, then indeed declare your 'classified' artifact as dependency using one of the advanced identity pattern.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜