maven引用项目内的jar包

maven引用项目中的jar

bash 复制代码
<dependency>
	<groupId></groupId>
	<artifactId></artifactId>
	<version></version>
	<scope>system</scope>
	<systemPath>${pom.basedir}/lib/xxx.jar</systemPath>
</dependency>

使用scope 标签指定类型为system,systemPath指定项目中jar包的位置

相关推荐
中二痞14 小时前
下载Python 版本,环境变量变更以及PyCharm更换python版本
开发语言·python·pycharm
SilentSamsara14 小时前
标准库精讲:collections/itertools/functools/pathlib 实战
开发语言·vscode·python·青少年编程·pycharm
SilentSamsara18 小时前
Python 并发基础:threading/GIL 与 multiprocessing 的选型逻辑
服务器·开发语言·数据库·vscode·python·pycharm
SilentSamsara18 小时前
Python 内存管理:引用计数、循环垃圾回收与内存泄漏排查
开发语言·vscode·python·青少年编程·pycharm
是大强2 天前
下载的jar怎么放到本地仓库
python·pycharm·jar
疯狂成瘾者2 天前
对比JAR 包部署 vs Docker 部署方式
java·docker·jar
西门吹牛2 天前
Pycharm编译器中部署了pyqt5,Qtdesigner无法打开了,解决方案
ide·qt·pycharm
不爱学习的老登2 天前
jetbrains系列IDE远程开发+ai使用
pycharm·ai编程
weixin_419658312 天前
pytest 零基础入门实战指南
python·pycharm·pytest