title: what maven command can I use to download jar package from Nexus private server?
body: <p>I deployed many maven project on nexus. Now I want to use a maven command to download a jar package and its dependencies by giving its coordinate. I have the following solution:</p>
  
  <ol>
  <li>create a maven project and add the jar (I want to download) to POM as dependency.</li>
  <li>using command <code>mvn compile</code> to the new maven project. maven will download the target jar and its dependencies to local repository.</li>
  <li>create a shell script to cope the jar and its dependencies to specific folder from local repository.</li>
  </ol>
  
  <p>There must have better solution to download jar from nexus directly without creating new maven project. Just like a command: <code>mvn download -DgroupId:ArtifactId:Version</code>. 
  Do you know the similar command or some plugins have the goal.</p>