You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "malcolmshen (JIRA)" <ji...@apache.org> on 2016/08/10 08:28:20 UTC

[jira] [Created] (MSHARED-576) Support wildcard in maven-filtering filter

malcolmshen created MSHARED-576:
-----------------------------------

             Summary: 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


Wildcard is not supported 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}

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
(v6.3.4#6332)