maven安装
来源:互联网 发布:淘宝客招募令模板 编辑:程序博客网 时间:2024/05/21 16:22
下载maven2
http://books.sonatype.com/mvnref-book/reference/installation-sect-maven-download.html#_downloading_maven_2
下载maven3
http://books.sonatype.com/mvnref-book/reference/installation-sect-maven-download.html#_downloading_maven_3
解压下载安装包
M2_HOME=解压目录
path=%M2_HOME%\bin
运行
mvn-v
yeah,成功
Installing Maven on Windows is very similar to installing Maven on MacOSX, the main differences being the installation location and thesetting of an environment variable. This book assumes a Maveninstallation directory ofc:\Program Files\apache-maven-3.0.3, butit won’t make a difference if you install Maven in another directoryas long as you configure the proper environment variables. Once you’veunpacked Maven to the installation directory, you will need to set twoenvironment variables—PATH
andM2_HOME
. To set these environmentvariables from the command-line, type in the following commands:
C:\Users\tobrien > +set M2_HOME=c:\Program Files\apache-maven-3.0.3+C:\Users\tobrien > +set PATH=%PATH%;%M2_HOME%\bin+
Setting these environment variables on the command-line will allow youto run Maven in your current session, but unless you add them to theSystem environment variables through the control panel, you’ll have toexecute these two lines every time you log into your system. Youshould modify both of these variables through the Control Panel inMicrosoft Windows.
http://books.sonatype.com/mvnref-book/reference/installation.html
- MAVEN入门----安装MAVEN
- Maven(二)安装Maven
- 【Maven】2、Maven安装
- Maven--安装Maven
- maven 笔记-maven安装
- 安装maven
- maven安装
- Maven安装
- maven安装
- maven安装
- 安装maven
- 安装Maven
- Maven 安装
- Maven 安装
- Maven安装
- Maven安装
- Maven 安装
- maven安装
- think in java读后剪辑(一)
- MFC构建一个(位图)画刷
- AngularJs+bootstrap搭载前台框架——准备工作
- CPI
- JSTL 标签库 下载及配置
- maven安装
- 分页 数据库实现
- 策略设计模式
- 说说“类”
- Cocos2d-xCode下配置Cocos2d开发环境
- Harmonious Contest
- PHP上传原理及应用
- hdu3074Multiply game(线段树---单点更新,区间求值)
- printk流程简介及kernel串口log打印流程整理