SpringBoot添加本地Jar包

pom.xml dependency配置

<dependency>
	<groupId>protobuf-javagroupId>
	<version>2.5.0version>
	<scope>systemscope>
	<systemPath>${project.basedir}/src/main/resources/jar/protobuf-java-2.5.0.jarsystemPath>
dependency>

pom.xml plugin配置

<plugin>
	<groupId>org.springframework.bootgroupId>
	<artifactId>spring-boot-maven-pluginartifactId>
	<configuration>
		<includeSystemScope>trueincludeSystemScope>
	configuration>
plugin>

你可能感兴趣的:(SpringBoot添加本地Jar包)