title: How to override the managed version of dependencies in Spring Boot
body: <p>Spring Boot allows us to change the Java version using: </p>
  
  <pre><code>&lt;properties&gt;
      &lt;java.version&gt;1.8&lt;/java.version&gt;
  &lt;/properties&gt;
  </code></pre>
  
  <p>Is there any property to change the Java EE version or spring version in my Spring Boot <code>pom.xml</code>?</p>
  
  <p>Currently I override the managed version using:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
      &lt;artifactId&gt;javax.servlet-api&lt;/artifactId&gt;
      &lt;version&gt;3.0.1&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Is there a better way to do this, like just setting properties?</p>
  
  <p>Spring Boot 1.2.3 gives you Spring 4.1.6 by default.
  How can I force Spring Boot to give me 4.1.5 instead, just by setting properties?</p>