maven-相关配置
Linux Ubuntu 安装Maven
我配置了 sudo gedit /etc/profile
配置了vi .bashrc
这个文档比较好(参考文档:http://www.linuxidc.com/Linux/2015-03/114619.htm)
Maven的下载地址
http://download.chinaunix.net/download.php?id=36582&ResourceID=13186
官网也可以下载,我这边用的网不好,只能用国内的
1.将下载的文件提取出来
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAABkCAIAAADIYg9yAAAAA3NCSVQICAjb4U/gAAASyklEQVR4Xu1dCXQUx5nu6nMOzegWIMCI+8YgwA4xtjExxDgBg4/ExmEXs5jd9XrfPr+3mN2XvbwhCU5Cdp+za5K1jYmN8YkBAzaHAwFjEBgTbiEQIAWERrc0d9/7V89Ic/WMGh2jBk+9flJ31V///9f/Vf1V1X+1hFRVJTLJHBYgzaFGRgtsgQwYJuoHGTAyYJjIAiZSJTMyMmCYyAImUiUzMkwEBp1mXaq3vVG54ZcKoVAMZ0Q0iiIysiFSFEmVZYq1jFnxb8XfedyICPPQoHRu+kRv64FnZjoomYy2cUpjkIjswEBRlZS0kUJZUX0qc//6Q0xWtsEqZiBLq5u6vm8LRQL8BBjLyCUBGUEAAqHLSJUQDVgWBNXs32YGExvXIa1gVG1/C0m8rKoy4JHyklQCLqAB5Dqu1FXiSpEQvLJ9g3FDmIEyfXOG+2q5r6HWSSNFSeX848pUKmKl1BXjrIlIFGhwuasuOEvGmMHQRnRI38i4+tl7JHZOMCz0L0lV4YorBWwiI8OYcwt5KkCOVKWqXe8bsYJJaNI0gcMKZ+ujE+xIpJAO/LGjIebJxkUWXX6eN2o1jQfg6kfMws1nERU1voyy6AM6HdP0hha1X+3Xlm0oruPrjYaY6QSPjPYLzwqKsUubb0AcjI/a4wd6o0W9wTNNc0bFljdJMSgzEXGxoyFF0yKrYPA/KegSizD4QqBiy/riu2cnlpowJ01gtJ09kmO30CRJIkRSCJwV3OF7nGI2HVEP+NZmYTuslm3nku1PYNjhBDsR7Rf81G7AOzJ1Z46Y0O66KqUJDJamn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Z/BGs/OeZRyH5Naenolm2BZAyulhDq3ewYv71sbfGiZ9e824PlRaJQr9/jf/qTTXQV82ddNyyD3r5ZlviTrphGhOrLY7MvXkNmF3WGV+dq1O9YL14UxYZn7F91EAiPaV59n94ANbjsWmQncRJBmwMiAYSILmEiVzMjIgGEiC5hIlczIyIBhIguYSJXMyMiAYSILmEiVzMjIgGEiC5hIlczIMBEY/w9xyUY7rQJc1QAAAABJRU5ErkJggg==" alt="" />
2.放在一个比较方便的地方
然后就配置文件
第三步添加环境变量
rencongwhu@rencongwhu:~/ApacheMaven$ sudo gedit /etc/profile export MAVEN_HOME=/home/rencongwhu/ApacheMaven/apache-maven-3.0.5 export PATH=${MAVEN_HOME}/bin:${PATH} 然后测试一下
maven-相关配置的更多相关文章
- Maven学习总结(19)——深入理解Maven相关配置
MAVEN2的配置文件有两个settings.xml和pom.xml settings.xml:保存的是本地所有项目所共享的全局配置信息,默认在maven安装目录的conf目录下,如果没有安装mave ...
- maven相关配置
复习了下maven的常用配置及相关解释,直接看的前辈们的博客, maven核心,pom.xml详解(转)
- Maven--Eclipse maven相关配置
选择自己安装的 Maven 版本: 更改配置文件路径,这里选择自己安装的 Maven 下的配置文件,方便配置及统一控制:
- 在idea的maven相关配置
1.下载maven 下载地址:点击 2.设置maven 打开maven目录下settings.xml 设置阿里中心仓库 <mirror> <id>alimaven&l ...
- Maven相关内容学习笔记一:基本配置和使用
首先必须推荐的这本书<Maven实战> 许晓斌,机械工业出版社 Maven简介 其实使用Maven也有很久时间了,大部分都是别人建好了工程我使用一下,实际上并没有非常详细的使用经验,这次到 ...
- 大数据入门:Maven项目的创建及相关配置
目录 Maven项目的创建及相关配置 一.Maven的介绍 1.Maven是什么: 2.Maven作用: 3.Maven项目的目录结构: 4.Maven的三点坐标: 5.maven的pom文件: 6. ...
- Maven学习二:使用Nexus搭建Maven私服及相关配置
处于安全等原因的考虑,一些企业内部网络是不允许访问外部网络的,但是项目内部搭建的项目又是Maven架构,这样就需要企业在内部网络中搭建自己的Maven仓库服务,再者一些大型企业或者内部模块化组件化划分 ...
- maven 相关
maven相关 一 windows安装配置maven: 1. 官网下载最新版本maven,发布日志时为: maven3.2.1 2.解压maven到相应的目录:配置环境变量: MAVEN_HOME:D ...
- Eclipse中Maven的配置
Maven 的配置 1. 安装配置Maven: 1.1 从Apache网站 http://maven.apache.org/ 下载并且解压缩安装Apache Maven 1.2 配置 Maven 的c ...
- 【maven教程】(1)---maven环境配置
maven环境配置 刚开始学习maven,现在项目需要用到maven,而且他确实很好用,也比较容易上手,我也是主要通过视频学习,在写博客的时候也会总结其它人所写 博客,从简到难,如果你也是初学者那接下 ...
随机推荐
- 在A*寻路中使用二叉堆
接上篇:A*寻路初探 GameDev.net 在A*寻路中使用二叉堆 作者:Patrick Lester(2003年4月11日更新) 译者:Panic 2005年3月28日 译者序 这一篇文章,是&q ...
- 查看和设置oracle数据库的最大连接数
当前的连接数 select count(*) from v$process; 设置的最大连接数(默认值为150) select value from v$parameter where name = ...
- javascript获取当前的时间戳
JavaScript 获取当前时间戳:第一种方法: var timestamp = Date.parse(new Date()); 结果:1280977330000第二种方法: var timesta ...
- hammer.js中文文档
转自:http://www.uedsc.com/hammerjs-api.html HammerJS是一个优秀的.轻量级的触屏设备手势库,现在已经更新到2.04版本,跟1.0版本有点天壤地别了,毕竟改 ...
- 浅析CSS——元素重叠及position定位的z-index顺序
多次在项目中遇到html页面元素的非期待重叠错误,多数还是position定位情况下z-index的问题.其实每次解决类似问题思路大致都是一样的,说到底还是对z-index的理解比较模糊,可以解决问题 ...
- google project tango 学习笔记
google io 2015上 project tango 的演示视频
- 2015国产犯罪传记《暴力天使》HD720P.泰语中字
导演: 吴强编剧: 阮明玉主演: 张玉英 / 金理 / 至宝类型: 传记语言:泰语制片国家/地区: 中国大陆上映日期: 2016年3月25日片长: 92分钟又名: Huong Ga暴力天使的剧情简介 ...
- Spring系列: 使用aop报错:nested exception is java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$Refle
写了个最简单的aop例子 配置文件如下 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns ...
- [CareerCup] 1.7 Set Matrix Zeroes 矩阵赋零
1.7 Write an algorithm such that if an element in an MxN matrix is 0, its entire row and column are ...
- 零散知识记录-Jira的安装
Jira不支持openjdk,在linux下需要卸载后,装个jdk才行.