Is there a .deb for Maven2 on Karmic Koala? I see maven2, but it has 100+MB of dependencies (!). Is there a package that is only mvn and none of those dependencies?
The only .deb that exists is the one you are seeing in the repositories. So if you want to install it with apt-get
, you have to install all dependencies as well.
Personally, I've chosen to install it manually (mostly because Maven was broken in the RC of Karmic until they upgraded it to version 2.2.1 and because I'm now swapping between maven 2.x and maven 3.x). To do so, follow these steps:
/opt/apache-maven-2.2.1
which is symlinked as /opt/maven
).export M2_HOME=/opt/maven
(for example in your ~/.profile
).$M2_HOME/bin
to your PATH
(for example in your ~/.profile
).