title: How to exclude lib-provided from spring boot
body: <p>My spring boot war is simply too large and I want to make some optimalisation. SPring boot has the option to run war with <code>java -jar</code>, that is why <code>lib-provided</code> (with all <code>provided</code> dependecies) is still inside the war even though the dependecies are not needed there (I will never run it as standalone). Can I somehow disable this clever functionality, so that I can save some space?</p>
  
  <p>UPDATE: I am using Maven and spring boot maven plugin. </p>