【后端java】构建工具maven

文章目录

1导入本地jar包到maven仓库

shell 复制代码
mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging>

<path-to-file> 是你的jar文件的路径。
<group-id> 是你的项目的组ID。
<artifact-id> 是你的项目的Artifact ID。
<version> 是你的jar包的版本号
<packaging> 通常是jar,除非你的文件是其他类型的包,如pom。


mvn install:install-file -Dfile=aaa-client-2.8.0.jar -DgroupId=com.chenyj.mq -DartifactId=aaa-client -Dversion=2.8.0 -Dpackaging=jar

相关推荐
無限進步D8 小时前
Java 运行原理
java·开发语言·入门
難釋懷8 小时前
安装Canal
java
是苏浙8 小时前
JDK17新增特性
java·开发语言
花酒锄作田10 小时前
企业微信机器人与 DeepAgents 集成实践
python·mcp·deepagents
阿里加多12 小时前
第 4 章:Go 线程模型——GMP 深度解析
java·开发语言·后端·golang
likerhood12 小时前
java中`==`和`.equals()`区别
java·开发语言·python
小小李程序员12 小时前
Langchain4j工具调用获取不到ThreadLocal
java·后端·ai
qq_2837200512 小时前
Python Celery + FastAPI + Vue 全栈异步任务实战
vue.js·python·fastapi
2401_8858850413 小时前
营销推广短信接口集成:结合营销策略实现的API接口动态变量填充方案
前端·python
zs宝来了13 小时前
AQS详解
java·开发语言·jvm