Skip to content

fix(maven): skip dependencies using ${project.version} instead of failing#96

Merged
kbsteere merged 1 commit into
mainfrom
omnibump-project-version-skip
Jun 3, 2026
Merged

fix(maven): skip dependencies using ${project.version} instead of failing#96
kbsteere merged 1 commit into
mainfrom
omnibump-project-version-skip

Conversation

@dnegreira
Copy link
Copy Markdown
Contributor

What

When a dependency version references ${project.version}, omnibump was failing with an error because it could not locate where the property is set in any <properties> block or parent POM chain.

Why

${project.version} is a Maven built-in that refers to the project's own <version> tag, not a configurable <properties> entry. Omnibump cannot bump it this way, so rather than failing with an error, we now log an informational message and continue processing the remaining dependencies.

Closes https://linear.app/chainguard/issue/AUTO-655/

…iling

When a dependency version references \${project.version}, omnibump was failing
with an error because it could not locate where the property is set. \${project.version}
is a Maven built-in that refers to the project's own <version> tag, not a
configurable property, so the dependency cannot be bumped this way. Instead of
erroring, log an informational message and continue.

Closes https://linear.app/chainguard/issue/AUTO-655/
@kbsteere kbsteere merged commit 47e3ca2 into main Jun 3, 2026
8 checks passed
@kbsteere kbsteere deleted the omnibump-project-version-skip branch June 3, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants