Ubuntu安装mvn3.3.9
来源:互联网 发布:ubuntu 精简系统 编辑:程序博客网 时间:2024/06/06 18:25
首先安装java1.8 这个gaoding
其次下载mvn
http://maven.apache.org/
解压缩
tar -vxzf apache-maven-3.3.9-bin.tar.gz -C /usr/local/
设置环境变量
export MVN_HOME=/usr/local/apache-maven-3.3.9export PATH=${MVN_HOME}/bin:$PATHsource /etc/profile
查看结果
root@ubuntu:/usr/local/java/jdk1.8.0_121# mvn -vApache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T00:41:47+08:00)Maven home: /usr/local/apache-maven-3.3.9Java version: 1.8.0_121, vendor: Oracle CorporationJava home: /usr/local/java/jdk1.8.0_121/jreDefault locale: en_US, platform encoding: UTF-8OS name: "linux", version: "3.13.0-108-generic", arch: "amd64", family: "unix"
设置本地仓储库
vim /usr/local/apache-maven-3.3.9/conf/settings.xml <profile> <id>profile-nexus</id> <repositories> <repository> <id>nexus</id> <url>http://10.142.164.239/nexus/content/groups/public/</url> <snapshots><enabled>true</enabled></snapshots> <releases><enabled>true</enabled></releases> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>nexus</id> <url>http://10.142.164.239/nexus/content/groups/public/</url> <snapshots><enabled>true</enabled></snapshots> <releases><enabled>true</enabled></releases> </pluginRepository> </pluginRepositories> </profile> </profiles>
0 0
- Ubuntu安装mvn3.3.9
- ubuntu maven3.3.9 安装
- ubuntu安装
- Ubuntu安装
- ubuntu安装
- 安装ubuntu
- 安装Ubuntu
- 安装Ubuntu
- ubuntu 安装
- 安装Ubuntu
- 安装Ubuntu
- Ubuntu安装
- 安装Ubuntu
- ubuntu安装
- Ubuntu安装
- 安装Ubuntu
- Ubuntu安装
- ubuntu安装
- linux知识 day005
- BigDecimal做除法运算报java.lang.ArithmeticException: Non-terminating decimal expansion; no exact represent
- HTML5学习之语义化标签(一)
- Android——监听ListView的滚动事件。。。
- CListBox类常见函数用法
- Ubuntu安装mvn3.3.9
- Javascript构建Bingo卡片游戏
- Spark Streaming源码解读之Receiver在Driver详解
- Ehcache配置详解及CacheManager使用
- Android ContentProvinder(内容提供者) ContentResolver(内容访问者)的简单应用
- Excel导入导出项目
- 数据库介绍与分类
- Linux下的打包、压缩、解压总结
- bzoj2653(可持久化线段树)