• 下载

官网下载地址

wget http://mirrors.ocf.berkeley.edu/apache/maven/maven-3/3.6.0/binaries/apache-maven-3.6.0-bin.tar.gz
  • 解压
tar -zxvf apache-maven-3.6.0-bin.tar.gz
  • 移动到/usr/local/
mv apache-maven-3.6.0 /usr/local/maven
  • 添加软连接
ln -s /usr/local/maven/bin/mvn /usr/local/bin/
  • 测试
mvn -v

打印如下

Maven home: /usr/local/maven
Java version: 1.8.0_171, vendor: Oracle Corporation, runtime: /usr/jdk1.8.171/jdk1.8.0_171/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-693.2.2.el7.x86_64", arch: "amd64", family: "unix"
GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e added ecosystem file for PM2 4 年前
5def40a3 Add host customization support for the NodeJS version 4 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐