maven
江畔独步寻欢
这个作者很懒,什么都没留下…
展开
-
maven(settings.xml)配置
<?xml version="1.0" encoding="UTF-8"?> <!-- Another sample, using keys to authenticate.<server> <id>siteServer</id> <privateKey>/path/to/private/key</privateKey>原创 2021-04-19 18:12:58 · 152 阅读 · 0 评论 -
最新maven的settings.xml配置(已包含扩展镜像源)
maven的settings.xml配置(已包含扩展镜像源),全文覆盖即可<?xml version="1.0" encoding="UTF-8"?><!--Licensed to the Apache Software Foundation (ASF) under oneor more contributor license agreements. See the NOTICE filedistributed with this work for additional in原创 2021-04-16 11:19:17 · 4427 阅读 · 0 评论 -
配置maven的默认仓库路径
1.打开maven目录,打开配置文件setting.xnml2.配置maven的默认仓库路径原创 2021-03-10 15:40:04 · 591 阅读 · 0 评论 -
本地maven仓库有jar包但导入依赖不成功
问题描述:本地maven仓库有jar包但导入依赖不成功。问题分析:可能是复制的依赖坐标格式不正确,一般从pdf中复制的代码格式都存在问题。解决方案:去仓库找到你的jar包,比如我这里fastdfs依赖导入不成功,找到这里的maven-metadata-local.xml文件打开复制这里的依赖信息到pom文件,然后重新导入maven依赖就好了。...原创 2021-03-07 16:17:21 · 2982 阅读 · 0 评论 -
本地多个maven仓库:打jar包到指定的本地仓库
直接上命令:mvn install:install-file -Dmaven.repo.local=F:\Maven_repository -DgroupId=net.oschina.zcx7878 -DartifactId=fastdfs-client-java -Dversion=1.27.0.0 -Dpackaging=jar -Dfile=C:\Users\Axelrod\Downloads\fastdfs-client-java-1.27\target\fastdfs-client-java-1原创 2021-03-07 16:04:19 · 699 阅读 · 0 评论