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

Maven CI Friendly Versions not working #547

Open
eliasbalasis opened this issue Jan 22, 2024 · 1 comment
Open

Maven CI Friendly Versions not working #547

eliasbalasis opened this issue Jan 22, 2024 · 1 comment

Comments

@eliasbalasis
Copy link

In Eclipse IDE 2023-12,
use of Maven CI Friendly Versions is producing Maven errors.

https://github.com/eliasbalasis/eclipse-lemminx-maven-issue-345-root
https://github.com/eliasbalasis/eclipse-lemminx-maven-issue-345-tools
https://github.com/eliasbalasis/eclipse-lemminx-maven-issue-345-project
https://github.com/eliasbalasis/eclipse-lemminx-maven-issue-345-impl

Import these into an Eclipse workspace in the order mentioned,
then convert step by step to "Maven CI Friendly" form.

Start with root and tools projects,
introducing <revision> and assigning it as version of all modules in each project.

At this point you should start receiving Maven errors

Finally on root project assign ${revision} to <version.root> which will produce additional Maven errors.

@cstamas
Copy link

cstamas commented Aug 21, 2024

Sadly, current CI Friendly version is suboptimally done in Maven.
Related changes and extras:
apache/maven#1656
https://github.com/maveniverse/nisse

Nisse is an extension that redos CI Friendly version by allowing ANY expression in project.version as long the expression can be evaluated (is not limited to those 3 only).

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

No branches or pull requests

2 participants