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

Elliotte Rusty Harold updated MASSEMBLY-812:
--------------------------------------------
    Priority: Minor  (was: Major)

> containerDescriptorHandler metaInf-services breaks services in sub-folders of 
> META-INF/services
> -----------------------------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-812
>                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-812
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>          Components: component descriptor
>            Reporter: Aaron Digulla
>            Priority: Minor
>
> ActiveMQ has an odd structure to define Java services. Instead of putting 
> them into {{META-INF/services/}}_<classname>_, they put them into sub-folders:
> {code}
>      1008  2016-04-28 12:30   
> META-INF/services/org/apache/activemq/wireformat/default
>      1013  2016-04-28 12:30   
> META-INF/services/org/apache/activemq/transport/mock
>      1011  2016-04-28 12:30   
> META-INF/services/org/apache/activemq/transport/ssl
>      1011  2016-04-28 12:30   
> META-INF/services/org/apache/activemq/transport/nio+ssl
>      1011  2016-04-28 12:30   
> META-INF/services/org/apache/activemq/transport/udp
>      1023  2016-04-28 12:30   
> META-INF/services/org/apache/activemq/transport/multicast
>      1011  2016-04-28 12:30   
> META-INF/services/org/apache/activemq/transport/tcp
> {code}
> After merging services with the metaInf-services, the folder looks like so:
> {code}
>      1008  2016-04-28 12:30   META-INF/services/default
>      1013  2016-04-28 12:30   META-INF/services/mock
>      1011  2016-04-28 12:30   META-INF/services/ssl
>      1011  2016-04-28 12:30   META-INF/services/nio+ssl
>      1011  2016-04-28 12:30   META-INF/services/udp
>      1023  2016-04-28 12:30   META-INF/services/multicast
>      1011  2016-04-28 12:30   META-INF/services/tcp
> {code}
> which renders the JAR useless.
> You can test with this JAR: 
> http://search.maven.org/#artifactdetails%7Corg.apache.activemq%7Cactivemq-client%7C5.13.3%7Cjar



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to