[ https://issues.apache.org/jira/browse/MSHADE-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte updated MSHADE-232: ---------------------------------- Fix Version/s: (was: 2.4.4) 3.0.0 > AppendingTransformer should support wildcard resources > ------------------------------------------------------ > > 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)