Skip to content

Add test to verify camel-latest-version property in pom.xml is aligned to recipes#103

Merged
JiriOndrusek merged 1 commit into
apache:mainfrom
JiriOndrusek:issue-97-camel-latest-version-test
May 13, 2026
Merged

Add test to verify camel-latest-version property in pom.xml is aligned to recipes#103
JiriOndrusek merged 1 commit into
apache:mainfrom
JiriOndrusek:issue-97-camel-latest-version-test

Conversation

@JiriOndrusek
Copy link
Copy Markdown
Contributor

fixes #97

Add automated test to verify camel-latest-version property

Adds LatestCamelVersionTest to automatically verify that the camel-latest-version property in pom.xml
matches the highest version recipe file (e.g., 4.20.0 ↔ 4.20.yaml).

The test fails during CI if a new version recipe is added without updating the property, preventing the
issue where users migrating to "latest" would get an outdated version.

Because of the similarity with the LatestRecipeTest from the b36b25e. The commoncode was moved into RecipeVersion helper class.

@JiriOndrusek JiriOndrusek requested a review from Croway May 12, 2026 12:43
@JiriOndrusek JiriOndrusek merged commit 5812577 into apache:main May 13, 2026
2 checks passed
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.

Investigate how to make sure that "latest-camel-version" from pom.xml is kept actual

2 participants