SyntaxFix
Write A Post
Hire A Developer
Questions
$M2_HOMEis used sometimes, for example, to install Takari Extensions for Apache Maven
$M2_HOME
Takari Extensions for Apache Maven
One way to find $M2_HOME value is to search for mvn:
mvn
sudo find / -name "mvn" 2>/dev/null
And, probably it will be: /opt/maven/
/opt/maven/