maven 打包的用法:maven install
当你年老时,你是否常常想,要是年轻时多努力下该好。
maven 打包的用法:maven install
一、需要准备的东西
1. JDK
2. Eclipse
3. Maven程序包
二、官网下载:
http://maven.apache.org/download.cgi
Java Development Kit (JDK) | Maven 3.3+ require JDK 1.7 or above to execute – they still allows you to build against 1.3 and other JDK versions by Using Toolchains |
Memory | No minimum requirement |
Disk | Approximately 10MB is required for the Maven installation itself. In addition to that, additional disk space will be used for your local Maven repository. The size of your local repository will vary depending on usage but expect at least 500MB. |
Operating System | No minimum requirement. Start up scripts are included as shell scripts and Windows batch files. |
因为 安装包是 java 写的,里面的启动文件 即有 Windows的mvn.cmd 也有linux的mvn 所以没有 按不同的系统发布不同的安装包。
由于学习大数据需要Maven,所以先简单学习一下Maven。Hadoop的MapReduce环境是一个复杂的编程环境,所以我们要尽可能地简化构建MapReduce项目的过程。
Maven是一个很不错的自动化项目构建工具,通过Maven来帮助我们从复杂的环境配置中解脱出来,从而标准化开发过程。所以,写MapReduce之前,让我们先花点时间把刀磨快!!当然,除了Maven还有其他的选择Gradle(推荐), Ivy….
摘自百科: