Maven问题汇总

Maven 打包的时候出现 Connect to repo.maven.apache.org:443

设置maven配置文件Setting.xml 添加阿里云仓库

nexus-aliyun
central
Nexus aliyun
http://maven.aliyun.com/nexus/content/groups/public

maven 将jar包安装到本地仓库中

mvn install:install-file -DgroupId=cn.shktiot -DartifactId=device -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=reader-1.0-SNAPSHOT.jar

posted @ 2020-04-14 09:13  zxymapper  阅读(147)  评论(0编辑  收藏  举报