Specify your dependencies explicitly and remove dependencies that you don't need as in:
<!-- Add typical dependencies for a web application -->
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<artifactId>jackson-databind</artifactId>
<groupId>com.fasterxml.jackson.core</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20131018</version>
</dependency>
</dependencies>
You can also change the version of built-in libs by overriding the properties. A list of properties can be found by looking at properties from effective POM using the command below. You can find the property which @Phil Web mentioned in the effective POM.
mvn help:effective-pom