首页 > 技术文章 > IDEA如何将本地jar包,添加到maven仓库

bulter 2021-09-22 15:25 原文

-- Intellj idea如何将本地的jar包,添加到本地meavn库
mvn install:install-file -Dfile=D:\soft\esdk-obs-java-3.19.7.jar -DgroupId=com.huawei.storage groupId -DartifactId=esdk-obs-java -Dversion=3.19.7 -Dpackaging=jar

红色为本地jar包的位置

project structure——后续选择文件就行——apply

 

 

 

推荐阅读