scope for the maven system default is not packaged go.
Online search a lot of solutions, which are mostly wrong, especially the Chinese community, not mentioned on the basic points. Configuration resource, the more easily lead to other problems.
Finally, turn on GitHub
<plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <includeSystemScope>true</includeSystemScope> </configuration> </plugin>