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

Provide project-relative maven installation #1372

Open
tivervac opened this issue May 11, 2023 Discussed in #1335 · 1 comment · May be fixed by #1454
Open

Provide project-relative maven installation #1372

tivervac opened this issue May 11, 2023 Discussed in #1335 · 1 comment · May be fixed by #1454
Labels
usability Improvements that can give a better usability or user experience

Comments

@tivervac
Copy link
Contributor

As discussed (see below and here), it would be useful to be able to configure the default maven installation to run maven launch configs. This would simplify team management and facilitate reproducible dev environments and reproducible builds over Tycho and Eclipse through m2e.

This can be done by

  • allowing Eclipse variables (such as $WORKSPACE_LOC and $PROJECT_LOC) to configure the m2e maven installations
  • allowing to set a default maven installation for running maven launch configs

In the end, the solution I see is to be able to use the project-locally-installed mvnw. Any other alternative to the above that achieves the same result is greatly appreciated.

Discussed in #1335

Originally posted by tivervac March 27, 2023
When I explore my installations, I see that it mentions I have no WORKSPACE installation available

image

This entry is not editable. If I try to add a new installation, I'm only given the option for External installations, which doesn't seem to allow relative path or the external tool variables.

image

How can I add a workspace maven installation? Is it supposed to be provided by a plugin?

@tivervac tivervac changed the title How to add WORKSPACE Maven Installation Provide project-relative maven installation May 11, 2023
@tivervac
Copy link
Contributor Author

Created an actual feature proposal such that it can potentially be picked up in the Eclipse IDE WG's Prioritized Dev Effort #4. For this ticket to be accepted under that issue, please assign the usability label.

\cc @jonahgraham

@laeubi laeubi added the usability Improvements that can give a better usability or user experience label May 11, 2023
laeubi added a commit to laeubi/m2e-core that referenced this issue Jun 26, 2023
Currently maven installations only support a fixed path but for certain
setups it would be desirable to use a variable.

This adds support for specify a variable in the path for an external
installation.

Fix eclipse-m2e#1372
laeubi added a commit to laeubi/m2e-core that referenced this issue Jun 26, 2023
Currently maven installations only support a fixed path but for certain
setups it would be desirable to use a variable.

This adds support for specify a variable in the path for an external
installation.

Fix eclipse-m2e#1372
@laeubi laeubi linked a pull request Jun 26, 2023 that will close this issue
laeubi added a commit to laeubi/m2e-core that referenced this issue Jun 26, 2023
Currently maven installations only support a fixed path but for certain
setups it would be desirable to use a variable.

This adds support for specify a variable in the path for an external
installation.

Fix eclipse-m2e#1372
laeubi added a commit to laeubi/m2e-core that referenced this issue Jun 27, 2023
Currently maven installations only support a fixed path but for certain
setups it would be desirable to use a variable.

This adds support for specify a variable in the path for an external
installation.

Fix eclipse-m2e#1372
laeubi added a commit to laeubi/m2e-core that referenced this issue Jul 7, 2023
Currently maven installations only support a fixed path but for certain
setups it would be desirable to use a variable.

This adds support for specify a variable in the path for an external
installation.

Fix eclipse-m2e#1372
laeubi added a commit to laeubi/m2e-core that referenced this issue Aug 15, 2023
Currently maven installations only support a fixed path but for certain
setups it would be desirable to use a variable.

This adds support for specify a variable in the path for an external
installation.

Fix eclipse-m2e#1372
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usability Improvements that can give a better usability or user experience
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants