You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2019/12/20 14:37:00 UTC
[jira] [Updated] (MSHARED-576) Support wildcard in maven-filtering
filter
[ https://issues.apache.org/jira/browse/MSHARED-576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elliotte Rusty Harold updated MSHARED-576:
------------------------------------------
Priority: Minor (was: Major)
> Support wildcard in maven-filtering filter
> ------------------------------------------
>
> Key: MSHARED-576
> URL: https://issues.apache.org/jira/browse/MSHARED-576
> Project: Maven Shared Components
> Issue Type: Improvement
> Components: maven-filtering
> Affects Versions: maven-archiver-3.1.1
> Reporter: malcolmshen
> Priority: Minor
>
> Wildcard is not supported, the expected configuration is like this:
> {code:xml}
> <profile>
> <id>dev</id>
> <activation>
> <activeByDefault>true</activeByDefault>
> </activation>
> <build>
> <filters>
> <!-- wildcard is not supported here -->
> <filter>env/dev/*.properties</filter>
> </filters>
> </build>
> </profile>
> {code}
> But actually, it has to be:
> {code:xml}
> <profile>
> <id>dev</id>
> <activation>
> <activeByDefault>true</activeByDefault>
> </activation>
> <build>
> <filters>
> <filter>env/dev/1.properties</filter>
> <filter>env/dev/2.properties</filter>
> <filter>env/dev/3.properties</filter>
> </filters>
> </build>
> </profile>
> {code}
> In my case, the number of properties file might increase. Please make this enhancement, thanks.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)