
项目路径下lib 文件夹放入 jia包
<dependencies>
<dependency>
<groupId>com.taobao</groupId>
<artifactId>top-schema</artifactId>
<version>1.3.1</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/top-schema-1.3.1.jar</systemPath>
</dependency>
</dependencies>
打包配置参考:
maven-assembly-plugin打包 scope system 级别文件|本地 lib
[
spring-boot-maven-plugin打包 scope system 级别文件|本地 lib](https://www.notion.so/spring-boot-maven-plugin-scope-system-lib-1853459e7dca80e68580d1f1ab6e1816)
mvn install:install-file -Dfile=jar包的位置 -DgroupId=上面的groupId -DartifactId=上面的artifactId -Dversion=上面的version -Dpackaging=jar
mvn install:install-file -Dfile=lib/top-schema-1.3.1.jar -DgroupId=com.taobao -DartifactId=top-schema -Dversion=1.3.1 -Dpackaging=jar