Home > Database > Mysql Tutorial > body text

Hadoop2.x介绍与源码编译

WBOY
Release: 2016-06-07 15:37:27
Original
1047 people have browsed it

进入安装目录 /opt/modules/apache-maven-3.0.5/conf ,编辑 settings.xml 文件 * 修改 mirrors 内容: mirror idnexus-osc/id mirrorOf*/mirrorOf nameNexusosc/name urlhttp://maven.oschina.net/content/groups/public//url /mirror * 修改 profiles 内容

  1. 进入安装目录 /opt/modules/apache-maven-3.0.5/conf,编辑 settings.xml 文件

修改内容:

  

nexus-osc  

*  

Nexus osc  

http://maven.oschina.net/content/groups/public/  

 

修改内容:

  

jdk-1.6  

  

1.6  

  

  

  

nexus  

local private nexus  

http://maven.oschina.net/content/groups/public/  

  

true  

  

  

false  

  

  

 

  

  

nexus  

local private nexus  

http://maven.oschina.net/content/groups/public/  

  

true  

  

  

false  

  

  

  

  1. 复制配置

        将该配置文件复制到用户目录,使得每次对maven创建时,都采用该配置

查看用户目录/home/hadoop】是否存在【.m2】文件夹,如没有,则创建

$ cd /home/hadoop

$ mkdir .m2

复制文件

$ cp /opt/modules/apache-maven-3.0.5/conf/settings.xml ~/.m2/

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template