title: How to deploy my maven project as a jar file which will take its dependencies using a pom file?
body: <p>I have seen many threads regarding deploying a jar file for maven projects. But I am having different requirements.</p>
  
  <ol>
  <li>I don't have a main class in my maven project. </li>
  <li>I have some dependencies in my pom.xml file. </li>
  <li>I need to deploy a jar file with less size which can take the dependencies through its pom file. (I am currently deployed jar with dependencies using IntelliJ IDEA, now it is 56 MB. I need it to be less capacity, using the above way or an alternative way)</li>
  </ol>
  
  <p>Thank you.</p>