title: Export maven as jar file with all dependencies
body: <p>I have my own java library created as maven project and has some dependencies included in pom.xml</p>
  
  <p>I want to export project as jar and include it into others maven projects.</p>
  
  <p>The problem is that I need to copy all dependencies from pom.xml of my library into maven projects where is imported my library to make it to work.</p>
  
  <p>How to export my library to not be necessary to copy dependencies of my library.</p>