开发者

maven-assembly-descriptor include this very module

开发者 https://www.devze.com 2022-12-16 16:21 出处:网络
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 t

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

精彩评论

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

关注公众号