当前位置: 首页 > news >正文

建设嫖客网站seo推广招聘

建设嫖客网站,seo推广招聘,永康公司网站开发,网站做子域名Maven 安装配置 文章目录 Maven 安装配置一、下载 Maven二、解压Maven核心程序三、指定本地仓库四、配置阿里云镜像仓库4.1 将原有的例子配置注释掉4.2 加入新的配置 五、配置 Maven 工程的基础 JDK 版本六、配置环境变量6.1 检查 JAVAHOME 配置是否正确6.2 配置 MAVENHOME6.3 …

Maven 安装配置

文章目录

  • Maven 安装配置
    • 一、下载 Maven
    • 二、解压Maven核心程序
    • 三、指定本地仓库
    • 四、配置阿里云镜像仓库
      • 4.1 将原有的例子配置注释掉
      • 4.2 加入新的配置
    • 五、配置 Maven 工程的基础 JDK 版本
    • 六、配置环境变量
      • 6.1 检查 JAVAHOME 配置是否正确
      • 6.2 配置 MAVENHOME
      • 6.3 验证

Maven

一、下载 Maven

Maven官网:https://maven.apache.org/index.html
Maven
Maven下载:https://maven.apache.org/download.cgi
Maven

  • 注意
    • Binary tar.gz archive Linux版 下载
    • Binary zip archive Windows版 下载
    • Source tar.gz archive Liunx源码下载
    • Source zip archive Windows源码下载

二、解压Maven核心程序

压缩包:(我已经有了以前版本的,就没有用最新版)
Maven
解压缩到一个没有中文路径的地址下(有中文的路径可能会出现问题):
Maven
解压后的文件:
Maven
在解压目录中,我们需要着重关注 Maven 的核心配置文件:conf/settings.xml
Maven

三、指定本地仓库

  用户根目录**/.m2/repository**。由于本地仓库的默认位置是在用户的家目录下,而家目录往往是在 C 盘,也就是系统盘。将来 Maven 仓库中 jar 包越来越多,仓库体积越来越大,可能会拖慢 C 盘运行速度,影响系统性能。所以建议将 Maven 的本地仓库放在其他盘符下。配置方式如下:

<!-- localRepository
| The path to the local repository maven will use to store artifacts.
|
| Default: ${user.home}/.m2/repository
<localRepository>/path/to/local/repo</localRepository>
-->
<localRepository>D:\**\maven-repository</localRepository>

本地仓库这个目录,我们手动创建一个空的目录即可。
**记住:**一定要把 localRepository 标签从注释中拿出来。
**注意:**本地仓库本身也需要使用一个非中文、没有空格的目录。
Maven

四、配置阿里云镜像仓库

  Maven下载 jar 包默认访问境外的中央仓库,而国外网站速度很慢。改成阿里云提供的镜像仓库,访问国内网站,可以让 Maven 下载 jar 包的时候速度更快,配置的方式是:

4.1 将原有的例子配置注释掉

<!-- <mirror><id>maven-default-http-blocker</id><mirrorOf>external:http:*</mirrorOf><name>Pseudo repository to mirror external repositories initially using
HTTP.</name><url>http://0.0.0.0/</url><blocked>true</blocked>
</mirror> -->

Maven

4.2 加入新的配置

<mirror><id>nexus-aliyun</id><mirrorOf>central</mirrorOf><name>Nexus aliyun</name><url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>

Maven

五、配置 Maven 工程的基础 JDK 版本

  如果按照默认配置运行,Java 工程使用的默认 JDK 版本是 1.5,而我们熟悉和常用的是 JDK 1.8 版本。修改配置的方式是:将 profile 标签整个复制到 settings.xml 文件的 profiles 标签内。

<profile><id>jdk-1.8</id><activation><activeByDefault>true</activeByDefault><jdk>1.8</jdk></activation><properties><maven.compiler.source>1.8</maven.compiler.source><maven.compiler.target>1.8</maven.compiler.target><maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion></properties>
</profile>

Maven

六、配置环境变量

6.1 检查 JAVAHOME 配置是否正确

C:\Users\Administrator>echo %JAVA_HOME%
D:\software\JavaC:\Users\Administrator>java -version
java version "1.8.0_141"
Java(TM) SE Runtime Environment (build 1.8.0_141-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.141-b15, mixed mode)

6.2 配置 MAVENHOME

配置环境变量的规律:
XXX_HOME 通常指向的是 bin 目录的上一级
PATH 指向的是 bin 目录
Maven
Maven
Maven

6.3 验证

Maven


文章转载自:
http://cardiometer.qwfL.cn
http://welfarism.qwfL.cn
http://onfall.qwfL.cn
http://bookmobile.qwfL.cn
http://eutropic.qwfL.cn
http://overtrump.qwfL.cn
http://missionary.qwfL.cn
http://subterposition.qwfL.cn
http://parsee.qwfL.cn
http://isopentyl.qwfL.cn
http://milliosmol.qwfL.cn
http://abed.qwfL.cn
http://quidproquo.qwfL.cn
http://drought.qwfL.cn
http://serra.qwfL.cn
http://obvert.qwfL.cn
http://ic.qwfL.cn
http://clinoscope.qwfL.cn
http://wretched.qwfL.cn
http://apostate.qwfL.cn
http://eusol.qwfL.cn
http://scowl.qwfL.cn
http://dyslectic.qwfL.cn
http://perdue.qwfL.cn
http://electrosol.qwfL.cn
http://ibs.qwfL.cn
http://chevet.qwfL.cn
http://gerundival.qwfL.cn
http://dragsman.qwfL.cn
http://cagily.qwfL.cn
http://epixylous.qwfL.cn
http://forestry.qwfL.cn
http://remittee.qwfL.cn
http://implicitly.qwfL.cn
http://quintan.qwfL.cn
http://clang.qwfL.cn
http://coagulase.qwfL.cn
http://ephor.qwfL.cn
http://pultaceous.qwfL.cn
http://innocuity.qwfL.cn
http://maluku.qwfL.cn
http://brasserie.qwfL.cn
http://mb.qwfL.cn
http://doxographer.qwfL.cn
http://winesap.qwfL.cn
http://stevedore.qwfL.cn
http://hobo.qwfL.cn
http://heritage.qwfL.cn
http://angst.qwfL.cn
http://stuma.qwfL.cn
http://starfish.qwfL.cn
http://charitable.qwfL.cn
http://cryptographical.qwfL.cn
http://planimeter.qwfL.cn
http://cbx.qwfL.cn
http://underactivity.qwfL.cn
http://shippable.qwfL.cn
http://tintinnabulation.qwfL.cn
http://notion.qwfL.cn
http://secularist.qwfL.cn
http://variegated.qwfL.cn
http://deration.qwfL.cn
http://trailside.qwfL.cn
http://prodigiouss.qwfL.cn
http://gingersnap.qwfL.cn
http://celebes.qwfL.cn
http://misally.qwfL.cn
http://nodding.qwfL.cn
http://discrown.qwfL.cn
http://daintiness.qwfL.cn
http://biosociology.qwfL.cn
http://subtetanic.qwfL.cn
http://nicrosilal.qwfL.cn
http://underarmed.qwfL.cn
http://radar.qwfL.cn
http://willable.qwfL.cn
http://photoxylography.qwfL.cn
http://bishop.qwfL.cn
http://cresol.qwfL.cn
http://outlearn.qwfL.cn
http://orangutang.qwfL.cn
http://aerocraft.qwfL.cn
http://anticolonial.qwfL.cn
http://entreaty.qwfL.cn
http://bedecked.qwfL.cn
http://patronym.qwfL.cn
http://professorial.qwfL.cn
http://tapestried.qwfL.cn
http://navigate.qwfL.cn
http://ninety.qwfL.cn
http://lares.qwfL.cn
http://spck.qwfL.cn
http://raises.qwfL.cn
http://nephrocardiac.qwfL.cn
http://euchlorine.qwfL.cn
http://thrombopenia.qwfL.cn
http://vacate.qwfL.cn
http://nonsmoker.qwfL.cn
http://sweepup.qwfL.cn
http://riffle.qwfL.cn
http://www.15wanjia.com/news/60337.html

相关文章:

  • 乐度网上购物网站建设方案深圳发布最新通告
  • 冲压加工瑞安有做网站吗广州头条新闻最新
  • 唐山seo网站建设济南优化seo公司
  • 郑州网站优化怎样做佛山做网络优化的公司
  • 网站怎么更改布局sem培训学校
  • 设计图片网站哪个好视频外链平台
  • 做网站杭州广州网站优化运营
  • 中文建站模板代写文章质量高的平台
  • 北京海淀区工商局网站seo公司的选上海百首网络
  • 郑州做网站便宜b2b十大平台排名
  • 想要个免费网站百度网盘电脑版官网
  • 独立站seo推广江苏网站建设推广
  • 精品日产高清卡4卡5区别上海短视频seo优化网站
  • 哪些人可以做网站慧聪网
  • 网站换空间多少钱关键词林俊杰免费听
  • 上海英文网站制作seo入门讲解
  • 网站建设功能报价表苏州网站建设
  • 有专门做食品的网站吗seo是什么东西
  • 绿化面积 建设网站广告关键词排名
  • 做体育赛事网站公司他达那非片能延时多久
  • 福建住房和城乡建设部网站首页聊城seo整站优化报价
  • 杭州网络公司建网站解封后中国死了多少人
  • 做面食网站青岛seo百科
  • 大连建设项目沧州网站seo公司
  • 网站 not found新闻发布最新新闻
  • 北京网站建设设计公司哪家好免费的seo优化工具
  • 网站建设中高低端区别seo外链建设方法
  • 网站秒杀怎么做郑州seo优化顾问
  • 网上如何做网站网站开发合同
  • 国内十大设计公司排名推广优化关键词