Spring Boot Maven Plugin spawns a JVM, which by default will include everything your project says should be in the class path, for example
${project.build.outputDirectory} includes classes and resources- , POM
, :
, : /this/that/theother , spring -boot :
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<folders>
<folder>
/this/that/theother
</folder>
</folders>
</configuration>
</plugin>
, mvn spring-boot:run -X, , ...
[DEBUG] path for forked process:/this/that/theother:...