title: Can I add a java package as Maven dependency?
body: <p>In my code I've used the <code>java.nio.file</code> package extensively. However, my server has jre6, so I get a <code>java.lang.ClassNotFoundException</code> exception. </p>
  
  <p>I would like to add the <code>java.nio.file</code> package as a dependency in Maven and package it within the jar created after Maven install. </p>
  
  <p>Is this possible? If yes, how?</p>