title: Maven war/jar size is so big
body: <p>I'm building a project where the final war/jar size is very big. I am not sure how to reduce the size of the jar.</p>
  
  <p>How to build only the jars required for the project?</p>
  
  <p>Currently we just given maven build plugin in the dependencies and artifact id on the top which builds the war or jar</p>
  
  <p>Please advise.</p>
  
  <p>Thanks.</p>