apache / apache/maven-resources-plugin

Filtering changed behaviour from 3.3.1

Open
#471 11 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
61
Forks
36
Avg merge
1d 1h
Merged PRs (30d)
3

Description

### Affected version

3.4.0 and 3.5.0

### Bug description

The following code works for us in 3.3.1 when use filter on a single file in our setup. When upgrading to 3.4.0 and 3.5.0 the following code has stopped working and no filtering is taking place in our file `db/changelog/db.changelog-client-secret.xml`

```


true
src/main/resources

db/changelog/db.changelog-client-secret.xml



false
src/main/resources

**



```

The file that is being filtered looks like this:
```


```

With 3.3.1 the values are replaced with the correct env variables and in the newer versions it is being unchanged.

This could also be incorrect configuration that we have that has happened to have been working in previous versions and might be a variation of this bug: https://github.com/apache/maven-resources-plugin/issues/453 and submitting it as a new bug in case it is a user failure where we should have configured it differently.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.