How can I merge resource files in a Maven assembly?

前端 未结 5 990
闹比i
闹比i 2020-12-06 10:09

I\'m using Maven and its assembly plugin to build a distribution package of my project like this:

  • one project assembles a basic runtime (based on Felix), with
5条回答
  •  醉话见心
    2020-12-06 10:53

    Old question but stumbled over it while trying to solve similar problem: Assembly plugin 2.2 has capabilities to merge files: http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_containerDescriptorHandler e.g. handlerName "metaInf-services" (will concat all META-INF/services files), "metaInf-spring" are the only ones I know of (I personally needed metaInf-services)

提交回复
热议问题