精华内容
下载资源
问答
  • maven3.5.2 下载地址
    千次阅读
    2020-12-14 22:38:42

    https://archive.apache.org/dist/maven/maven-3/3.5.2/binaries/

    更多相关内容
  • maven 工具 maven 工具 maven 工具 maven 工具 maven 工具
  • 项目构建、管理工具 Apache maven 3.5.2 Java web 开发 maven 插件 下载 安装包
  • maven3.5.2

    2018-01-09 22:55:37
    maven;maven3.5.2;maven的绿色安装包;maven最新版本。
  • apache-maven-3.5.2-windows

    2022-02-12 20:15:28
    该资源为apache-maven-3.5.2-windows,欢迎下载学习哦!
  • maven3.5.2绿色免安装版

    2018-01-16 00:50:24
    下载完成后,直接解压,并且把解压出来的apache-maven-3.5.2文件夹放在你想放的地方,然后去配置环境变量就行了. 配置方法: 1.maven的环境变量配置和jdk的配置是一样的,创建maven_home; 2.在path中添加;%maven_home%...
  • apache-maven-3.5.2-win64.zip

    2020-07-26 09:17:46
    apache-maven-3.5.2-win64.zip
  • apache-maven-3.5.2-稳定版.rar gemframe开源框架开发环境必备
  • apache-maven-3.5.2

    2018-02-18 16:32:35
    apache-maven-3.5.2 apache-maven-3.5.2 apache-maven-3.5.2
  • apache-maven-3.5.2.zip

    2017-12-15 15:41:33
    maven是统一管理工程中jar版本的有效管理工具,该版本是3.5.2。注:需要用unzip命令先进行解压缩。
  • maven3.5.2压缩包

    2019-04-09 13:26:51
    maven3.5.2压缩包
  • maven3.5.2配置

    2022-04-22 13:54:39
    apache-maven-3.5.2-bin.zip 提取码:8hno 二、setting.xml的配置 路径:C:\MySoftware\maven\apache-maven-3.5.2\conf\settings.xml 如下 <localRepository>C:\MySoftware\maven\repository_shine</...

    接上一篇maven nexus私服

    一、下载

    apache-maven-3.5.2-bin.zip
    提取码:8hno

    二、setting.xml的配置

    路径:C:\MySoftware\maven\apache-maven-3.5.2\conf\settings.xml

    1. 如下
      <localRepository>C:\MySoftware\maven\repository_shine</localRepository>
    
    1. 这个是本地仓库,自己新建的,我放在上面下载的apache-maven同级目录下了
    2. 下面这个是配置nexus,id自己定义,username和password自己登录时用的账户和密码
    	<server>
          <id>nexus-shine</id>
          <username>admin</username>
          <password>123456</password>
        </server>
    
    1. 在<mirrors>里面的<mirror>是阿里云的配置
    <mirror>
          <id>aliyun</id>
          <mirrorOf>central</mirrorOf>
          <name>Nexus aliyun</name>
          <url>http://maven.aliyun.com/nexus/content/groups/public</url>
        </mirror>
    
    1. 以下<profiles><profiles>里面的,一个配置jdk(id自己取,下面激活的时候id一致),一个配置nexus(id自己取,下面激活的时候id一致)
    2. <profile> jdk配置 </profile>
     <profile>
          <id>myjdk</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>
    
    1. <profile> nexus配置 </profile>
    2. <profile> 里面两个url都是nexus你的group(仓库组,用于存放release稳定版本的项目和snapshot快照项目)的url
      在这里插入图片描述
      在这里插入图片描述
    3. 下面是nexus匹配的代码
      <profile>
          <id>nexus</id>
          <repositories>
            <repository>
              <id>nexus-shine</id>
              <name>Nexus Release Snapshot Repository</name>
              <url>http://localhost:8081/nexus/repository/my-group/</url>
              <releases><enabled>true</enabled></releases>
              <snapshots><enabled>true</enabled></snapshots>
            </repository>
          </repositories>
          <pluginRepositories>
            <pluginRepository>
              <id>nexus-shine</id>
              <url>http://localhost:8081/nexus/repository/my-group/</url>
              <releases><enabled>true</enabled></releases>
              <snapshots><enabled>true</enabled></snapshots>
            </pluginRepository>
          </pluginRepositories>
        </profile>
    
    1. 最后一步激活,名字和上面两个id一样
      <activeProfiles>
        <activeProfile>myjdk</activeProfile>
        <activeProfile>nexus</activeProfile>
      </activeProfiles>
    

    2.2 完整代码

    <?xml version="1.0" encoding="UTF-8"?>
    
    <!--
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    
    <!--
     | This is the configuration file for Maven. It can be specified at two levels:
     |
     |  1. User Level. This settings.xml file provides configuration for a single user,
     |                 and is normally provided in ${user.home}/.m2/settings.xml.
     |
     |                 NOTE: This location can be overridden with the CLI option:
     |
     |                 -s /path/to/user/settings.xml
     |
     |  2. Global Level. This settings.xml file provides configuration for all Maven
     |                 users on a machine (assuming they're all using the same Maven
     |                 installation). It's normally provided in
     |                 ${maven.conf}/settings.xml.
     |
     |                 NOTE: This location can be overridden with the CLI option:
     |
     |                 -gs /path/to/global/settings.xml
     |
     | The sections in this sample file are intended to give you a running start at
     | getting the most out of your Maven installation. Where appropriate, the default
     | values (values used when the setting is not specified) are provided.
     |
     |-->
    <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
       | The path to the local repository maven will use to store artifacts.
       |
       | Default: ${user.home}/.m2/repository
      <localRepository>/path/to/local/repo</localRepository>
      -->
      <localRepository>C:\MySoftware\maven\repository_shine</localRepository>
      <!-- interactiveMode
       | This will determine whether maven prompts you when it needs input. If set to false,
       | maven will use a sensible default value, perhaps based on some other setting, for
       | the parameter in question.
       |
       | Default: true
      <interactiveMode>true</interactiveMode>
      -->
    
      <!-- offline
       | Determines whether maven should attempt to connect to the network when executing a build.
       | This will have an effect on artifact downloads, artifact deployment, and others.
       |
       | Default: false
      <offline>false</offline>
      -->
    
      <!-- pluginGroups
       | This is a list of additional group identifiers that will be searched when resolving plugins by their prefix, i.e.
       | when invoking a command line like "mvn prefix:goal". Maven will automatically add the group identifiers
       | "org.apache.maven.plugins" and "org.codehaus.mojo" if these are not already contained in the list.
       |-->
      <pluginGroups>
        <!-- pluginGroup
         | Specifies a further group identifier to use for plugin lookup.
        <pluginGroup>com.your.plugins</pluginGroup>
        -->
      </pluginGroups>
    
      <!-- proxies
       | This is a list of proxies which can be used on this machine to connect to the network.
       | Unless otherwise specified (by system property or command-line switch), the first proxy
       | specification in this list marked as active will be used.
       |-->
      <proxies>
        <!-- proxy
         | Specification for one proxy, to be used in connecting to the network.
         |
        <proxy>
          <id>optional</id>
          <active>true</active>
          <protocol>http</protocol>
          <username>proxyuser</username>
          <password>proxypass</password>
          <host>proxy.host.net</host>
          <port>80</port>
          <nonProxyHosts>local.net|some.host.com</nonProxyHosts>
        </proxy>
        -->
      </proxies>
    
      <!-- servers
       | This is a list of authentication profiles, keyed by the server-id used within the system.
       | Authentication profiles can be used whenever maven must make a connection to a remote server.
       |-->
      <servers>
        <server>
          <id>nexus-shine</id>
          <username>admin</username>
          <password>123456</password>
        </server>
        <!-- server
         | Specifies the authentication information to use when connecting to a particular server, identified by
         | a unique name within the system (referred to by the 'id' attribute below).
         |
         | NOTE: You should either specify username/password OR privateKey/passphrase, since these pairings are
         |       used together.
         |
        <server>
          <id>deploymentRepo</id>
          <username>repouser</username>
          <password>repopwd</password>
        </server>
        -->
    
        <!-- Another sample, using keys to authenticate.
        <server>
          <id>siteServer</id>
          <privateKey>/path/to/private/key</privateKey>
          <passphrase>optional; leave empty if not used.</passphrase>
        </server>
        -->
      </servers>
    
      <!-- mirrors
       | This is a list of mirrors to be used in downloading artifacts from remote repositories.
       |
       | It works like this: a POM may declare a repository to use in resolving certain artifacts.
       | However, this repository may have problems with heavy traffic at times, so people have mirrored
       | it to several places.
       |
       | That repository definition will have a unique id, so we can create a mirror reference for that
       | repository, to be used as an alternate download site. The mirror site will be the preferred
       | server for that repository.
       |-->
      <mirrors>
        <!-- mirror
         | Specifies a repository mirror site to use instead of a given repository. The repository that
         | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
         | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
         |
        <mirror>
          <id>mirrorId</id>
          <mirrorOf>repositoryId</mirrorOf>
          <name>Human Readable Name for this Mirror.</name>
          <url>http://my.repository.com/repo/path</url>
        </mirror>
         -->
        <mirror>
          <id>aliyun</id>
          <mirrorOf>central</mirrorOf>
          <name>Nexus aliyun</name>
          <url>http://maven.aliyun.com/nexus/content/groups/public</url>
        </mirror>
      </mirrors>
    
      <!-- profiles
       | This is a list of profiles which can be activated in a variety of ways, and which can modify
       | the build process. Profiles provided in the settings.xml are intended to provide local machine-
       | specific paths and repository locations which allow the build to work in the local environment.
       |
       | For example, if you have an integration testing plugin - like cactus - that needs to know where
       | your Tomcat instance is installed, you can provide a variable here such that the variable is
       | dereferenced during the build process to configure the cactus plugin.
       |
       | As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles
       | section of this document (settings.xml) - will be discussed later. Another way essentially
       | relies on the detection of a system property, either matching a particular value for the property,
       | or merely testing its existence. Profiles can also be activated by JDK version prefix, where a
       | value of '1.4' might activate a profile when the build is executed on a JDK version of '1.4.2_07'.
       | Finally, the list of active profiles can be specified directly from the command line.
       |
       | NOTE: For profiles defined in the settings.xml, you are restricted to specifying only artifact
       |       repositories, plugin repositories, and free-form properties to be used as configuration
       |       variables for plugins in the POM.
       |
       |-->
      <profiles>
        <profile>
          <id>myjdk</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>
        <profile>
          <id>nexus</id>
          <repositories>
            <repository>
              <id>nexus-shine</id>
              <name>Nexus Release Snapshot Repository</name>
              <url>http://localhost:8081/nexus/repository/my-group/</url>
              <releases><enabled>true</enabled></releases>
              <snapshots><enabled>true</enabled></snapshots>
            </repository>
          </repositories>
          <pluginRepositories>
            <pluginRepository>
              <id>nexus-shine</id>
              <url>http://localhost:8081/nexus/repository/my-group/</url>
              <releases><enabled>true</enabled></releases>
              <snapshots><enabled>true</enabled></snapshots>
            </pluginRepository>
          </pluginRepositories>
        </profile>
        <!-- profile
         | Specifies a set of introductions to the build process, to be activated using one or more of the
         | mechanisms described above. For inheritance purposes, and to activate profiles via <activatedProfiles/>
         | or the command line, profiles have to have an ID that is unique.
         |
         | An encouraged best practice for profile identification is to use a consistent naming convention
         | for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey', 'user-brett', etc.
         | This will make it more intuitive to understand what the set of introduced profiles is attempting
         | to accomplish, particularly when you only have a list of profile id's for debug.
         |
         | This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo.
        <profile>
          <id>jdk-1.4</id>
    
          <activation>
            <jdk>1.4</jdk>
          </activation>
    
          <repositories>
            <repository>
              <id>jdk14</id>
              <name>Repository for JDK 1.4 builds</name>
              <url>http://www.myhost.com/maven/jdk14</url>
              <layout>default</layout>
              <snapshotPolicy>always</snapshotPolicy>
            </repository>
          </repositories>
        </profile>
        -->
    
        <!--
         | Here is another profile, activated by the system property 'target-env' with a value of 'dev',
         | which provides a specific path to the Tomcat instance. To use this, your plugin configuration
         | might hypothetically look like:
         |
         | ...
         | <plugin>
         |   <groupId>org.myco.myplugins</groupId>
         |   <artifactId>myplugin</artifactId>
         |
         |   <configuration>
         |     <tomcatLocation>${tomcatPath}</tomcatLocation>
         |   </configuration>
         | </plugin>
         | ...
         |
         | NOTE: If you just wanted to inject this configuration whenever someone set 'target-env' to
         |       anything, you could just leave off the <value/> inside the activation-property.
         |
        <profile>
          <id>env-dev</id>
    
          <activation>
            <property>
              <name>target-env</name>
              <value>dev</value>
            </property>
          </activation>
    
          <properties>
            <tomcatPath>/path/to/tomcat/instance</tomcatPath>
          </properties>
        </profile>
        -->
      </profiles>
    
      <!-- activeProfiles
       | List of profiles that are active for all builds.
       |
      <activeProfiles>
        <activeProfile>alwaysActiveProfile</activeProfile>
        <activeProfile>anotherAlwaysActiveProfile</activeProfile>
      </activeProfiles>
      -->
      <activeProfiles>
        <activeProfile>myjdk </activeProfile>
        <activeProfile>nexus</activeProfile>
      </activeProfiles>
    </settings>
    
    
    展开全文
  • window系统下安装maven3.5.2 1、下载apache-maven-3.5.2.zip包 解压apache-maven-3.5.2.zip压缩包,解压后目录如下: 2、配置maven环境变量 2.1 鼠标右键点击电脑图片图标,选择属性,弹出如下界面: 然后选择高级...

    window系统下安装maven3.5.2

    1、下载apache-maven-3.5.2.zip包

    apache-maven-3.5.2.zip下载百度云链接:https://pan.baidu.com/s/165lBZE4JeuWLt70GcNYFtA
    提取码:az54
    解压apache-maven-3.5.2.zip压缩包,解压后目录如下:
    在这里插入图片描述

    2、配置maven环境变量

    2.1

    鼠标右键点击电脑图片图标,选择属性,弹出如下界面:
    然后选择高级系统设置–》环境变量–》新建系统变量–》输入变量名:MAVEN_HOME–》输入maven的解压路径(到maven的bin目录的上一级):E:\software\maven\apache-maven-3.5.2–》确定
    在这里插入图片描述

    2.2

    双击系统变量的path路径,编辑环境变量–》添加环境变量:%MAVEN_HOME%\bin–》确定
    在这里插入图片描述

    3、测试是否安装成功

    打开cmd界面–》输入mvn -v命令,输出如下内容则安装成功
    在这里插入图片描述

    4、安装成功后修改settings.xml配置文件

    找到settings.xml配置文件
    在这里插入图片描述
    用EditPlus工具打开setting.xml文件,在 < /mirrors >前一行添加如下内容:

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

    添加后效果如下:
    在这里插入图片描述
    修改完成,记得保存

    5、在setting.xml设置本地仓库

    这一步可省略,maven会默认创建一个本地仓库,用来存放从远处仓库(中央仓库)中下载的jar包的目录,不过也可以自己设置,这样好找到下载的jar包在哪
    设置方法:在setting.xml的第55行,设置localRepository标签的值为自己创建的一个文件夹(本地仓库)
    在这里插入图片描述
    在这里插入图片描述
    参考链接:https://blog.csdn.net/qq_42881421/article/details/100786606

    展开全文
  • maven3.5.2 官网下载与环境变量配置

    万次阅读 2017-11-21 17:03:35
    maven3.5.2下载与环境变量配置

    跟到第几步跟不下去了可以留言,我会尽快回复并修正的



    跟到

    展开全文
  • Maven 3.5.2

    2017-12-20 15:19:07
    Maven目录分析 bin:含有mvn运行的脚本 boot:含有plexus-classworlds类加载器框架 conf:含有settings.xml配置文件 lib:含有Maven运行时所需要的java类库 LICENSE.txt, NOTICE.txt, README.txt针对Maven版本,第三...
  • maven 3.5.2 解压版

    2017-12-15 17:04:23
    maven 3.5.2 解压版 maven 3.5.2 解压版 maven 3.5.2 解压版
  • maven下载安装配置3.5.2

    2022-04-06 10:42:41
    下载maven 点击下载解压放入随意的一个目录即可,这里我放在D盘下 配置环境变量 MAVEN_HOME:D:apache-maven-3.5.2 现在就开始setting.xml的配置。首先配置的第一步是本地仓库的配置,打开setting.xml,我一般...
  • 从零开始搭建 "Windows基本Java开发...本文讲述的是apache-maven-3.5.2下载与配置 1.下载 官网下载地址:http://maven.apache.org/download.cgi 官网内可下载不同版本 本文使用的是 3.5.2版本. 蓝奏云网盘下载地址: ...
  • maven 3.5.2 绿色免安装

    2018-07-13 15:53:15
    maven 3.5.2 绿色免安装 亲测可用 maven 3.5.2 绿色免安装 亲测可用
  • 里面为apache-maven-3.5.2的配置方法以及资源文件,-------会飞的猪
  • Maven 3.5.2安装与配置

    千次阅读 2017-11-18 16:41:00
    下载Maven 解压并移动到/software目录: tar -zxvf apache-maven-3.5.2-bin.tar.gz mv apache-maven-3.5.2 /software/maven 在/etc/profile最后添加语句: export MAVEN_HOME=/software/maven export PATH=$MAVEN_...
  • apache-maven-3.5.2.rar

    2020-08-30 18:26:10
    Apache Maven 是新一代的项目构建工具。其特有的pom文件管理jar包的配置,让你从繁琐的jar包中解脱出来,只要联网,根据配置的文件,maven会自动从互联网下载jar包。
  • Apache-maven-3.5.2

    2018-11-17 10:08:43
    Maven项目对象模型(POM),可以通过一小段描述信息来管理项目的构建,报告和文档的项目管理工具软件。 Maven 除了以程序构建能力为特色之外,还提供高级项目管理工具。由于 Maven 的缺省构建规则有较高的可重用性,...
  • apache-maven-3.5.2.zip免安装解压即用
  • maven-3.5.2 绿色版

    2017-11-28 10:39:38
    最新的maven-3.5.2 绿色版 最新的maven-3.5.2 绿色版 最新的maven-3.5.2 绿色版
  • maven 3.5.2

    2021-01-17 23:25:28
    maven 文件和本地仓库
  • maven3.5.2.zip

    2021-02-24 16:35:34
    maven3.5.2压缩包

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 9,399
精华内容 3,759
关键字:

maven3.5.2怎么下载

友情链接: pci.rar