maven简单配置

<?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:\maven\repository</localRepository>

<pluginGroups>

</pluginGroups>

<proxies>

</proxies>

<servers>

</servers>

<mirrors>

<!-- 配置阿里云的仓库 , 下载jar包快, 包下载不下来 , 默认先找maven官网团队维护的jar包-->

<mirror>

<id>aliyunmaven</id>

<name>aliyun maven</name>

<url>https://maven.aliyun.com/repository/public/\</url>

<mirrorOf>*</mirrorOf>

</mirror>

</mirrors>

<profiles>

<!-- jdk配置 -->

<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>

</profiles>

</settings>

相关推荐
❀͜͡傀儡师17 分钟前
Spring AI Alibaba vs. AgentScope:两个阿里AI框架,如何选择?
java·人工智能·spring
aq553560024 分钟前
Laravel10.x重磅升级,新特性一览
android·java·开发语言
一 乐1 小时前
酒店预订|基于springboot + vue酒店预订系统(源码+数据库+文档)
java·数据库·vue.js·spring boot·论文·毕设·酒店预订系统
Moe4881 小时前
Spring AI Advisors:从链式增强到递归顾问
java·后端
敖正炀1 小时前
ReentrantReadWriteLock、ReentrantLock、synchronized 对比
java
cike_y1 小时前
Java反序列化漏洞-Shiro721流程分析
java·反序列化·shiro框架
极创信息2 小时前
信创系统认证服务怎么做?从适配到验收全流程指南
java·大数据·运维·tomcat·健康医疗
格鸰爱童话2 小时前
向AI学习项目技能(六)
java·人工智能·spring boot·python·学习
白宇横流学长2 小时前
停车场管理系统的设计与实现
java
Flittly2 小时前
【SpringAIAlibaba新手村系列】(18)Agent 智能体与今日菜单应用
java·spring boot·agent