apache / apache/maven

[MNG-7495] Support wildcard in maven-filtering filter

Open
#7,187 0 comments 0 reactions 0 assignees View on GitHub
enhancement priority:minor
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 42m
Merged PRs (30d)
297

Description

**[malcolmshen](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=malcolmshen)** opened **[MNG-7495](https://issues.apache.org/jira/browse/MNG-7495?redirect=false)** and commented

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

```xml

dev

true




env/dev/*.properties

```

But actually, it has to be:

```xml

dev

true



env/dev/1.properties
env/dev/2.properties
env/dev/3.properties

```

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

---

**Issue Links:**
- [MSHARED-995](https://issues.apache.org/jira/browse/MSHARED-995) Documents of patterns used for filtering

Contributor guide

Open the contributing guide

Research direction

Start with the wildcard-filter configuration and expansion examples in this issue, then read the linked MSHARED-995 documentation issue for the filtering pattern rules. Done means a filter such as env/dev/*.properties is supported and covers the variable number of matching property files.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.