Skip to content

Restore mavenFilteringVersion property in pom.xml - #519

Merged
gnodet merged 1 commit into
apache:maven-resources-plugin-3.xfrom
gnodet:fix/468-restore-maven-filtering-version
Sep 24, 2026
Merged

gnodet merged 1 commit into
apache:maven-resources-plugin-3.xfrom
gnodet:fix/468-restore-maven-filtering-version

Conversation

@gnodet

@gnodet gnodet commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

The property mavenFilteringVersion is referenced in src/site/markdown/usage.md.vm but
was removed from pom.xml in commit 38534e3 ("Cleanup deps"), which inlined the
maven-filtering version as a literal string. This caused ${mavenFilteringVersion} to
appear unresolved on the published usage page at
https://maven.apache.org/plugins/maven-resources-plugin/usage.html.

Root Cause: Commit 38534e3 replaced <version>${mavenFilteringVersion}</version> with
a hardcoded <version>3.5.1</version> and removed the <mavenFilteringVersion> property,
not realising it was also consumed by the site documentation.

Fix: Restore <mavenFilteringVersion>3.5.1</mavenFilteringVersion> in the <properties>
block (with a comment explaining it must not be removed) and change the dependency back to
reference it via the property. Same approach as apache/maven-remote-resources-plugin#8.

Fixes #468


Generated with Hermes Agent
Co-authored-by: Claude Sonnet 4.6 noreply@anthropic.com

The property `mavenFilteringVersion` is referenced in usage.md.vm but
was accidentally removed in 38534e3 (Cleanup deps), which inlined the
version as a hardcoded string without noticing the site documentation
dependency. This caused ${mavenFilteringVersion} to appear unresolved
on the published usage page.

Restore the property with a comment explaining it must not be removed,
and change the dependency back to reference it via the property.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@gnodet
gnodet marked this pull request as ready for review September 24, 2026 10:04
@gnodet
gnodet merged commit e1b5333 into apache:maven-resources-plugin-3.x Sep 24, 2026
20 checks passed
@github-actions github-actions Bot added this to the 3.5.1 milestone Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant