maven: multi-module project assembly into single jar

后端 未结 3 2012
傲寒
傲寒 2021-01-02 02:06

I have a multi-module project and want to create a single jar containing the classes of all my modules. Inside my parent POM, I declared the following plugin:



        
3条回答
  •  佛祖请我去吃肉
    2021-01-02 02:34

    The predefined bin won't do the trick here. You'll have to use a custom descriptor similar to the predefined bin descriptor but that declares moduleSet to include your project modules.

提交回复
热议问题