You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Richard Sand (JIRA)" <ji...@apache.org> on 2016/06/29 05:17:45 UTC
[jira] [Updated] (MSHADE-229) Add ability for
ServicesResourceTransformer to rename files
[ 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)