Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-576

Support wildcard in maven-filtering filter

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: maven-archiver-3.1.1
    • Fix Version/s: None
    • Component/s: maven-filtering
    • Labels:
      None

      Description

      Wildcard is not supported, the expected configuration is like this:

       <profile>
                  <id>dev</id>
                  <activation>
                      <activeByDefault>true</activeByDefault>
                  </activation>
                  <build>
                      <filters>
                          <!-- wildcard is not supported here -->
                          <filter>env/dev/*.properties</filter>
                      </filters>
                  </build>
      </profile>
      

      But actually, it has to be:

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

      In my case, the number of properties file might increase. Please make this enhancement, thanks.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              malcolmshen malcolmshen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: