[ 
https://issues.apache.org/jira/browse/MASSEMBLY-815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brian Topping updated MASSEMBLY-815:
------------------------------------
    Description: 
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>

        <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}

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


> 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
>
> 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>
>         <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
(v6.3.4#6332)

Reply via email to