Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MNG-8211] Fail the build if project effective version has expression #1673

Merged
merged 3 commits into from
Aug 22, 2024

Conversation

cstamas
Copy link
Member

@cstamas cstamas commented Aug 22, 2024

As this is almost always source of confusion. If feature is used and there is no proper value set, fail the build, as users for sure does not plan to deploy artifacts with version ${revision} (or any expression in project.version).

Still, to not be disruptive, the old behaviour can be achieved by setting maven.build.allowExpressionInEffectiveProjectVersion=true project property.


https://issues.apache.org/jira/browse/MNG-8211

@cstamas cstamas requested a review from gnodet August 22, 2024 09:21
@cstamas cstamas self-assigned this Aug 22, 2024
@cstamas cstamas added this to the 4.0.0-beta-4 milestone Aug 22, 2024
@cstamas cstamas merged commit 6668da3 into apache:master Aug 22, 2024
13 checks passed
@cstamas cstamas deleted the MNG-8211 branch August 22, 2024 10:54
This pull request was closed.
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