You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2019/12/22 13:34:00 UTC
[jira] [Updated] (MASSEMBLY-815) file-aggregator
containerDescriptorHandler element requires metaInf-services to precede it
[ https://issues.apache.org/jira/browse/MASSEMBLY-815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elliotte Rusty Harold updated MASSEMBLY-815:
--------------------------------------------
Priority: Minor (was: Major)
> file-aggregator containerDescriptorHandler element requires metaInf-services to precede it
> ------------------------------------------------------------------------------------------
>
> Key: MASSEMBLY-815
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-815
> Project: Maven Assembly Plugin
> Issue Type: Bug
> Components: component descriptor
> Affects Versions: 2.6
> Environment: OS-X 10.11.5
> Reporter: Brian Topping
> Priority: Minor
>
> When using a {{containerDescriptorHandler}} of type {{file-aggregator}}, the files are not aggregated unless a {{containerDescriptorHandler}} of type {{metaInf-services}} comes first:
> {code:xml}
> <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>
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)