![]() I have made a new script that should not only install Maven + add it to bin, but picks up if you are using Ubuntu as a VirtualBox guest and then attempts to mount existing '.m2' and maven folder which may/may not contain existing settings. Java home: /usr/lib/jvm/java-7-openjdk-amd64/jreĭefault locale: de_DE, platform encoding: UTF-8 Java version: 1.7.0_75, vendor: Oracle Corporation Below you have an example of the returned values. With the issued command mvn -v you may verify, if the setting succeeded and whether you selected the correct version. *0 /usr/share/maven2/bin/mvn 200 Auto-Modusġ /usr/share/maven/bin/mvn 150 manueller ModusĢ /usr/share/maven2/bin/mvn 200 manueller Modus You can distinguish the correct directories by selecting the path where maven2 is NOT part of it. With the 2nd command you're asked to set the used version. ![]() A solution at Ubuntu 14.04 LTS will be like: There is no need to use an unsecure repository, because maven3 is already included in the Ubuntu repos. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |