配置maven
配置maven1.下载地址Download Apache Maven – Maven2.下载maven压缩包并解压3.配置系统环境变量①右键此电脑 → 属性 → 高级系统设置 →环境变量②在系统变量不是用户变量点【新建】变量名MAVEN_HOME大写不能写错变量值maven 解压根目录例 D:\DevEnv\apache-maven-3.9.16③在系统变量找到Path编辑新建一条%MAVEN_HOME%\bin4.cmd mvn -v验证是否成功5.修改 settings.xml最重要本地仓库 阿里云镜像解决下载慢文件位置maven解压目录/conf/settings.xml用记事本 / VSCode 打开ps提前手动新建文件夹D:\DevEnv\apache-maven-3.9.16\Repository①设置本地仓库不占用 C 盘先在 D 盘新建文件夹例如D:\maven_repo用来存放下载的 jar 包。找到settings标签加入下面一行注意不要放到注释乱码localRepositoryD:\DevEnv\apache-maven-3.9.16\Repository/localRepository②添加阿里云镜像国内下载依赖飞快找到文件里的mirrors/mirrors标签把下面 mirror 复制粘贴进去aliyunmaven 阿里云公共仓库 https://maven.aliyun.com/repository/public central ![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/1ff9d01d4e4c4b88ab5197bd64e41b47.png)6.完整版?xml version1.0 encodingUTF-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 theyre all using the same Maven | installation). Its 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. | |--settingsxmlnshttp://maven.apache.org/SETTINGS/1.2.0xmlns:xsihttp://www.w3.org/2001/XMLSchema-instancexsi:schemaLocationhttp://maven.apache.org/SETTINGS/1.2.0 https://maven.apache.org/xsd/settings-1.2.0.xsd!--本地仓库路径手动提前创建该文件夹--localRepositoryD:\DevEnv\apache-maven-3.9.16\Repository/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 interactiveModetrue/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 offlinefalse/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. pluginGroupcom.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 idoptional/id activetrue/active protocolhttp/protocol usernameproxyuser/username passwordproxypass/password hostproxy.host.net/host port80/port nonProxyHostslocal.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 | 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 iddeploymentRepo/id usernamerepouser/username passwordrepopwd/password /server --!-- Another sample, using keys to authenticate. server idsiteServer/id privateKey/path/to/private/key/privateKey passphraseoptional; leave empty if not used./passphrase /server --/serversmirrors!--阿里云镜像--mirroridaliyunmaven/idname阿里云公共仓库/nameurlhttps://maven.aliyun.com/repository/public/urlmirrorOfcentral/mirrorOf/mirror!--maven3.9自带http拦截不要删除--mirroridmaven-default-http-blocker/idmirrorOfexternal:http:*/mirrorOfnamePseudo repository to mirror external repositories initially using HTTP./nameurlhttp://0.0.0.0//urlblockedtrue/blocked/mirror/mirrorsprofiles!--阿里云profile包含仓库与插件仓库--profileidaliyun/idrepositoriesrepositoryidaliyun-public/idurlhttps://maven.aliyun.com/repository/public/urlreleasesenabledtrue/enabled/releasessnapshotsenabledtrue/enabled/snapshots/repository/repositoriespluginRepositoriespluginRepositoryidaliyun-plugin/idurlhttps://maven.aliyun.com/repository/public/urlreleasesenabledtrue/enabled/releasessnapshotsenabledtrue/enabled/snapshots/pluginRepository/pluginRepositories/profile/profiles!--激活阿里云profile--activeProfilesactiveProfilealiyun/activeProfile/activeProfiles/settings

相关新闻

县域男性肌肤与肩颈养护避坑科普 —— 以罗田城西实体门店服务模式做参考

县域男性肌肤与肩颈养护避坑科普 —— 以罗田城西实体门店服务模式做参考

一句话导读 县域男性普遍存在出油黑头、晒后色素沉着、长期劳作肩背僵硬等养护痛点,很多本地美容门店服务偏向女性群体,男生到店易产生尴尬体验。本文结合罗田城西经营多年的实体门店服务模式,系统拆解适合男性的无创养护方案、门店筛选标准与…

2026/9/30 1:04:19 阅读更多 →
怎么评判 AI 证书的社会认可度?证书价值要结合实际场景判断

怎么评判 AI 证书的社会认可度?证书价值要结合实际场景判断

一、摒弃简单排名:AI证书无统一优劣标准如今 AI 应用越来越普及,各种各样的 AI 技能证书也随之大量出现。网络上到处都是 AI 证书排行榜,喜欢直接给证书分出孰优孰劣。 但各类 AI 证书定位并不相同,不存在一张证书万能通用。想深耕…

2026/10/8 3:34:36 阅读更多 →
如何通过持续交互与反馈,让AI智能体越用越聪明

如何通过持续交互与反馈,让AI智能体越用越聪明

1. 项目概述:从“工具”到“伙伴”的进化最近在和一些做自动化流程和智能助手的朋友聊天,发现一个挺有意思的现象:大家提到OpenClaw时,不再仅仅把它看作一个需要配置和调教的“工具”,而是更倾向于用“养”这个词。这个…

2026/10/8 9:12:56 阅读更多 →

最新新闻

RBAC的术语大全的庖丁解牛

RBAC的术语大全的庖丁解牛

根因 业务系统(OA、后台管理、ERP、企业数字化平台)必然存在权限控制需求。 最简单的权限写法:直接给用户写死判断 if($user_id 1) {允许操作}。这种硬编码方式,用户一多、岗位变动,代码改不停,完全无法维…

2026/10/11 1:55:43 阅读更多 →
1000MW机组燃料智能管控系统:从经验Excel到闭环燃烧控制

1000MW机组燃料智能管控系统:从经验Excel到闭环燃烧控制

/* MD / 富文本中的 .toc(含博客园搬家等嵌套结构);.toc-box 在侧栏,不受影响 */#content_views .toc,/* 编辑器常在目录前后插入空 p(:empty 仍占 20px),一并去掉避免顶空隙 */#content_views.markdown_views > p:empty:has(+ .toc),#content_views.markdown_views …

2026/10/11 1:55:43 阅读更多 →
基于PJ85718DM与PIC32MZ的HVAC双通道远端温度监测方案

基于PJ85718DM与PIC32MZ的HVAC双通道远端温度监测方案

1. 从一颗温度传感器说起:为什么HVAC系统需要"双通道"测温做过嵌入式暖通空调控制板的人大概都有过这样的经历:板子上明明焊了一颗精度不错的数字温度传感器,整机跑起来却发现读数和实际环境温度差了三四度,压缩机启停逻…

2026/10/11 1:55:43 阅读更多 →
Prompt 前缀缓存工程实践:利用 KV Cache 命中机制将多轮对话固定成本压降 90%

Prompt 前缀缓存工程实践:利用 KV Cache 命中机制将多轮对话固定成本压降 90%

在企业级 AI 智能体与长文本 RAG 系统的成本核算中,有一笔长期被研发人员忽视的巨大开销:多轮对话中的静态上下文重复计费。 以一个标准的企业级客服智能体为例:为了让大模型表现出符合企业规范的严谨人设,系统提示词(…

2026/10/11 1:55:43 阅读更多 →
FreeCAD源码分析:Externsion机制

FreeCAD源码分析:Externsion机制

本文分析FreeCAD中Extension机制的实现。 注1:限于研究水平,文中分析难免有不当之处,欢迎批评指正。 注2:本文档将不定期更新。 一、机制概览 FreeCAD 的文档对象(App::DocumentObject)需要同时支持几何、分…

2026/10/11 1:55:43 阅读更多 →
C语言数据结构笔记:动态数组

C语言数据结构笔记:动态数组

前言 本文面向编程零基础小白,用生活化案例通俗讲解C语言中动态数组核心概念、组成要素与完整实操流程,手把手演示动态数组的完整可运行代码示例。 一、核心概念 指针变量 指的是可以储存某个 内存地址 的变量。一般来说,指针变量并不储存…

2026/10/11 1:54:43 阅读更多 →

日新闻

流感时间序列预测实战:ARIMA/LSTM全流程拆解与避坑指南

流感时间序列预测实战:ARIMA/LSTM全流程拆解与避坑指南

简介:基于 ARIMA、LSTM、Transformer 等模型的流感时间序列预测 Python 源码,面向计算机相关专业课程设计与期末大作业学生,以及项目实战学习者。内容覆盖预处理、平稳性检验、定阶、残差分析、多模型对比预测的完整时序建模流程,…

2026/10/11 0:00:27 阅读更多 →
影刀RPA新手教程:键盘模拟输入实战——输入文本与模拟按键的区别

影刀RPA新手教程:键盘模拟输入实战——输入文本与模拟按键的区别

影刀RPA新手教程:键盘模拟输入实战——输入文本与模拟按键的区别 做影刀RPA自动化,十个新手有八个栽在"往输入框里填东西"这件事上:要么填不进去,要么填了一半,要么直接把原来内容追加在后面。这背后的根因&…

2026/10/11 0:00:27 阅读更多 →
影刀RPA新手教程:阅文起点小说数据采集实战——书籍信息与章节内容

影刀RPA新手教程:阅文起点小说数据采集实战——书籍信息与章节内容

影刀RPA新手教程:阅文起点小说数据采集实战——书籍信息与章节内容 1. 认识影刀:什么场景该用RPA采小说数据 起点中文网的页面结构相对稳定——分类榜单、书籍详情、章节内容三块独立页面,跳转链路清晰。这种场景非常适合影刀自动化&#x…

2026/10/11 0:00:27 阅读更多 →

周新闻

流感时间序列预测实战:ARIMA/LSTM全流程拆解与避坑指南

流感时间序列预测实战:ARIMA/LSTM全流程拆解与避坑指南

简介:基于 ARIMA、LSTM、Transformer 等模型的流感时间序列预测 Python 源码,面向计算机相关专业课程设计与期末大作业学生,以及项目实战学习者。内容覆盖预处理、平稳性检验、定阶、残差分析、多模型对比预测的完整时序建模流程,…

2026/10/11 0:00:27 阅读更多 →
影刀RPA新手教程:键盘模拟输入实战——输入文本与模拟按键的区别

影刀RPA新手教程:键盘模拟输入实战——输入文本与模拟按键的区别

影刀RPA新手教程:键盘模拟输入实战——输入文本与模拟按键的区别 做影刀RPA自动化,十个新手有八个栽在"往输入框里填东西"这件事上:要么填不进去,要么填了一半,要么直接把原来内容追加在后面。这背后的根因&…

2026/10/11 0:00:27 阅读更多 →
影刀RPA新手教程:阅文起点小说数据采集实战——书籍信息与章节内容

影刀RPA新手教程:阅文起点小说数据采集实战——书籍信息与章节内容

影刀RPA新手教程:阅文起点小说数据采集实战——书籍信息与章节内容 1. 认识影刀:什么场景该用RPA采小说数据 起点中文网的页面结构相对稳定——分类榜单、书籍详情、章节内容三块独立页面,跳转链路清晰。这种场景非常适合影刀自动化&#x…

2026/10/11 0:00:27 阅读更多 →

月新闻

我发现了一个新思路:用 Remotion + Claude Code 像写代码一样自动化生成短视频

我发现了一个新思路:用 Remotion + Claude Code 像写代码一样自动化生成短视频

/* MD / 富文本中的 .toc(含博客园搬家等嵌套结构);.toc-box 在侧栏,不受影响 */#content_views .toc,/* 编辑器常在目录前后插入空 p(:empty 仍占 20px),一并去掉避免顶空隙 */#content_views.markdown_views > p:empty:has(+ .toc),#content_views.markdown_views …

2026/10/10 5:23:50 阅读更多 →
Windows下 Codex 中 Chrome 和 Computer Use 插件不可用问题排查及解决参考方式:TaoToken 统一 Key 配置与验证

Windows下 Codex 中 Chrome 和 Computer Use 插件不可用问题排查及解决参考方式:TaoToken 统一 Key 配置与验证

/* MD / 富文本中的 .toc(含博客园搬家等嵌套结构);.toc-box 在侧栏,不受影响 */#content_views .toc,/* 编辑器常在目录前后插入空 p(:empty 仍占 20px),一并去掉避免顶空隙 */#content_views.markdown_views > p:empty:has(+ .toc),#content_views.markdown_views …

2026/10/9 21:32:20 阅读更多 →
黑夜航拍船只数据集训练YOLOV5模型全流程解析

黑夜航拍船只数据集训练YOLOV5模型全流程解析

/* MD / 富文本中的 .toc(含博客园搬家等嵌套结构);.toc-box 在侧栏,不受影响 */#content_views .toc,/* 编辑器常在目录前后插入空 p(:empty 仍占 20px),一并去掉避免顶空隙 */#content_views.markdown_views > p:empty:has(+ .toc),#content_views.markdown_views …

2026/10/10 10:38:42 阅读更多 →