Maven: Difference between revisions

From bibbleWiki
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:


You can either log out or run the script with
You can either log out or run the script with
  . ./bashrc
  . ~/bashrc

Revision as of 21:04, 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