maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Sand (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MSHADE-229) Add ability for ServicesResourceTransformer to rename files
Date Wed, 29 Jun 2016 05:17:45 GMT

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

Richard Sand updated MSHADE-229:
--------------------------------
    Description: 
The ServicesResoureTransformer can transform the contents of files in META-INF/services -
however, often the names of these files also follow the package hierarchy. Simple example
is commons-logging, where it creates a service META-INF/services/org.apache.commons.logging.LogFactory
containing the full name of the default LogFactory class. So in addition to transforming the
file contents, we want to transform the file names as well.

Sometimes this is a requirement to create a working shaded jar. For example, if you are using
Jersey, or 

> Add ability for ServicesResourceTransformer to rename files
> -----------------------------------------------------------
>
>                 Key: MSHADE-229
>                 URL: https://issues.apache.org/jira/browse/MSHADE-229
>             Project: Maven Shade Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.4.3
>            Reporter: Richard Sand
>
> The ServicesResoureTransformer can transform the contents of files in META-INF/services
- however, often the names of these files also follow the package hierarchy. Simple example
is commons-logging, where it creates a service META-INF/services/org.apache.commons.logging.LogFactory
containing the full name of the default LogFactory class. So in addition to transforming the
file contents, we want to transform the file names as well.
> Sometimes this is a requirement to create a working shaded jar. For example, if you are
using Jersey, or 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message