Maven download and configuration

maven download and configure

  1. website https://maven.apache.org/

  2. click on the download

  3. in the Previous Choose archives of the Releases

  4. choose to download the version of the

    into to the directory selected binaries, click the apache maven – 3.6.1 track – bin. To download and unzip the zip


    1. environment variable configuration of

      add a new variable

      in the path configuration MAVEN_HOME % % \ bin

      maven – input in the CMD version to see success

    2. modify the configuration file

      modify the apache maven – 3.6.1 \ conf \ Settings XML

      • specifies your warehouse location

        <localRepository>D:\Java\apache-maven-3.6.1\repository</localRepository>
        
      • configuration mirror

        <mirrors>
            <!-- 阿里云仓库 -->
            <mirror>
                <id>alimaven</id>
                <name>aliyun maven</name>
                <url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
                <mirrorOf>central</mirrorOf>
            </mirror>
        </mirrors>
        

      • the idea of maven associated Settings

        choose from the menu file – Settings

Read More: