Maven: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 3: | Line 3: | ||
apt-get update | apt-get update | ||
apt-get install maven | apt-get install maven | ||
==Set Environment== | |||
In ~/.bashrc add | |||
export M2_HOME=/usr/share/maven export M2=$M2_HOME/bin | |||
export MAVEN_OPTS=-Xms256m -Xmx512m | |||
You can either log out or run the script with | |||
. ./bashrc |
Revision as of 21:03, 12 May 2020
Installation of ubuntu 20.04
Surprise nothing special
apt-get update apt-get install maven
Set Environment
In ~/.bashrc add
export M2_HOME=/usr/share/maven export M2=$M2_HOME/bin export MAVEN_OPTS=-Xms256m -Xmx512m
You can either log out or run the script with
. ./bashrc