what should I set to MAVEN_HOME

Alan Pope alan at popey.com
Mon Oct 25 09:32:07 UTC 2010

On 25 October 2010 10:20, Tapas Mishra <mightydreams at gmail.com> wrote:
> I installed maven by doing aptitude install maven2
> but as given on this page
> http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Source+Install+(2.7)
> on section 4.1 Set Maven environment variables
> I am not clear as what should I set MAVEN_HOME to when I installed
> maven2 via apt-get.

dpkg -L maven2

The above command will tell you where maven is installed.
Alternatively look it up online at packages.ubuntu.com and click
through to see the files installed:-


Looks like the binary goes in /usr/share/maven2/bin

So I'd set MAVEN_HOME to /usr/share/maven2


More information about the ubuntu-users mailing list