apache / apache/maven

[MNG-6436] Cannot filter ${project.baseUri} in resources

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

Description

**[Michael Osipov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=michael-o)** opened **[MNG-6436](https://issues.apache.org/jira/browse/MNG-6436?redirect=false)** and commented

This has been reported in https://www.mail-archive.com/dev@velocity.apache.org/msg07854.html.

Consider you have a policy file in `src/test/resources` which you want to pass to the VM with Cargo and Jetty. The security manager accepts only URIs, but `${project.baseUri}` is only interpolated within the POM. This should be available to Maven Filtering too.

---

**Affects:** 3.5.4

0 votes, 5 watchers

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.