maven-assembly-plugin icon indicating copy to clipboard operation
maven-assembly-plugin copied to clipboard

[MASSEMBLY-815] file-aggregator containerDescriptorHandler element requires metaInf-services to precede it

Open jira-importer opened this issue 9 years ago • 1 comments

Brian Topping opened MASSEMBLY-815 and commented

When using a containerDescriptorHandler of type file-aggregator, the files are not aggregated unless a containerDescriptorHandler of type metaInf-services comes first:

<assembly>
   ...
    <containerDescriptorHandlers>
        <!-- remove this element and the following file-aggregator generates an empty file -->
        <containerDescriptorHandler>
            <handlerName>metaInf-services</handlerName>
        </containerDescriptorHandler>

        <containerDescriptorHandler>
            <handlerName>file-aggregator</handlerName>
            <configuration>
                <filePattern>reference.conf</filePattern>
                <outputPath>reference.conf</outputPath>
            </configuration>
        </containerDescriptorHandler>
    </containerDescriptorHandlers>
</assembly>

Affects: 2.6

1 votes, 2 watchers

jira-importer avatar Jun 09 '16 03:06 jira-importer