maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Topping (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MASSEMBLY-815) file-aggregator containerDescriptorHandler element requires metaInf-services to precede it
Date Thu, 09 Jun 2016 03:04:21 GMT

     [ 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)

Mime
View raw message