apache / apache/maven-war-plugin

[MWAR-415] ${maven.build.timestamp} is not working in filtered webResources

Open
#270 2 comments 0 reactions 0 assignees View on GitHub
bug priority:major
Dominant language
Java
Stars
50
Forks
97
Avg merge
16h 49m
Merged PRs (30d)
3

Description

**[Leonid Rozenblyum](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=leokom)** opened **[MWAR-415](https://issues.apache.org/jira/browse/MWAR-415?redirect=false)** and commented

It may be related to MRESOURCES-99

When a webResource, with filtering enabled contains property ${maven.build.timestamp}, it's not replaced by the timestamp.

The workaround is to remove definitions of webResource and configure the resources on \\ level (and making sure that maven-resource-plugin version is >= 3.0.0)

---

**Affects:** 3.2.0

0 votes, 6 watchers

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with a filtered webResource containing ${maven.build.timestamp}, then compare that behavior with resources configured under . Read the referenced MRESOURCES-99 issue and inspect how the maven-resource-plugin version affects the result. Done means the timestamp is replaced correctly in filtered webResources without requiring the workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
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.