zoukankan      html  css  js  c++  java
  • 在搭建Springboot的项目 之前 maven 的基本的配置

    1. 首先在c盘创建settings.xml文件

        路径如下 C:Usersuser.m2settings.xml 

    2. settings.xml的文件的内容

    <?xml version="1.0" encoding="UTF-8"?>
    
    <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
     <localRepository>E:softwearsapache-maven-3.3.9-binapache-maven-3.3.9
    epository</localRepository>
      <pluginGroups>
      </pluginGroups>
      <proxies>
      </proxies>
      <servers>
      </servers>
      <mirrors>
    	 <mirror>
          <id>nexus-aliyun</id>
          <mirrorOf>central</mirrorOf>
          <name>Nexus aliyun</name>
          <url>http://maven.aliyun.com/nexus/content/groups/public</url>
        </mirror>  
      </mirrors>
      <profiles> 
      </profiles>
    </settings>
    

    3. 下载 maven 下载地址  https://maven.apache.org/download.cgi

    4. 在ideal中进行配置相应的文件

     5. 对maven可添加环境变量

     到此,基本的配置算是完成了

  • 相关阅读:
    WEEK
    更新yum源
    Centos6.9安装Mysql5.7.18
    gitlab使用
    gitlab安装
    git客户端
    服务器端配置
    错误问题
    服务器端
    01找出数组中重复的数
  • 原文地址:https://www.cnblogs.com/jishan-coder/p/7723144.html
Copyright © 2011-2022 走看看