title: How to use third party maven dependency on commandline?
body: <p>I have a private maven dependency (jar) in our Artifactory in the repository third party.
  Now I want to use this jar like this:</p>
  
  <pre><code>mvn org.company:xxx-maven-plugin:0.0.4 -Dmaven.repo.remote=https://artifactory:443/third-party
  </code></pre>
  
  <p>But this fails with: <code>Could not find goal '0.0.4'</code></p>
  
  <p>How can I define in a maven command (not in the pom or something) to use a third party maven dependency from our artifactory?</p>