INRIA / INRIA/spoon

No need of using `M2_HOME` environment variable as fallback to find path to maven executable in Windows

Open
#4,288 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2k
Forks
392
Avg merge
11h 24m
Merged PRs (30d)
36

Description

We no longer need to get the path to maven executable [via `M2_HOME`](https://github.com/INRIA/spoon/blob/master/src/main/java/spoon/MavenLauncher.java#L93) because its usage has been deprecated with [newer Windows releases](https://github.com/actions/virtual-environments/issues/4485#issuecomment-967145878).

EDIT:
Support for `M2_HOME` was deprecated in Maven 3.5.0. See [5th point in the overview about the changes](https://maven.apache.org/docs/3.5.0/release-notes.html#overview-about-the-changes).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.