You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AlenaSviridenko
changed the title
[Ubuntu] M2_HOME variable will be removed on February, 15
[Ubuntu, windows] M2_HOME variable will be removed on February, 15
Feb 16, 2021
Breaking changes
M2_HOME variable will be removed from Ubuntu and Windows images on February, 15
Target date
Image deployment will start on February, 15 and will take 3-4 days.
The motivation for the changes
Since Maven 3.5.0, environment variable M2_HOME is not used/supported anymore, but on our images it is set and causes issues: #2534
Possible impact
If you hardcoded this variable somewhere in your pipeline — your build will be broken
Virtual environments affected
Mitigation ways
Set this variable manually with the following command:
echo "M2_HOME=/usr/share/apache-maven-<version>" >> $GITHUB_ENV
The text was updated successfully, but these errors were encountered: