You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/06/11 13:45:00 UTC
[jira] [Moved] (MNG-7495) Support wildcard in maven-filtering filter
[ https://issues.apache.org/jira/browse/MNG-7495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov moved MSHARED-576 to MNG-7495:
---------------------------------------------
Component/s: (was: maven-filtering)
Key: MNG-7495 (was: MSHARED-576)
Affects Version/s: (was: maven-archiver-3.1.1)
Project: Maven (was: Maven Shared Components)
> Support wildcard in maven-filtering filter
> ------------------------------------------
>
> Key: MNG-7495
> URL: https://issues.apache.org/jira/browse/MNG-7495
> Project: Maven
> Issue Type: Improvement
> 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.20.7#820007)