maven 本地包依赖包打进jar

1.声明依赖jar的时候使用

<dependency>
<groupId>test</groupId>
<artifactId>test</artifactId>
<version>1.1</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/a.jar</systemPath>
</dependency>

2.build添加如下代码

 

posted @ 2017-09-14 18:05  hello_myworld  阅读(215)  评论(0编辑  收藏  举报