pom引入本地jar包
<dependency
>
<groupId
>com.oracle
</groupId
>
<artifactId
>oracle
</artifactId
>
<version
>8.0.0
</version
>
<scope
>system
</scope
>
<systenPath
>${project.basedir}/src/lib/ojdbc8.jar
</systemPath
>
</dependency
>
把本地代码打包时需要使用到Springboot的一个插件,需要在pom文件里面进行配置
<plugin
>
<groupId
>org.springframework.boot
</groupId
>
<artifactId
>spring-boot-maven-plugin
</artifactId
>
<configuration
>
<includeSystemScope
>true
</includeSystemScope
>
</configuration
>
</plugin
>
转载请注明原文地址: https://mac.8miu.com/read-507333.html