将jar包打入本地maven仓库 系统管理员 2024-03-22 23:59 18阅读 0赞 ### 1、准备好要入仓的jar包 ### ### 2、在jar包所在文件夹打开cmd ### ### 3、输入如下命令进行打包 ### mvn install:install-file -DgroupId=com.netty.common -DartifactId=netty-common -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=netty-common-1.0-SNAPSHOT.jar 如下图所示: ![在这里插入图片描述][1e1e0646033543c2a91232c1edc649c3.png] [1e1e0646033543c2a91232c1edc649c3.png]: https://image.dandelioncloud.cn/pgy_files/images/2024/03/14/5425e17032d8412dbb289bf56cd8dd94.png
还没有评论,来说两句吧...