正常情况下,scope=system的包是不会打进包中的。

此时如果需要将jar包打输出到lib中,需添加配includeSystemScope=true

<plugin>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-maven-plugin</artifactId>
    <configuration>
        <includeSystemScope>true</includeSystemScope>
        <mainClass>com.startboot.StartApplication</mainClass>
    </configuration>
</plugin>

更多推荐