Add external library .jar to Spring boot .jar internal /lib

you can set ‘includeSystemScope’ to true.

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

Leave a Comment