linux(centos)安装Maven
2024-09-03 11:18:26
搭建maven
下载jar包,将apache-maven-3.2.2-bin.tar.gz上传到服务器
1.解压 tar -zvxf apache-maven-3.2.2-bin.tar.gz
2.移动到指定目录 mv apache-maven-3.2.2 /usr/maven
3.修改环境变量
vi /etc/profile
export MAVEN_HOME=/usr/maven/apache-maven-3.2.2
export PATH=$PATH:$MAVEN_HOME/bin
4. source /etc/profile
5.测试安装情况 mvn --version
最新文章
- 如何理解泛型中的new()约束
- Resizing the disk space on Ubuntu Server VMs running on VMware ESXi 5
- OneProxy使用手册--致力于打造透明的数据层
- 【M8】了解各种不同意义的new和delete
- SGU 276 Andrew's Troubles
- easyui 点击combox 文本框 显示下拉 panel
- Extjs4.10Model模型具体解释
- Spring.NET程序
- 分享网上搜到的Oracle中对判定条件where 1=1的正解
- [转]iOS 应用程序的生命周期
- MySQL高级知识(四)——Explain
- java GC是在什么时候,对什么东西,做了什么事情
- WPF 去除系统窗体边框,自定义移动窗体
- Python2.7-codecs
- OSError: [WinError 193] %1 不是有效的 Win32 应用程序。
- 关于popup
- Finding LCM LightOJ - 1215 (水题)
- MFC中的DLL、LIb文件的创建、使用
- nowcoder模拟赛
- 针对XX系统的可用性和易用性构想
热门文章
- 多进程端口监听 How nginx processes a request Server names
- Delphi线程的初级应用
- 解决 request.getInputStream() 只能获取一次body的问题
- Springboot整合thymeleaf模板
- nodejs从服务器获取数据
- 0201-开始使用Spring Cloud实战微服务准备工作
- ABAP发邮件函数
- 【转】ModelAndView 学习
- requirejs源码分析: define 方法
- Java中ArrayList和LinkedList区别、ArrayList和Vector的区别