maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MSHADE-232) Introduce ResourceBundleAppendingTransformer
Date Wed, 18 Jan 2017 14:24:26 GMT

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

Robert Scholte updated MSHADE-232:
----------------------------------
    Summary: Introduce ResourceBundleAppendingTransformer  (was: AppendingTransformer should
support wildcard resources)

> Introduce ResourceBundleAppendingTransformer
> --------------------------------------------
>
>                 Key: MSHADE-232
>                 URL: https://issues.apache.org/jira/browse/MSHADE-232
>             Project: Maven Shade Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.4.3
>            Reporter: dennis lucero
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> {{AppendingTransformer}} should support wildcards in {{resource}} elements.
> Currently it is necessary to add
> {code}<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
>     <resource>ValidationMessages.properties</resource>
> </transformer>
> <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
>     <resource>ValidationMessages_en.properties</resource>
> </transformer>
> <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
>     <resource>ValidationMessages_de.properties</resource>
> </transformer>{code}
> and so on to join messages from different dependencies.
> In this case it should be sufficient to specify a single {{AppendingTransformer}} having
> {code}<resource>ValidationMessages*.properties</resource>{code}
> but that should not match {{ValidationMessagesFoo/Bar.properties}} (maybe {{<resource>ValidationMessages**.properties</resource>}}
would).
> Alternatively a way to specify regular expressions would also work.



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

Mime
View raw message