Ubuntu下安裝maven

來源:互聯網
上載者:User

Ubuntu下安裝maven 1 apt-cache search maven 擷取所有可用的maven包   www.2cto.com  2 sudo apt-get install maven 開始安裝 下載大約114M的東東  3 mvn --version Apache Maven 3.0.4 Maven home: /usr/share/maven Java version: 1.6.0_38, vendor: Sun Microsystems Inc. Java home: /usr/lib/jvm/java-6-oracle/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.5.0-22-generic", arch: "i386", family: "unix" 確認maven安裝成功   www.2cto.com  4 maven被安裝在這個地方 ll /usr/share/maven total 32 drwxr-xr-x   6 root root  4096 Jan 27 19:32 ./ drwxr-xr-x 294 root root 12288 Jan 27 19:32 ../ drwxr-xr-x   2 root root  4096 Jan 27 19:32 bin/ drwxr-xr-x   2 root root  4096 Jan 27 19:32 boot/ lrwxrwxrwx   1 root root    10 May 28  2012 conf -> /etc/maven/ drwxr-xr-x   2 root root  4096 Jan 27 19:32 lib/ drwxr-xr-x   2 root root  4096 Jan 27 19:32 man/   www.2cto.com  5 設定檔在這裡 ll /etc/maven/ total 32 drwxr-xr-x   2 root root  4096 Jan 27 19:33 ./ drwxr-xr-x 145 root root 12288 Jan 27 19:33 ../ -rw-r--r--   1 root root   184 Jan 21  2012 m2.conf -rw-r--r--   1 root root 10224 Jan 21  2012 settings.xml 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.