linux maven安装配置
2024-08-25 16:39:08
1.Run the wget command from the dir you want to extract maven too.
wget http://mirrors.cnnic.cn/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
2.run the following to extract the tar,
tar xvf apache-maven-3.3.9-bin.tar.gz
3.move maven to /usr/local/apache-maven
mv apache-maven-3.3.9 /usr/local/apache-maven
4.Next add the env variables to your ~/.bashrc file
export M2_HOME=/usr/local/apache-maven
export M2=$M2_HOME/bin
export PATH=$M2:$PATH
5.Execute these commands
source ~/.bashrc
6.Verify everything is working with the following command
mvn -version
最新文章
- SSH新学
- Thinkphp模板怎么使用自定义函数
- Android SQLite 的简单实例
- SDP协议分析
- 使用ndk standalone工具链来编译某个平台下的库
- 前端/html5效果收藏
- 树莓派.系统.修改声音输出通道(auto,hdmi,耳机接口)
- 自学Zabbix3.8-可视化Visualisation
- 使用Java High Level REST Client操作elasticsearch
- crontab定时作业
- 一个基于JRTPLIB的轻量级RTSP客户端(myRTSPClient)——实现篇:(六)RTP音视频传输解析层之音视频数据传输格式
- HQL语句的3个小技巧
- Java 里如何实现线程间通信
- Ionic Js十四:浮动框
- 【BZOJ 2724】 2724: [Violet 6]蒲公英 (区间众数不带修改版本)
- 使用python的logging模块(转)
- NIOS II 软件程序固化的相关知识
- ACM-ICPC (10/19)
- IOS设计模式浅析之桥接模式(Bridge)
- WPF绑定数据源之RelativeSource
热门文章
- AJAX-----06XMLHttpRequest对象的处理返回的XML类型数据
- JQuery基础二
- Linux应用程序访问字符设备驱动详细过程【转】
- SSH 无密码远程执行脚本
- css width=";100"; style =";width:100px"; 区别
- python--数据清洗
- 微信小程序文件作用域模块引用
- 文件上传和下载(可批量上传)——Spring(二)
- 学习mongo系列(四) find().pretty() remove() 查询
- angular directive scope