在使用maven管理jar包时,有时候需要加入本地j自定义ar包,依赖步骤如下:
1、jar放置类路径下
在类路径的根目录创建lib文件夹,将jar考入
2、自定义依赖坐标
<groupId></groupId> <artifactId></artifactId> <version></version> 可以随意填写;
<scope>system</scope>必须是system范围;
<systemPath></systemPath>本地jar的位置
在使用maven管理jar包时,有时候需要加入本地j自定义ar包,依赖步骤如下:
在类路径的根目录创建lib文件夹,将jar考入
<groupId></groupId> <artifactId></artifactId> <version></version> 可以随意填写;
<scope>system</scope>必须是system范围;
<systemPath></systemPath>本地jar的位置