Explorar o código

解决mvn打包时无法将额外引入的包打入可执行jar的问题

648540858 %!s(int64=5) %!d(string=hai) anos
pai
achega
59087c77e1
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      pom.xml

+ 3 - 0
pom.xml

@@ -167,6 +167,9 @@
 			<plugin>
 			<plugin>
 				<groupId>org.springframework.boot</groupId>
 				<groupId>org.springframework.boot</groupId>
 				<artifactId>spring-boot-maven-plugin</artifactId>
 				<artifactId>spring-boot-maven-plugin</artifactId>
+				<configuration>
+					<includeSystemScope>true</includeSystemScope>
+				</configuration>
 			</plugin>
 			</plugin>
 			<plugin>
 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
 				<groupId>org.apache.maven.plugins</groupId>